Bug 319191 - Crash when unplugging or re-attaching the monitor
Summary: Crash when unplugging or re-attaching the monitor
Status: RESOLVED DUPLICATE of bug 318936
Alias: None
Product: KScreen
Classification: Plasma
Component: kded (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Alex Fiestas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-01 21:18 UTC by Kevin Goeser
Modified: 2013-05-02 08:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Goeser 2013-05-01 21:18:49 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.10.2
Qt Version: 4.8.4
Operating System: Linux 3.8.0-19-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
I unplugged the monitor for some time, after re-attaching it, the crash dialog was displayed.

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

Thread 5 (Thread 0x7fdd5ffff700 (LWP 4161)):
#0  0x00007fdd89823340 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fdd898235e9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdd897e3366 in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdd897e40b4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fdd897e46ba in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fdd6c8844f6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007fdd89807eb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fdd78d4d764 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#8  0x00007fdd89a9ef8e in start_thread (arg=0x7fdd5ffff700) at pthread_create.c:311
#9  0x00007fdd8d912e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7fdd5f7fe700 (LWP 4171)):
#0  0x00007fdd8d9063cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fdd897e41dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdd897e4304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdd8b781036 in QEventDispatcherGlib::processEvents (this=0x7fdd500008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fdd8b75138f in QEventLoop::processEvents (this=this@entry=0x7fdd5f7fdcc0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fdd8b751618 in QEventLoop::exec (this=this@entry=0x7fdd5f7fdcc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fdd8b653410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007fdd728df6e5 in KCupsConnection::run() () from /usr/lib/libkcupslib.so
#8  0x00007fdd8b655bec in QThreadPrivate::start (arg=0x13f60b0) at thread/qthread_unix.cpp:338
#9  0x00007fdd78d4d764 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#10 0x00007fdd89a9ef8e in start_thread (arg=0x7fdd5f7fe700) at pthread_create.c:311
#11 0x00007fdd8d912e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fdd5effd700 (LWP 4172)):
#0  0x00007fdd89aa10ca in __GI___pthread_mutex_lock (mutex=0x7fdd54000a90) at pthread_mutex_lock.c:116
#1  0x00007fdd898235c1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdd897e334e in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdd897e40b4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fdd897e4304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fdd8b781036 in QEventDispatcherGlib::processEvents (this=0x7fdd540008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fdd8b75138f in QEventLoop::processEvents (this=this@entry=0x7fdd5effcd00, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fdd8b751618 in QEventLoop::exec (this=this@entry=0x7fdd5effcd00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fdd8b653410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007fdd8b655bec in QThreadPrivate::start (arg=0x13d5c70) at thread/qthread_unix.cpp:338
#10 0x00007fdd78d4d764 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#11 0x00007fdd89a9ef8e in start_thread (arg=0x7fdd5effd700) at pthread_create.c:311
#12 0x00007fdd8d912e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fdd5e7fc700 (LWP 4174)):
#0  __lll_unlock_wake () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:371
#1  0x00007fdd89aa2119 in _L_unlock_571 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007fdd89aa2085 in __pthread_mutex_unlock_usercnt (mutex=0x7fdd78faaa40, decr=<optimized out>) at pthread_mutex_unlock.c:52
#3  0x00007fdd78d47d9b in ?? () from /usr/lib/nvidia-304/libGL.so.1
#4  0x00007fdd78d4c776 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#5  0x00007fdd77939be7 in ?? () from /usr/lib/nvidia-304/tls/libnvidia-tls.so.304.88
#6  0x00007fdd898226cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fdd897e3d3c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fdd897e4175 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fdd897e4304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fdd8b781036 in QEventDispatcherGlib::processEvents (this=0x7fdd480008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x00007fdd8b75138f in QEventLoop::processEvents (this=this@entry=0x7fdd5e7fbcd0, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007fdd8b751618 in QEventLoop::exec (this=this@entry=0x7fdd5e7fbcd0, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007fdd8b653410 in QThread::exec (this=this@entry=0x13fe520) at thread/qthread.cpp:542
#14 0x00007fdd8b732edf in QInotifyFileSystemWatcherEngine::run (this=0x13fe520) at io/qfilesystemwatcher_inotify.cpp:256
#15 0x00007fdd8b655bec in QThreadPrivate::start (arg=0x13fe520) at thread/qthread_unix.cpp:338
#16 0x00007fdd78d4d764 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#17 0x00007fdd89a9ef8e in start_thread (arg=0x7fdd5e7fc700) at pthread_create.c:311
#18 0x00007fdd8d912e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fdd8dfd47c0 (LWP 2586)):
[KCrash Handler]
#6  KScreen::Output::id (this=this@entry=0x0) at /build/buildd/libkscreen-0.0.81/src/output.cpp:104
#7  0x00007fdd743ddfbc in Generator::extendToRight (this=this@entry=0x13b2590, outputs=...) at /build/buildd/kscreen-0.0.81/kded/generator.cpp:313
#8  0x00007fdd743dff94 in Generator::idealConfig (this=0x13b2590) at /build/buildd/kscreen-0.0.81/kded/generator.cpp:83
#9  0x00007fdd743d84f6 in KScreenDaemon::applyIdealConfig (this=this@entry=0x13a94f0) at /build/buildd/kscreen-0.0.81/kded/daemon.cpp:110
#10 0x00007fdd743d877d in KScreenDaemon::applyConfig (this=0x13a94f0) at /build/buildd/kscreen-0.0.81/kded/daemon.cpp:90
#11 0x00007fdd8b7670ef in QMetaObject::activate (sender=sender@entry=0x13a52a0, m=m@entry=0x7fdd743a4b60 <KScreen::Output::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#12 0x00007fdd7419ea83 in KScreen::Output::isConnectedChanged (this=this@entry=0x13a52a0) at /build/buildd/libkscreen-0.0.81/obj-x86_64-linux-gnu/src/output.moc:253
#13 0x00007fdd7419eaa3 in KScreen::Output::setConnected (this=this@entry=0x13a52a0, connected=<optimized out>) at /build/buildd/libkscreen-0.0.81/src/output.cpp:308
#14 0x00007fdd73d6c4d2 in XRandROutput::updateKScreenOutput (this=this@entry=0x13a3b60, output=0x13a52a0) at /build/buildd/libkscreen-0.0.81/backends/xrandr/xrandroutput.cpp:265
#15 0x00007fdd73d67469 in XRandRConfig::updateKScreenConfig (this=0x13a4f60, config=0x13b2760) at /build/buildd/libkscreen-0.0.81/backends/xrandr/xrandrconfig.cpp:107
#16 0x00007fdd7419dd4c in KScreen::ConfigMonitor::Private::updateConfigs (this=0x13b7300) at /build/buildd/libkscreen-0.0.81/src/configmonitor.cpp:46
#17 0x00007fdd7419dd9d in KScreen::ConfigMonitor::notifyUpdate (this=0x13b72e0) at /build/buildd/libkscreen-0.0.81/src/configmonitor.cpp:89
#18 0x00007fdd73d64f22 in XRandR::updateOutput (this=<optimized out>, output=586) at /build/buildd/libkscreen-0.0.81/backends/xrandr/xrandr.cpp:116
#19 0x00007fdd8b7670ef in QMetaObject::activate (sender=sender@entry=0x13ac0d0, m=m@entry=0x7fdd73f70980 <XRandRX11Helper::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff11b28ca0) at kernel/qobject.cpp:3539
#20 0x00007fdd73d65f52 in XRandRX11Helper::outputChanged (this=this@entry=0x13ac0d0, _t1=586) at /build/buildd/libkscreen-0.0.81/obj-x86_64-linux-gnu/backends/xrandr/xrandrx11helper.moc:120
#21 0x00007fdd73d664d5 in XRandRX11Helper::x11Event (this=0x13ac0d0, event=0x7fff11b28df0) at /build/buildd/libkscreen-0.0.81/backends/xrandr/xrandrx11helper.cpp:140
#22 0x00007fdd8d0e897d in publicX11Event (e=0x7fff11b28df0, this=<optimized out>) at ../../kdeui/kernel/ksystemeventfilter.cpp:43
#23 KSystemEventFilterPrivate::filterEvent (this=0x13a9f20, message=0x7fff11b28df0) at ../../kdeui/kernel/ksystemeventfilter.cpp:102
#24 0x00007fdd8b74511e in QAbstractEventDispatcher::filterEvent (this=0x0, message=0x0, message@entry=0x7fff11b28df0) at kernel/qabstracteventdispatcher.cpp:539
#25 0x00007fdd8c45c028 in x11EventSourceDispatch (s=0x10b0320, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:143
#26 0x00007fdd897e3f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fdd897e4248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fdd897e4304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fdd8b781016 in QEventDispatcherGlib::processEvents (this=0x1079610, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00007fdd8c45c1ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007fdd8b75138f in QEventLoop::processEvents (this=this@entry=0x7fff11b291c0, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007fdd8b751618 in QEventLoop::exec (this=this@entry=0x7fff11b291c0, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007fdd8b756cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#34 0x00007fdd8c3b4ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#35 0x00007fdd8dbea050 in kdemain (argc=1, argv=0x7fff11b29588) at ../../kded/kded.cpp:924
#36 0x00007fdd8d83aea5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, ubp_av=0x7fff11b29588, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff11b29578) at libc-start.c:260
#37 0x0000000000400701 in _start ()

Reported using DrKonqi
Comment 1 Daniel Vrátil 2013-05-02 08:32:22 UTC

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