Bug 335646 - KDE crash when disconnecting screen
Summary: KDE crash when disconnecting screen
Status: RESOLVED DUPLICATE of bug 323923
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kded (show other bugs)
Version: 4.13.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-06-01 14:36 UTC by helpunclejackoff
Modified: 2014-06-02 00:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description helpunclejackoff 2014-06-01 14:36:18 UTC
Application: kded4 (4.13.0)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.11.0-19-generic x86_64
Distribution: Ubuntu 14.04 LTS

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

I simply disconnected my external HDMI screen.
My laptop screen is set to be off when the external monitor is connected and it turned on once the ext. was disconnected. KDE (the start and its taskbar) crashed.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Démon de KDE (kded4), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9fe8b0f7c0 (LWP 3097))]

Thread 4 (Thread 0x7f9fccec0700 (LWP 3103)):
#0  0x00007f9fe6384fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9fe3482fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9fe34830ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9fe77be7be in QEventDispatcherGlib::processEvents (this=0x7f9fc80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f9fe77900af in QEventLoop::processEvents (this=this@entry=0x7f9fccebfe20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9fe77903a5 in QEventLoop::exec (this=this@entry=0x7f9fccebfe20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9fe768cc5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#7  0x00007f9fe768f32f in QThreadPrivate::start (arg=0x19000d0) at thread/qthread_unix.cpp:349
#8  0x00007f9fe3b65182 in start_thread (arg=0x7f9fccec0700) at pthread_create.c:312
#9  0x00007f9fe639230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f9fbc9a0700 (LWP 3117)):
#0  0x00007f9fe34c462a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9fe34c4989 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9fe3482f99 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9fe34830ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9fe77be7be in QEventDispatcherGlib::processEvents (this=0x7f9f9c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f9fe77900af in QEventLoop::processEvents (this=this@entry=0x7f9fbc99fde0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f9fe77903a5 in QEventLoop::exec (this=this@entry=0x7f9fbc99fde0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f9fe768cc5f in QThread::exec (this=this@entry=0x19b2ad0) at thread/qthread.cpp:537
#8  0x00007f9fe7771823 in QInotifyFileSystemWatcherEngine::run (this=0x19b2ad0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f9fe768f32f in QThreadPrivate::start (arg=0x19b2ad0) at thread/qthread_unix.cpp:349
#10 0x00007f9fe3b65182 in start_thread (arg=0x7f9fbc9a0700) at pthread_create.c:312
#11 0x00007f9fe639230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f9fbd1a1700 (LWP 4503)):
#0  0x00007f9fe34c462a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9fe34c49b9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9fe3482680 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9fe3482f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9fe34830ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9fe77be7be in QEventDispatcherGlib::processEvents (this=0x7f9fb00033c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f9fe77900af in QEventLoop::processEvents (this=this@entry=0x7f9fbd1a0de0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f9fe77903a5 in QEventLoop::exec (this=this@entry=0x7f9fbd1a0de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f9fe768cc5f in QThread::exec (this=this@entry=0x33d6b10) at thread/qthread.cpp:537
#9  0x00007f9fe7771823 in QInotifyFileSystemWatcherEngine::run (this=0x33d6b10) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f9fe768f32f in QThreadPrivate::start (arg=0x33d6b10) at thread/qthread_unix.cpp:349
#11 0x00007f9fe3b65182 in start_thread (arg=0x7f9fbd1a1700) at pthread_create.c:312
#12 0x00007f9fe639230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f9fe8b0f7c0 (LWP 3097)):
[KCrash Handler]
#6  0x00007f9fcc05a7b0 in KScreen::Output::id() const () from /usr/lib/libkscreen.so.1
#7  0x00007f9fc7bcb874 in XRandRConfig::toKScreenConfig() const () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#8  0x00007f9fc7bc8491 in XRandR::config() const () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#9  0x00007f9fcc056b89 in KScreen::Config::current() () from /usr/lib/libkscreen.so.1
#10 0x00007f9fcc2a4149 in Serializer::currentId () at /build/buildd/kscreen-1.0.2.1/kded/serializer.cpp:40
#11 0x00007f9fcc2a4672 in Serializer::configExists () at /build/buildd/kscreen-1.0.2.1/kded/serializer.cpp:61
#12 0x00007f9fcc2a3532 in KScreenDaemon::applyConfig (this=0x17c3610) at /build/buildd/kscreen-1.0.2.1/kded/daemon.cpp:93
#13 0x00007f9fe77a587a in QMetaObject::activate (sender=0x1924e40, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#14 0x00007f9fcc05bac5 in KScreen::Output::isConnectedChanged() () from /usr/lib/libkscreen.so.1
#15 0x00007f9fcc05b00b in KScreen::Output::setConnected(bool) () from /usr/lib/libkscreen.so.1
#16 0x00007f9fc7bd6016 in XRandROutput::updateKScreenOutput(KScreen::Output*) const () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#17 0x00007f9fc7bcba96 in XRandRConfig::updateKScreenConfig(KScreen::Config*) const () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#18 0x00007f9fc7bc85ac in XRandR::updateConfig(KScreen::Config*) const () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#19 0x00007f9fcc058e2d in KScreen::ConfigMonitor::Private::updateConfigs() () from /usr/lib/libkscreen.so.1
#20 0x00007f9fcc05914e in KScreen::ConfigMonitor::notifyUpdate() () from /usr/lib/libkscreen.so.1
#21 0x00007f9fc7bc83b7 in XRandR::updateOutput(unsigned long) () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#22 0x00007f9fc7bc8cb5 in XRandR::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#23 0x00007f9fe77a587a in QMetaObject::activate (sender=0x191b700, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff78baa930) at kernel/qobject.cpp:3539
#24 0x00007f9fc7bcb0cb in XRandRX11Helper::outputChanged(unsigned long) () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#25 0x00007f9fc7bcaab4 in XRandRX11Helper::x11Event(_XEvent*) () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#26 0x00007f9fe8536d48 in publicX11Event (e=0x7fff78baaae0, this=<optimized out>) at ../../kdeui/kernel/ksystemeventfilter.cpp:43
#27 KSystemEventFilterPrivate::filterEvent (this=0x17c7790, message=0x7fff78baaae0) at ../../kdeui/kernel/ksystemeventfilter.cpp:102
#28 0x00007f9fe778335e in QAbstractEventDispatcher::filterEvent (this=0x0, message=0x7fff78baa2d8, message@entry=0x7fff78baaae0) at kernel/qabstracteventdispatcher.cpp:542
#29 0x00007f9fe6bcca30 in x11EventSourceDispatch (s=0x169dd30, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:143
#30 0x00007f9fe3482e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f9fe3483048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f9fe34830ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f9fe77be7a1 in QEventDispatcherGlib::processEvents (this=0x15fe6d0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#34 0x00007f9fe6bccbb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f9fe77900af in QEventLoop::processEvents (this=this@entry=0x7fff78baaeb0, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f9fe77903a5 in QEventLoop::exec (this=this@entry=0x7fff78baaeb0, flags=...) at kernel/qeventloop.cpp:204
#37 0x00007f9fe7795b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#38 0x00007f9fe6b2937c in QApplication::exec () at kernel/qapplication.cpp:3828
#39 0x00007f9fd2e34d1b in kdemain (argc=1, argv=0x166a710) at ../../kded/kded.cpp:940
#40 0x00000000004083ee in launch (argc=argc@entry=1, _name=_name@entry=0x40afc5 "kded4", args=args@entry=0x0, cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x0, reset_env=reset_env@entry=false, tty=tty@entry=0x0, avoid_loops=avoid_loops@entry=false, startup_id_str=startup_id_str@entry=0x40aead "0") at ../../kinit/kinit.cpp:738
#41 0x00000000004059a3 in main (argc=4, argv=<optimized out>, envp=0x7fff78bab740) at ../../kinit/kinit.cpp:1853

The reporter indicates this bug may be a duplicate of or related to bug 323923.

Possible duplicates by query: bug 334947.

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-06-02 00:36:47 UTC

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