Bug 353186

Summary: Account KCM crashes often
Product: [Frameworks and Libraries] KAccounts Reporter: Kai Krakow <kai>
Component: KCMAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aacid, mklapetek
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kai Krakow 2015-09-25 18:01:06 UTC
Application: systemsettings5 (5.4.1)

Qt Version: 5.5.0
Operating System: Linux 4.2.0-gentoo-r1 x86_64
Distribution: "Gentoo Base System release 2.2"

-- Information about the crash:
- What I was doing when the application crashed:

I was trying to add a Lync account, then the KCM crashed. This also happened before with other account types (ICQ).

Using Gentoo packages.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Systemeinstellungen (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3316ecc800 (LWP 4576))]

Thread 3 (Thread 0x7f3316176700 (LWP 4577)):
#0  0x000000396c0df47d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003bc9e0aa02 in poll (__timeout=-1, __nfds=1, __fds=0x7f3316175cc0) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0xdbfff0, cond=cond@entry=0xdc0030, vector=vector@entry=0x0, count=count@entry=0x0) at /var/tmp/portage/x11-libs/libxcb-1.11-r1/work/libxcb-1.11/src/xcb_conn.c:459
#3  0x0000003bc9e0c4cf in xcb_wait_for_event (c=0xdbfff0) at /var/tmp/portage/x11-libs/libxcb-1.11-r1/work/libxcb-1.11/src/xcb_in.c:623
#4  0x00007f3316a1b989 in QXcbEventReader::run (this=0xdce170) at qxcbconnection.cpp:1197
#5  0x000000386389f5c3 in QThreadPrivate::start (arg=0xdce170) at thread/qthread_unix.cpp:331
#6  0x000000396c808224 in start_thread (arg=0x7f3316176700) at pthread_create.c:310
#7  0x000000396c0e80cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f32fbdf8700 (LWP 4591)):
#0  __libc_enable_asynccancel () at ../sysdeps/unix/sysv/linux/x86_64/cancellation.S:65
#1  0x000000396c0df472 in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0x00000034d3a48bc4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f32f00052e0, timeout=-1, context=0x12c4c50) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:4103
#3  g_main_context_iterate (context=0x12c4c50, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3803
#4  0x00000034d3a48efa in g_main_loop_run (loop=0x134b4b0) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:4002
#5  0x00000034d4cdc4a6 in gdbus_shared_thread_func (user_data=0x134b4f0) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/gio/gdbusprivate.c:274
#6  0x00000034d3a6dc15 in g_thread_proxy (data=0x12df450) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gthread.c:764
#7  0x000000396c808224 in start_thread (arg=0x7f32fbdf8700) at pthread_create.c:310
#8  0x000000396c0e80cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f3316ecc800 (LWP 4576)):
[KCrash Handler]
#6  0x00007f32fb1e978b in KAccountsUiProvider::showNewAccountDialog (this=<optimized out>) at /var/tmp/portage/kde-apps/ktp-accounts-kcm-15.08.1/work/ktp-accounts-kcm-15.08.1/plugins/kaccounts/kaccounts-ui-provider.cpp:247
#7  0x0000003863a64612 in call (a=0x7ffc63846610, r=0x13ba310, this=0x14a5a80) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#8  QMetaObject::activate (sender=sender@entry=0x13ba310, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3703
#9  0x0000003863a651f7 in QMetaObject::activate (sender=sender@entry=0x13ba310, m=m@entry=0x7f3303375ae0 <KAccountsUiPlugin::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3583
#10 0x00007f3303171140 in KAccountsUiPlugin::uiReady (this=this@entry=0x13ba310) at /var/tmp/portage/kde-apps/kaccounts-integration-15.08.1/work/kaccounts-integration-15.08.1_build/src/lib/moc_kaccountsuiplugin.cpp:149
#11 0x00007f32fb1ec170 in KAccountsUiProvider::init (this=0x13ba310, type=<optimized out>) at /var/tmp/portage/kde-apps/ktp-accounts-kcm-15.08.1/work/ktp-accounts-kcm-15.08.1/plugins/kaccounts/kaccounts-ui-provider.cpp:109
#12 0x0000003863a64612 in call (a=0x7ffc63846860, r=0x1536720, this=0x14f6230) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#13 QMetaObject::activate (sender=sender@entry=0x1536720, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffc63846860) at kernel/qobject.cpp:3703
#14 0x0000003863a651f7 in QMetaObject::activate (sender=sender@entry=0x1536720, m=m@entry=0x33c7a73680 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffc63846860) at kernel/qobject.cpp:3583
#15 0x00000033c78dfc22 in QAbstractButton::clicked (this=this@entry=0x1536720, _t1=false) at .moc/moc_qabstractbutton.cpp:303
#16 0x00000033c7656126 in QAbstractButtonPrivate::emitClicked (this=0x15eaac0) at widgets/qabstractbutton.cpp:534
#17 0x00000033c7656d4e in QAbstractButtonPrivate::click (this=0x15eaac0) at widgets/qabstractbutton.cpp:527
#18 0x00000033c7656ec4 in QAbstractButton::mouseReleaseEvent (this=0x1536720, e=0x7ffc63846d30) at widgets/qabstractbutton.cpp:1132
#19 0x00000033c759d9a1 in QWidget::event (this=0x1536720, event=0x7ffc63846d30) at kernel/qwidget.cpp:8665
#20 0x00000033c755d82c in QApplicationPrivate::notify_helper (this=this@entry=0xdb2240, receiver=receiver@entry=0x1536720, e=e@entry=0x7ffc63846d30) at kernel/qapplication.cpp:3717
#21 0x00000033c7562c6a in QApplication::notify (this=<optimized out>, receiver=0x1536720, e=0x7ffc63846d30) at kernel/qapplication.cpp:3277
#22 0x0000003863a3e65d in QCoreApplication::notifyInternal (this=0x7ffc63847620, receiver=receiver@entry=0x1536720, event=event@entry=0x7ffc63846d30) at kernel/qcoreapplication.cpp:965
#23 0x00000033c7561af1 in sendSpontaneousEvent (event=0x7ffc63846d30, receiver=0x1536720) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:227
#24 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1536720, event=event@entry=0x7ffc63846d30, alienWidget=alienWidget@entry=0x1536720, nativeWidget=0xeb6060, buttonDown=buttonDown@entry=0x33c7a7e740 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:2771
#25 0x00000033c75b66db in QWidgetWindow::handleMouseEvent (this=this@entry=0xf31d50, event=event@entry=0x7ffc63847180) at kernel/qwidgetwindow.cpp:555
#26 0x00000033c75b87a3 in QWidgetWindow::event (this=0xf31d50, event=0x7ffc63847180) at kernel/qwidgetwindow.cpp:210
#27 0x00000033c755d82c in QApplicationPrivate::notify_helper (this=this@entry=0xdb2240, receiver=receiver@entry=0xf31d50, e=e@entry=0x7ffc63847180) at kernel/qapplication.cpp:3717
#28 0x00000033c7562640 in QApplication::notify (this=0x7ffc63847620, receiver=0xf31d50, e=0x7ffc63847180) at kernel/qapplication.cpp:3500
#29 0x0000003863a3e65d in QCoreApplication::notifyInternal (this=0x7ffc63847620, receiver=receiver@entry=0xf31d50, event=event@entry=0x7ffc63847180) at kernel/qcoreapplication.cpp:965
#30 0x00007f3316fde69c in sendSpontaneousEvent (event=0x7ffc63847180, receiver=0xf31d50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:227
#31 QGuiApplicationPrivate::processMouseEvent (e=0x15d3a70) at kernel/qguiapplication.cpp:1790
#32 0x00007f3316fdffb5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x15d3a70) at kernel/qguiapplication.cpp:1582
#33 0x00007f3316fc6248 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:608
#34 0x00007f3316a467f0 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#35 0x00000034d3a489e4 in g_main_dispatch (context=0x7f33100016f0) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3122
#36 g_main_context_dispatch (context=context@entry=0x7f33100016f0) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3737
#37 0x00000034d3a48c38 in g_main_context_iterate (context=context@entry=0x7f33100016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3808
#38 0x00000034d3a48cdc in g_main_context_iteration (context=0x7f33100016f0, may_block=1) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3869
#39 0x0000003863a8871c in QEventDispatcherGlib::processEvents (this=0xe12660, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#40 0x0000003863a3d29b in QEventLoop::exec (this=this@entry=0x7ffc638474f0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#41 0x0000003863a44186 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#42 0x00007f3316fd60dc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1528
#43 0x00000033c7559fa5 in QApplication::exec () at kernel/qapplication.cpp:2977
#44 0x000000000040f66f in main (argc=1, argv=<optimized out>) at /var/tmp/portage/kde-plasma/systemsettings-5.4.1/work/systemsettings-5.4.1/app/main.cpp:55

Reported using DrKonqi
Comment 1 Albert Astals Cid 2015-09-26 11:01:02 UTC
Reassignning to Accounts->KCM since as far as i understand that describes better the product where the crash is
Comment 2 Martin Klapetek 2015-09-28 15:05:48 UTC
Thanks for the report.

This will be fixed in 15.08.2 release, please update once it's out.

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