Bug 381686

Summary: Segmentation fault at login (CUPS JobModel::updateJob)
Product: [Unmaintained] plasma4 Reporter: zora <gatoatigrado>
Component: desktopAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description zora 2017-06-26 14:49:07 UTC
Application: plasma-desktop (4.11.11)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 4.4.0-79-generic x86_64
Distribution: Ubuntu 14.04.5 LTS

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

Happened at Login. Plasma seemed to restart automatically, so it didn't inhibit my work.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/usr/grte/v4/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f187500d7c0 (LWP 100924))]

Thread 5 (Thread 0x7f184ac5a700 (LWP 100925)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f186dcb1ffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f186dcb2039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f186855d184 in start_thread (arg=0x7f184ac5a700) at pthread_create.c:312
#4  0x00007f18748fdbed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f17c3de4700 (LWP 100928)):
#0  0x00007f18748f084d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1867e4bfe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1867e4c0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f18714c77be in QEventDispatcherGlib::processEvents (this=0x7f17bc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f18714990af in QEventLoop::processEvents (this=this@entry=0x7f17c3de3de0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f18714993a5 in QEventLoop::exec (this=this@entry=0x7f17c3de3de0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1871395c5f in QThread::exec (this=this@entry=0x1d3dae0) at thread/qthread.cpp:537
#7  0x00007f187147a823 in QInotifyFileSystemWatcherEngine::run (this=0x1d3dae0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f187139832f in QThreadPrivate::start (arg=0x1d3dae0) at thread/qthread_unix.cpp:349
#9  0x00007f186855d184 in start_thread (arg=0x7f17c3de4700) at pthread_create.c:312
#10 0x00007f18748fdbed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f17b3fff700 (LWP 100930)):
#0  0x00007f18748f084d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1867e4bfe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1867e4c0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f18714c77be in QEventDispatcherGlib::processEvents (this=0x7f17ac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f18714990af in QEventLoop::processEvents (this=this@entry=0x7f17b3ffede0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f18714993a5 in QEventLoop::exec (this=this@entry=0x7f17b3ffede0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1871395c5f in QThread::exec (this=this@entry=0x2493b40) at thread/qthread.cpp:537
#7  0x00007f187147a823 in QInotifyFileSystemWatcherEngine::run (this=0x2493b40) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f187139832f in QThreadPrivate::start (arg=0x2493b40) at thread/qthread_unix.cpp:349
#9  0x00007f186855d184 in start_thread (arg=0x7f17b3fff700) at pthread_create.c:312
#10 0x00007f18748fdbed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f17aac6a700 (LWP 100934)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1871398816 in wait (time=18446744073709551615, this=0x7f17a40d2050) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x7f17a40e5e70, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f187139495b in QSemaphore::acquire (this=this@entry=0x7f17aac603d0, n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007f18714a2882 in QMetaMethod::invoke (this=this@entry=0x7f17aac60630, object=object@entry=0x29f0120, connectionType=connectionType@entry=Qt::BlockingQueuedConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1715
#5  0x00007f18714a4dc2 in QMetaObject::invokeMethod (obj=0x29f0120, member=<optimized out>, type=Qt::BlockingQueuedConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#6  0x00007f17b1833444 in ?? () from /usr/lib/libkcupslib.so
#7  0x00007f17b15be016 in cupsDoAuthentication () from /usr/lib/x86_64-linux-gnu/libcups.so.2
#8  0x00007f17b15edd4b in cupsGetResponse () from /usr/lib/x86_64-linux-gnu/libcups.so.2
#9  0x00007f17b15ee642 in cupsDoIORequest () from /usr/lib/x86_64-linux-gnu/libcups.so.2
#10 0x00007f17b1830304 in KIppRequest::sendIppRequest() const () from /usr/lib/libkcupslib.so
#11 0x00007f17b1834268 in KCupsConnection::renewDBusSubscription(int, int, QStringList const&) () from /usr/lib/libkcupslib.so
#12 0x00007f17b18346cd in KCupsConnection::renewDBusSubscription() () from /usr/lib/libkcupslib.so
#13 0x00007f17b18347ae in KCupsConnection::updateSubscription() () from /usr/lib/libkcupslib.so
#14 0x00007f18714ae87a in QMetaObject::activate (sender=0x29f3ea0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#15 0x00007f18714b2a31 in QObject::event (this=0x29f3ea0, e=<optimized out>) at kernel/qobject.cpp:1156
#16 0x00007f1870833e2c in QApplicationPrivate::notify_helper (this=this@entry=0x1574ac0, receiver=receiver@entry=0x29f3ea0, e=e@entry=0x7f17aac69ba0) at kernel/qapplication.cpp:4567
#17 0x00007f187083a4a0 in QApplication::notify (this=this@entry=0x156e8f0, receiver=receiver@entry=0x29f3ea0, e=e@entry=0x7f17aac69ba0) at kernel/qapplication.cpp:4353
#18 0x00007f187215e63a in KApplication::notify (this=0x156e8f0, receiver=0x29f3ea0, event=0x7f17aac69ba0) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x00007f187149a4dd in QCoreApplication::notifyInternal (this=0x156e8f0, receiver=0x29f3ea0, event=0x7f17aac69ba0) at kernel/qcoreapplication.cpp:953
#20 0x00007f18714ca323 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#21 QTimerInfoList::activateTimers (this=0x7f17a4002f30) at kernel/qeventdispatcher_unix.cpp:621
#22 0x00007f18714c75f1 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#23 0x00007f1867e4be04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f1867e4c048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f1867e4c0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f18714c77a1 in QEventDispatcherGlib::processEvents (this=0x7f17a40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#27 0x00007f18714990af in QEventLoop::processEvents (this=this@entry=0x7f17aac69de0, flags=...) at kernel/qeventloop.cpp:149
#28 0x00007f18714993a5 in QEventLoop::exec (this=this@entry=0x7f17aac69de0, flags=...) at kernel/qeventloop.cpp:204
#29 0x00007f1871395c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#30 0x00007f17b1834027 in KCupsConnection::run() () from /usr/lib/libkcupslib.so
#31 0x00007f187139832f in QThreadPrivate::start (arg=0x29efe90) at thread/qthread_unix.cpp:349
#32 0x00007f186855d184 in start_thread (arg=0x7f17aac6a700) at pthread_create.c:312
#33 0x00007f18748fdbed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f187500d7c0 (LWP 100924)):
[KCrash Handler]
#6  0x00007f17b184b6f2 in JobModel::updateJob(int, KCupsJob const&) () from /usr/lib/libkcupslib.so
#7  0x00007f17b184f2b9 in JobModel::getJobFinished() () from /usr/lib/libkcupslib.so
#8  0x00007f17b184f905 in ?? () from /usr/lib/libkcupslib.so
#9  0x00007f18714b2c1e in QObject::event (this=0x2a03820, e=<optimized out>) at kernel/qobject.cpp:1194
#10 0x00007f1870833e2c in QApplicationPrivate::notify_helper (this=this@entry=0x1574ac0, receiver=receiver@entry=0x2a03820, e=e@entry=0x7f17a40d3c90) at kernel/qapplication.cpp:4567
#11 0x00007f187083a4a0 in QApplication::notify (this=this@entry=0x156e8f0, receiver=receiver@entry=0x2a03820, e=e@entry=0x7f17a40d3c90) at kernel/qapplication.cpp:4353
#12 0x00007f187215e63a in KApplication::notify (this=0x156e8f0, receiver=0x2a03820, event=0x7f17a40d3c90) at ../../kdeui/kernel/kapplication.cpp:311
#13 0x00007f187149a4dd in QCoreApplication::notifyInternal (this=0x156e8f0, receiver=receiver@entry=0x2a03820, event=event@entry=0x7f17a40d3c90) at kernel/qcoreapplication.cpp:953
#14 0x00007f187149db3d in sendEvent (event=0x7f17a40d3c90, receiver=0x2a03820) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x14e31f0) at kernel/qcoreapplication.cpp:1577
#16 0x00007f187149dfe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#17 0x00007f18714c7f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#18 postEventSourceDispatch (s=0x157edd0) at kernel/qeventdispatcher_glib.cpp:287
#19 0x00007f1867e4be04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f1867e4c048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f1867e4c0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f18714c77a1 in QEventDispatcherGlib::processEvents (this=0x14e4af0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#23 0x00007f18708d5be6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x00007f18714990af in QEventLoop::processEvents (this=this@entry=0x7fff3e6d26e0, flags=...) at kernel/qeventloop.cpp:149
#25 0x00007f18714993a5 in QEventLoop::exec (this=this@entry=0x7fff3e6d26e0, flags=...) at kernel/qeventloop.cpp:204
#26 0x00007f187149eb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#27 0x00007f187083237c in QApplication::exec () at kernel/qapplication.cpp:3828
#28 0x00007f1874c0467c in kdemain (argc=1, argv=0x7fff3e6d2938) at ../../../../plasma/desktop/shell/main.cpp:126
#29 0x00007f1874821f45 in __libc_start_main (main=0x4006e0 <main(int, char**)>, argc=1, argv=0x7fff3e6d2938, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff3e6d2928) at libc-start.c:287
#30 0x000000000040070e in _start () at plasma-desktop_dummy.cpp:3

Report to https://bugs.kde.org/
Comment 1 Christoph Feck 2017-06-26 17:21:17 UTC

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