Bug 350770 - systemsettings5 segfault under KTP online accounts kcm
Summary: systemsettings5 segfault under KTP online accounts kcm
Status: RESOLVED DUPLICATE of bug 348032
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.3.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-07-29 18:49 UTC by Craig
Modified: 2015-08-02 09:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig 2015-07-29 18:49:54 UTC
Application: systemsettings5 (5.3.2)

Qt Version: 5.5.0
Operating System: Linux 4.1.2-2-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
Whenever I open systemsettings5, select "Online Accounts" then select any of the current accounts THEN select the option to create a new account, followed by any of the available options/buttons the dialog box opens which is not the selected protocol and it is filled in with one of my current account info(s), after closing that systemsettings5 segfaults with the shown trace/info.  This happens every single time, however if after going into 'Online Accounts' and selecting 'Create' right away (without selecting a current account) there is no crash/issue.

For example, I open Online Accounts, select my Google account/hangouts, then select Create account and click on 'ICQ' a dialog box opens for "AIM" (my other account) with the details filled in, then clicking cancel/etc and it segfaults. 

Running Arch Linux all the latest packages with most relevant debugging symbols compiled so hopefully is good enough to track the problem. Because drkonqi took over the process I wasn't able to view much more and nothing was dumped under systemd however attaching GDB to the process with drkonqi having it open just displayed the following:
0x00007f8c9390289d in nanosleep () from /usr/lib/libc.so.6

This does not appear to happen on my laptop, but I just noticed the exact trigger being selecting a current account first so not positive if that's the case or not (affecting laptop as well).

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8c97bfa800 (LWP 6492))]

Thread 4 (Thread 0x7f8c82ae0700 (LWP 6493)):
#0  0x00007f8c93929e8d in poll () from /usr/lib/libc.so.6
#1  0x00007f8c904b89f2 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f8c904ba56f in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007f8c8505eca9 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f8c94029a9e in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007f8c8fc37354 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f8c93932bfd in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f8c6cc3f700 (LWP 6591)):
#0  0x00007f8c93929e8d in poll () from /usr/lib/libc.so.6
#1  0x00007f8c8f71ac7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f8c8f71ad8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f8c9426125b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f8c9420826a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f8c94024af4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f8c6f156a47 in KCupsConnection::run() () from /usr/lib/libkcupslib.so
#7  0x00007f8c94029a9e in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f8c8fc37354 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f8c93932bfd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f8c5ffff700 (LWP 6830)):
#0  0x00007f8c93929e8d in poll () from /usr/lib/libc.so.6
#1  0x00007f8c8f71ac7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f8c8f71b002 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3  0x00007f8c2d712876 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007f8c8f741625 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00007f8c8fc37354 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f8c93932bfd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f8c97bfa800 (LWP 6492)):
[KCrash Handler]
#5  0x0000000000000031 in ?? ()
#6  0x00007f8c94238e77 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#7  0x00007f8c2a45ad3f in KAccountsUiProvider::onConnectionManagerReady (this=0x140f380) at /tmp/makepkg/telepathy-kde-accounts-kcm/src/ktp-accounts-kcm-15.04.3/plugins/kaccounts/kaccounts-ui-provider.cpp:196
#8  0x00007f8c2a4603b4 in KAccountsUiProvider::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /tmp/makepkg/telepathy-kde-accounts-kcm/src/build/plugins/kaccounts/moc_kaccounts-ui-provider.cpp:118
#9  0x00007f8c94238fea in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#10 0x00007f8c31a1aa5f in Tp::PendingOperation::finished (this=this@entry=0x2353360, _t1=_t1@entry=0x2353360) at /tmp/makepkg/telepathy-qt/src/build/TelepathyQt/_gen/pending-operation.moc.hpp:162
#11 0x00007f8c31a1aac6 in Tp::PendingOperation::emitFinished (this=0x2353360) at /tmp/makepkg/telepathy-qt/src/telepathy-qt-0.9.6/TelepathyQt/pending-operation.cpp:123
#12 0x00007f8c94239eb1 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#13 0x00007f8c95d7c00c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#14 0x00007f8c95d814e6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#15 0x00007f8c9420a89b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#16 0x00007f8c9420cc96 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#17 0x00007f8c94260e33 in ?? () from /usr/lib/libQt5Core.so.5
#18 0x00007f8c8f71a9fd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0x00007f8c8f71ace0 in ?? () from /usr/lib/libglib-2.0.so.0
#20 0x00007f8c8f71ad8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#21 0x00007f8c9426123f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#22 0x00007f8c9420826a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#23 0x00007f8c9421020c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#24 0x000000000040f51b in main (argc=1, argv=<optimized out>) at /tmp/makepkg/systemsettings/src/systemsettings-5.3.2/app/main.cpp:55

Reported using DrKonqi
Comment 1 Christoph Feck 2015-08-02 09:45:59 UTC

*** This bug has been marked as a duplicate of bug 348032 ***