Comment 5 for bug 1177333

Revision history for this message
In , Cliff Ingham (inghamn) wrote :

Here's the backtrace from the segfault that occurred while running the terminal above:

Application: KDE Daemon (kded4), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8b443ef7c0 (LWP 4572))]

Thread 5 (Thread 0x7f8b251be700 (LWP 4575)):
#0 0x00007f8b3f1e235c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007f8b3f1e25b9 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f8b3f1a32f0 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f8b41b8c036 in QEventDispatcherGlib::processEvents (this=0x7f8b200008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4 0x00007f8b41b5c38f in QEventLoop::processEvents (this=this@entry=0x7f8b251bdcd0, flags=...) at kernel/qeventloop.cpp:149
#5 0x00007f8b41b5c618 in QEventLoop::exec (this=this@entry=0x7f8b251bdcd0, flags=...) at kernel/qeventloop.cpp:204
#6 0x00007f8b41a5e410 in QThread::exec (this=this@entry=0x24426a0) at thread/qthread.cpp:542
#7 0x00007f8b41b3dedf in QInotifyFileSystemWatcherEngine::run (this=0x24426a0) at io/qfilesystemwatcher_inotify.cpp:256
#8 0x00007f8b41a60bec in QThreadPrivate::start (arg=0x24426a0) at thread/qthread_unix.cpp:338
#9 0x00007f8b2b8411b4 in ?? () from /usr/lib/nvidia-313-updates/libGL.so.1
#10 0x00007f8b3f675f8e in start_thread (arg=0x7f8b251be700) at pthread_create.c:311
#11 0x00007f8b43d1de1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f8b0d6b6700 (LWP 4582)):
#0 0x00007f8b3f67907f in __pthread_mutex_unlock_usercnt (mutex=0x258d010, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1 0x00007f8b3f1e25f1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f8b3f1a31d1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f8b3f1a36ba in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007f8b0d9a64f6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5 0x00007f8b3f1c6eb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6 0x00007f8b2b8411b4 in ?? () from /usr/lib/nvidia-313-updates/libGL.so.1
#7 0x00007f8b3f675f8e in start_thread (arg=0x7f8b0d6b6700) at pthread_create.c:311
#8 0x00007f8b43d1de1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f8b0cca9700 (LWP 4583)):
#0 0x00007f8b3f1e2359 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007f8b3f1e25e9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f8b3f1a28f3 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f8b3f1a30fe in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007f8b3f1a3304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007f8b41b8c036 in QEventDispatcherGlib::processEvents (this=0x7f8af00008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6 0x00007f8b41b5c38f in QEventLoop::processEvents (this=this@entry=0x7f8b0cca8cc0, flags=...) at kernel/qeventloop.cpp:149
#7 0x00007f8b41b5c618 in QEventLoop::exec (this=this@entry=0x7f8b0cca8cc0, flags=...) at kernel/qeventloop.cpp:204
#8 0x00007f8b41a5e410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9 0x00007f8b1eb946e5 in KCupsConnection::run() () from /usr/lib/libkcupslib.so
#10 0x00007f8b41a60bec in QThreadPrivate::start (arg=0x25baa20) at thread/qthread_unix.cpp:338
#11 0x00007f8b2b8411b4 in ?? () from /usr/lib/nvidia-313-updates/libGL.so.1
#12 0x00007f8b3f675f8e in start_thread (arg=0x7f8b0cca9700) at pthread_create.c:311
#13 0x00007f8b43d1de1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f8b07fff700 (LWP 4584)):
#0 0x00007f8b43d113cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007f8b3f1a31dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f8b3f1a3304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f8b41b8c036 in QEventDispatcherGlib::processEvents (this=0x7f8af40008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4 0x00007f8b41b5c38f in QEventLoop::processEvents (this=this@entry=0x7f8b07ffed00, flags=...) at kernel/qeventloop.cpp:149
#5 0x00007f8b41b5c618 in QEventLoop::exec (this=this@entry=0x7f8b07ffed00, flags=...) at kernel/qeventloop.cpp:204
#6 0x00007f8b41a5e410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7 0x00007f8b41a60bec in QThreadPrivate::start (arg=0x2510ab0) at thread/qthread_unix.cpp:338
#8 0x00007f8b2b8411b4 in ?? () from /usr/lib/nvidia-313-updates/libGL.so.1
#9 0x00007f8b3f675f8e in start_thread (arg=0x7f8b07fff700) at pthread_create.c:311
#10 0x00007f8b43d1de1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f8b443ef7c0 (LWP 4572)):
[KCrash Handler]
#6 KScreen::Output::id (this=this@entry=0x0) at /build/buildd/libkscreen-0.0.81/src/output.cpp:104
#7 0x00007f8b25c25fbc in Generator::extendToRight (this=this@entry=0x2433910, outputs=...) at /build/buildd/kscreen-0.0.81/kded/generator.cpp:313
#8 0x00007f8b25c27f94 in Generator::idealConfig (this=0x2433910) at /build/buildd/kscreen-0.0.81/kded/generator.cpp:83
#9 0x00007f8b25c204f6 in KScreenDaemon::applyIdealConfig (this=this@entry=0x240b540) at /build/buildd/kscreen-0.0.81/kded/daemon.cpp:110
#10 0x00007f8b25c2077d in KScreenDaemon::applyConfig (this=0x240b540) at /build/buildd/kscreen-0.0.81/kded/daemon.cpp:90
#11 0x00007f8b41b720ef in QMetaObject::activate (sender=sender@entry=0x2433b70, m=m@entry=0x7f8b25c16b60 <KScreen::Output::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#12 0x00007f8b25a10a83 in KScreen::Output::isConnectedChanged (this=this@entry=0x2433b70) at /build/buildd/libkscreen-0.0.81/obj-x86_64-linux-gnu/src/output.moc:253
#13 0x00007f8b25a10aa3 in KScreen::Output::setConnected (this=this@entry=0x2433b70, connected=<optimized out>) at /build/buildd/libkscreen-0.0.81/src/output.cpp:308
#14 0x00007f8b255de4d2 in XRandROutput::updateKScreenOutput (this=this@entry=0x23fdc10, output=0x2433b70) at /build/buildd/libkscreen-0.0.81/backends/xrandr/xrandroutput.cpp:265
#15 0x00007f8b255d9469 in XRandRConfig::updateKScreenConfig (this=0x23fbeb0, config=0x2434060) at /build/buildd/libkscreen-0.0.81/backends/xrandr/xrandrconfig.cpp:107
#16 0x00007f8b25a0fd4c in KScreen::ConfigMonitor::Private::updateConfigs (this=0x243b900) at /build/buildd/libkscreen-0.0.81/src/configmonitor.cpp:46
#17 0x00007f8b25a0fd9d in KScreen::ConfigMonitor::notifyUpdate (this=0x243b850) at /build/buildd/libkscreen-0.0.81/src/configmonitor.cpp:89
#18 0x00007f8b255d6f22 in XRandR::updateOutput (this=<optimized out>, output=584) at /build/buildd/libkscreen-0.0.81/backends/xrandr/xrandr.cpp:116
#19 0x00007f8b41b720ef in QMetaObject::activate (sender=sender@entry=0x242dfe0, m=m@entry=0x7f8b257e2980 <XRandRX11Helper::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffe6fb2570) at kernel/qobject.cpp:3539
#20 0x00007f8b255d7f52 in XRandRX11Helper::outputChanged (this=this@entry=0x242dfe0, _t1=584) at /build/buildd/libkscreen-0.0.81/obj-x86_64-linux-gnu/backends/xrandr/xrandrx11helper.moc:120
#21 0x00007f8b255d84d5 in XRandRX11Helper::x11Event (this=0x242dfe0, event=0x7fffe6fb26c0) at /build/buildd/libkscreen-0.0.81/backends/xrandr/xrandrx11helper.cpp:140
#22 0x00007f8b434f397d in publicX11Event (e=0x7fffe6fb26c0, this=<optimized out>) at ../../kdeui/kernel/ksystemeventfilter.cpp:43
#23 KSystemEventFilterPrivate::filterEvent (this=0x24022d0, message=0x7fffe6fb26c0) at ../../kdeui/kernel/ksystemeventfilter.cpp:102
#24 0x00007f8b41b5011e in QAbstractEventDispatcher::filterEvent (this=0x0, message=0x0, message@entry=0x7fffe6fb26c0) at kernel/qabstracteventdispatcher.cpp:539
#25 0x00007f8b42867028 in x11EventSourceDispatch (s=0x20cd210, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:143
#26 0x00007f8b3f1a2f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f8b3f1a3248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f8b3f1a3304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f8b41b8c016 in QEventDispatcherGlib::processEvents (this=0x2095610, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00007f8b428671ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f8b41b5c38f in QEventLoop::processEvents (this=this@entry=0x7fffe6fb2a90, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f8b41b5c618 in QEventLoop::exec (this=this@entry=0x7fffe6fb2a90, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007f8b41b61cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#34 0x00007f8b427bfffc in QApplication::exec () at kernel/qapplication.cpp:3828
#35 0x00007f8b43ff5050 in kdemain (argc=1, argv=0x7fffe6fb2e58) at ../../kded/kded.cpp:924
#36 0x00007f8b43c45ea5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, ubp_av=0x7fffe6fb2e58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe6fb2e48) at libc-start.c:260
#37 0x0000000000400701 in _start ()