Bug 354123

Summary: Plasma crash when trying to edit a KTP account
Product: [Plasma] plasmashell Reporter: Philip Muškovac <yofel>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, mklapetek, plasma-bugs, ultrabla
Priority: NOR Keywords: drkonqi
Version: 5.4.2   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Philip Muškovac 2015-10-20 09:31:56 UTC
Application: plasmashell (5.4.2)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-16-generic x86_64
Distribution: Ubuntu 15.10

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

-> I opened the Instant messaging Settings
-> clicked on the account
-> clicked "Configure" at the right side
-> Crash

- Custom settings of the application:

"Chat" is disabled for that account.
The account password is wrong (or at least KTP showed the password dialog which I discarded before that)

Some package versions:
qtbase5: 5.4.2+dfsg-2ubuntu9
plasma-workspace: 4:5.4.2-0ubuntu1
kaccounts-providers: 4:15.08.2-0ubuntu1

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9705c33800 (LWP 3764))]

Thread 10 (Thread 0x7f96f113a700 (LWP 3772)):
#0  0x00007f97003f98dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9704440bd2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f970444274f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f96f3484a39 in QXcbEventReader::run (this=0x1f5b850) at qxcbconnection.cpp:1105
#4  0x00007f9700aec2be in QThreadPrivate::start (arg=0x1f5b850) at thread/qthread_unix.cpp:337
#5  0x00007f96ffbdb6aa in start_thread (arg=0x7f96f113a700) at pthread_create.c:333
#6  0x00007f9700404eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f96eaac9700 (LWP 3863)):
#0  0x00007f96fd1ea880 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f96fd1a5770 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f96fd1a611b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f96fd1a62fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9700d2329b in QEventDispatcherGlib::processEvents (this=0x7f96e40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f9700cc975a in QEventLoop::exec (this=this@entry=0x7f96eaac8da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f9700ae73d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f970330ff85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f9700aec2be in QThreadPrivate::start (arg=0x2021f40) at thread/qthread_unix.cpp:337
#9  0x00007f96ffbdb6aa in start_thread (arg=0x7f96eaac9700) at pthread_create.c:333
#10 0x00007f9700404eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f96df506700 (LWP 3872)):
#0  0x00007f97003f98dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f96fd1a61ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f96fd1a62fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9700d2329b in QEventDispatcherGlib::processEvents (this=0x7f96d80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f9700cc975a in QEventLoop::exec (this=this@entry=0x7f96df505da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f9700ae73d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f970330ff85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f9700aec2be in QThreadPrivate::start (arg=0x2368e10) at thread/qthread_unix.cpp:337
#8  0x00007f96ffbdb6aa in start_thread (arg=0x7f96df506700) at pthread_create.c:333
#9  0x00007f9700404eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f96dcbd4700 (LWP 3882)):
#0  0x00007f97003f98dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f96fd1a61ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f96fd1a62fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9700d2329b in QEventDispatcherGlib::processEvents (this=0x7f96d40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f9700cc975a in QEventLoop::exec (this=this@entry=0x7f96dcbd3da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f9700ae73d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f970330ff85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f9700aec2be in QThreadPrivate::start (arg=0x2500ae0) at thread/qthread_unix.cpp:337
#8  0x00007f96ffbdb6aa in start_thread (arg=0x7f96dcbd4700) at pthread_create.c:333
#9  0x00007f9700404eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f96cf1c4700 (LWP 3896)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f970569b114 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f970569b159 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f96ffbdb6aa in start_thread (arg=0x7f96cf1c4700) at pthread_create.c:333
#4  0x00007f9700404eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f964c889700 (LWP 3936)):
#0  0x00007ffe2f697b0b in clock_gettime ()
#1  0x00007f970041338d in __GI___clock_gettime (clock_id=<optimized out>, tp=tp@entry=0x7f964c888ac0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f9700b9d3a6 in qt_clock_gettime (ts=0x7f964c888ac0, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:161
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:170
#5  0x00007f9700d20d29 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f9648002cd0) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007f9700d21295 in QTimerInfoList::timerWait (this=0x7f9648002cd0, tm=...) at kernel/qtimerinfo_unix.cpp:379
#7  0x00007f9700d2267e in timerSourcePrepareHelper (timeout=0x7f964c888b94, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7f964c888b94) at kernel/qeventdispatcher_glib.cpp:160
#9  0x00007f96fd1a577d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f96fd1a611b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f96fd1a62fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f9700d2329b in QEventDispatcherGlib::processEvents (this=0x7f96480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#13 0x00007f9700cc975a in QEventLoop::exec (this=this@entry=0x7f964c888d50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f9700ae73d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#15 0x00007f9703c8bef6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#16 0x00007f9700aec2be in QThreadPrivate::start (arg=0x2809da0) at thread/qthread_unix.cpp:337
#17 0x00007f96ffbdb6aa in start_thread (arg=0x7f964c889700) at pthread_create.c:333
#18 0x00007f9700404eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f963a833700 (LWP 4095)):
#0  __libc_enable_asynccancel () at ../sysdeps/unix/sysv/linux/x86_64/cancellation.S:65
#1  0x00007f97003f5492 in read () at ../sysdeps/unix/syscall-template.S:81
#2  0x00007f96fd1e94e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f96fd1a5cd4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f96fd1a6190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f96fd1a62fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f9700d2329b in QEventDispatcherGlib::processEvents (this=0x7f96340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#7  0x00007f9700cc975a in QEventLoop::exec (this=this@entry=0x7f963a832d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#8  0x00007f9700ae73d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#9  0x00007f963cacd8f7 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#10 0x00007f9700aec2be in QThreadPrivate::start (arg=0x4a52060) at thread/qthread_unix.cpp:337
#11 0x00007f96ffbdb6aa in start_thread (arg=0x7f963a833700) at pthread_create.c:333
#12 0x00007f9700404eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f962f73b700 (LWP 6724)):
#0  0x00007f97003f98dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f96fd1a61ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f96fd1a62fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f96fd1a6339 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f96fd1cc965 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f96ffbdb6aa in start_thread (arg=0x7f962f73b700) at pthread_create.c:333
#6  0x00007f9700404eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f9630249700 (LWP 6725)):
#0  0x00007f97003f549d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f96fd1e94e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f96fd1a5cd4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f96fd1a6190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f96fd1a6572 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9624c344c6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f96fd1cc965 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f96ffbdb6aa in start_thread (arg=0x7f9630249700) at pthread_create.c:333
#8  0x00007f9700404eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f9705c33800 (LWP 3764)):
[KCrash Handler]
#6  0x00007f961fbeb9f8 in KAccountsUiProvider::showNewAccountDialog (this=<optimized out>) at ../../../plugins/kaccounts/kaccounts-ui-provider.cpp:247
#7  0x00007f9700cfc617 in QtPrivate::QSlotObjectBase::call (a=0x7ffe2f67e0b0, r=0x42b86d0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#8  QMetaObject::activate (sender=0x42b86d0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3702
#9  0x00007f961fbeb9b8 in KAccountsUiProvider::init (this=0x42b86d0, type=<optimized out>) at ../../../plugins/kaccounts/kaccounts-ui-provider.cpp:109
#10 0x00007f9700cfc617 in QtPrivate::QSlotObjectBase::call (a=0x7ffe2f67e290, r=0x67530e0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#11 QMetaObject::activate (sender=sender@entry=0x67530e0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffe2f67e290) at kernel/qobject.cpp:3702
#12 0x00007f9700cfcf87 in QMetaObject::activate (sender=sender@entry=0x67530e0, m=m@entry=0x7f9701cc0620 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffe2f67e290) at kernel/qobject.cpp:3582
#13 0x00007f9701b3afe2 in QAbstractButton::clicked (this=this@entry=0x67530e0, _t1=false) at .moc/moc_qabstractbutton.cpp:298
#14 0x00007f97018a1914 in QAbstractButtonPrivate::emitClicked (this=0x5d1abd0) at widgets/qabstractbutton.cpp:534
#15 0x00007f97018a2df9 in QAbstractButtonPrivate::click (this=0x5d1abd0) at widgets/qabstractbutton.cpp:527
#16 0x00007f97018a2f74 in QAbstractButton::mouseReleaseEvent (this=0x67530e0, e=0x7ffe2f67e760) at widgets/qabstractbutton.cpp:1132
#17 0x00007f97017ec188 in QWidget::event (this=0x67530e0, event=0x7ffe2f67e760) at kernel/qwidget.cpp:9023
#18 0x00007f97017a9b8c in QApplicationPrivate::notify_helper (this=this@entry=0x1f43810, receiver=receiver@entry=0x67530e0, e=e@entry=0x7ffe2f67e760) at kernel/qapplication.cpp:3720
#19 0x00007f97017afc7a in QApplication::notify (this=<optimized out>, receiver=0x67530e0, e=0x7ffe2f67e760) at kernel/qapplication.cpp:3280
#20 0x00007f9700ccbf1b in QCoreApplication::notifyInternal (this=0x7ffe2f67f080, receiver=receiver@entry=0x67530e0, event=event@entry=0x7ffe2f67e760) at kernel/qcoreapplication.cpp:935
#21 0x00007f97017ae6f2 in QCoreApplication::sendSpontaneousEvent (event=0x7ffe2f67e760, receiver=0x67530e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x67530e0, event=event@entry=0x7ffe2f67e760, alienWidget=alienWidget@entry=0x67530e0, nativeWidget=0x4ed0f50, buttonDown=buttonDown@entry=0x7f9701ccfa10 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2751
#23 0x00007f9701803440 in QWidgetWindow::handleMouseEvent (this=this@entry=0x6071e20, event=event@entry=0x7ffe2f67eb80) at kernel/qwidgetwindow.cpp:543
#24 0x00007f970180578b in QWidgetWindow::event (this=0x6071e20, event=0x7ffe2f67eb80) at kernel/qwidgetwindow.cpp:210
#25 0x00007f97017a9b8c in QApplicationPrivate::notify_helper (this=this@entry=0x1f43810, receiver=receiver@entry=0x6071e20, e=e@entry=0x7ffe2f67eb80) at kernel/qapplication.cpp:3720
#26 0x00007f97017af230 in QApplication::notify (this=0x7ffe2f67f080, receiver=0x6071e20, e=0x7ffe2f67eb80) at kernel/qapplication.cpp:3503
#27 0x00007f9700ccbf1b in QCoreApplication::notifyInternal (this=0x7ffe2f67f080, receiver=receiver@entry=0x6071e20, event=event@entry=0x7ffe2f67eb80) at kernel/qcoreapplication.cpp:935
#28 0x00007f9700fee3c8 in QCoreApplication::sendSpontaneousEvent (event=0x7ffe2f67eb80, receiver=0x6071e20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#29 QGuiApplicationPrivate::processMouseEvent (e=0x4fc5050) at kernel/qguiapplication.cpp:1772
#30 0x00007f9700ff0005 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x4fc5050) at kernel/qguiapplication.cpp:1576
#31 0x00007f9700fd55b8 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:572
#32 0x00007f96f34b1250 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#33 0x00007f96fd1a5ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f96fd1a6250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f96fd1a62fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f9700d2327f in QEventDispatcherGlib::processEvents (this=0x1f7a4e0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#37 0x00007f9700cc975a in QEventLoop::exec (this=this@entry=0x7ffe2f67ef00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#38 0x00007f9700cd12cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#39 0x00007f9700fe600c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1510
#40 0x00007f97017a6025 in QApplication::exec () at kernel/qapplication.cpp:2956
#41 0x00000000004322c3 in main (argc=2, argv=<optimized out>) at ../../shell/main.cpp:176

Reported using DrKonqi
Comment 1 Martin Klapetek 2015-10-21 17:26:27 UTC
Thanks for the report

This will be fixed with KDE Applications 15.08.3, due out next month.

*** This bug has been marked as a duplicate of bug 351785 ***
Comment 2 David Edmundson 2015-10-22 20:11:37 UTC
*** Bug 354218 has been marked as a duplicate of this bug. ***