Application: kcmshell5 (5.2.1) (Compiled from sources) Qt Version: 5.4.1 Operating System: Linux 3.18.6-gentoo x86_64 Distribution: "Gentoo Base System release 2.2" -- Information about the crash: I tried to create an account with missing runtime dependencies. The crash can be reproduced every time. -- Backtrace: Application: KDE Control Module (kcmshell5), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". 81 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) [Current thread is 1 (Thread 0x7f455dc297c0 (LWP 1886))] Thread 3 (Thread 0x7f455cf97700 (LWP 1887)): #0 0x000000311bee1bbd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x000000311e20a5a2 in ?? () from /usr/lib64/libxcb.so.1 #2 0x000000311e21497c in xcb_wait_for_event () from /usr/lib64/libxcb.so.1 #3 0x00007f455d7fbca9 in ?? () from /usr/lib64/qt5/plugins/platforms/libqxcb.so #4 0x00000035b46d2b40 in ?? () from /usr/lib64/libQt5Core.so.5 #5 0x000000311c6072d4 in start_thread (arg=0x7f455cf97700) at pthread_create.c:310 #6 0x000000311beeaaed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 2 (Thread 0x7f4556a1b700 (LWP 1936)): #0 0x000000311bee1bbd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x000000311da38364 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x000000311da385a2 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0 #3 0x0000003129c5ebd6 in ?? () from /usr/lib64/libgio-2.0.so.0 #4 0x000000311dabe566 in ?? () from /usr/lib64/libglib-2.0.so.0 #5 0x000000311c6072d4 in start_thread (arg=0x7f4556a1b700) at pthread_create.c:310 #6 0x000000311beeaaed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7f455dc297c0 (LWP 1886)): [KCrash Handler] #5 Tp::Profile::cmName (this=0x0) at /usr/src/debug/net-libs/telepathy-qt-0.9.5/telepathy-qt-0.9.5/TelepathyQt/profile.cpp:720 #6 0x00007f455514c817 in KAccountsUiProvider::onProfileManagerReady (this=0x1ed63e0, op=<optimized out>) at /usr/src/debug/kde-apps/ktp-accounts-kcm-9999/ktp-accounts-kcm-9999/plugins/kaccounts/kaccounts-ui-provider.cpp:139 #7 0x00007f455514ffa7 in KAccountsUiProvider::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kde-apps/ktp-accounts-kcm-9999/ktp-accounts-kcm-9999_build/plugins/kaccounts/moc_kaccounts-ui-provider.cpp:116 #8 0x00000035b48010bd in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #9 0x00007f4554b09b7c in Tp::PendingOperation::finished (this=this@entry=0x29d90f0, _t1=_t1@entry=0x29d90f0) at /usr/src/debug/net-libs/telepathy-qt-0.9.5/telepathy-qt-0.9.5-qt5/TelepathyQt/_gen/pending-operation.moc.hpp:161 #10 0x00007f4554b09ba2 in Tp::PendingOperation::emitFinished (this=0x29d90f0) at /usr/src/debug/net-libs/telepathy-qt-0.9.5/telepathy-qt-0.9.5/TelepathyQt/pending-operation.cpp:123 #11 0x00007f4554b0a9a1 in Tp::PendingOperation::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/net-libs/telepathy-qt-0.9.5/telepathy-qt-0.9.5-qt5/TelepathyQt/_gen/pending-operation.moc.hpp:95 #12 0x00000035b48003bf in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5 #13 0x00000035b696addc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #14 0x00000035b696b4e0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #15 0x00000035b4828b53 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #16 0x00000035b4828d58 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5 #17 0x00000035b4811e93 in ?? () from /usr/lib64/libQt5Core.so.5 #18 0x000000311da380ed in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #19 0x000000311da383c8 in ?? () from /usr/lib64/libglib-2.0.so.0 #20 0x000000311da3846c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #21 0x00000035b4805f27 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #22 0x00000035b482baf2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #23 0x00000035b6adf62f in QDialog::exec() () from /usr/lib64/libQt5Widgets.so.5 #24 0x00000035bea080cd in kdemain () from /usr/lib64/libkdeinit5_kcmshell5.so #25 0x000000311be20050 in __libc_start_main (main=0x4007a0 <main>, argc=2, argv=0x7fff9786b978, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff9786b968) at libc-start.c:289 #26 0x00000000004007ce in _start () Reported using DrKonqi
It would be nice if the kcm would popup a message instead. I doesn't need to be explicit, but it is much better than a crash inside that kcm.
I can confirm this. Gentoo's solution for this is to simply require support for all the protocols to be installed, which is even more annoying.
Yeah, there were two options: 1. USE flags and remove files of not selected services 2. just provide RDEPENDS for everything. This bug is really annoying for packagers and users, because it pulls in a huge dependency tree including pidgin, even if you only want to use XMPP through KTP.
I think I have a solution, not the best one as Apps 15.04 is in string freeze, but it will abort with error message. Btw. how does it pull Pidgin? It should pull libpurple for telepathy-haze, but that shouldn't pull whole Pidgin...
Git commit 0bac14720e673183050529488e3ddc5f50872b83 by Martin Klapetek. Committed on 16/03/2015 at 16:40. Pushed by mklapetek into branch 'Applications/15.04'. [kaccounts] Don't crash on null profile When the user selects an account for which an invalid Telepathy profile exists, things should not crash but rather just warn the user. As this plugin is now under string freeze, I've copied a string from the old kcm (as it uses the same catalog), it's not ideal but this does not violate string freeze and gives user at least a hint of what he should do. M +5 -0 plugins/kaccounts/kaccounts-ui-provider.cpp http://commits.kde.org/telepathy-accounts-kcm/0bac14720e673183050529488e3ddc5f50872b83