Bug 337189 - Plasma crash when disconnecting external monitor
Summary: Plasma crash when disconnecting external monitor
Status: RESOLVED DUPLICATE of bug 323923
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: 4.11.10
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-07-07 15:17 UTC by Martin van Es
Modified: 2014-07-07 16:13 UTC (History)
0 users

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 Martin van Es 2014-07-07 15:17:14 UTC
Application: plasma-desktop (4.11.10)
KDE Platform Version: 4.13.2
Qt Version: 4.8.6
Operating System: Linux 3.15.3 x86_64
Distribution: Ubuntu 14.04 LTS

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

I disconnected the external monitor that was attached via mini Displayport to VGA adapater.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f011717f7c0 (LWP 4595))]

Thread 12 (Thread 0x7f00ec477700 (LWP 4596)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f010fe24ffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f010fe25039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f010a6d1182 in start_thread (arg=0x7f00ec477700) at pthread_create.c:312
#4  0x00007f0116a7230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 11 (Thread 0x7f00661ff700 (LWP 4598)):
#0  0x00007f0109fbf620 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0109fbff03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0109fc00ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f011363a7be in QEventDispatcherGlib::processEvents (this=0x7f00600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f011360c0af in QEventLoop::processEvents (this=this@entry=0x7f00661fede0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f011360c3a5 in QEventLoop::exec (this=this@entry=0x7f00661fede0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f0113508c5f in QThread::exec (this=this@entry=0x2433100) at thread/qthread.cpp:537
#7  0x00007f01135ed823 in QInotifyFileSystemWatcherEngine::run (this=0x2433100) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f011350b32f in QThreadPrivate::start (arg=0x2433100) at thread/qthread_unix.cpp:349
#9  0x00007f010a6d1182 in start_thread (arg=0x7f00661ff700) at pthread_create.c:312
#10 0x00007f0116a7230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 10 (Thread 0x7f00648c7700 (LWP 4600)):
#0  0x00007f0116a636bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f010a000c20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0109fbfb14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0109fbff7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0109fc00ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f011363a7be in QEventDispatcherGlib::processEvents (this=0x7f00580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f011360c0af in QEventLoop::processEvents (this=this@entry=0x7f00648c6de0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f011360c3a5 in QEventLoop::exec (this=this@entry=0x7f00648c6de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f0113508c5f in QThread::exec (this=this@entry=0x3439e60) at thread/qthread.cpp:537
#9  0x00007f01135ed823 in QInotifyFileSystemWatcherEngine::run (this=0x3439e60) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f011350b32f in QThreadPrivate::start (arg=0x3439e60) at thread/qthread_unix.cpp:349
#11 0x00007f010a6d1182 in start_thread (arg=0x7f00648c7700) at pthread_create.c:312
#12 0x00007f0116a7230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 9 (Thread 0x7f005540a700 (LWP 5473)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f011350b816 in wait (time=18446744073709551615, this=0x3306b40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x33bf3b8, mutex=0x2ee1c80, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f010f09de6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x33bf390, th=0x50f4180) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f010f0a0903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2eedcf0, th=0x50f4180, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f010f0a091c in ThreadWeaver::WorkingHardState::applyForWork (this=0x2eedcf0, th=0x50f4180, previous=0x50a6600) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f010f09f61f in ThreadWeaver::Thread::run (this=0x50f4180) at ../../../threadweaver/Weaver/Thread.cpp:98
#7  0x00007f011350b32f in QThreadPrivate::start (arg=0x50f4180) at thread/qthread_unix.cpp:349
#8  0x00007f010a6d1182 in start_thread (arg=0x7f005540a700) at pthread_create.c:312
#9  0x00007f0116a7230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7f004e58d700 (LWP 5474)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f011350b816 in wait (time=18446744073709551615, this=0x3306b40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x33bf3b8, mutex=0x2ee1c80, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f010f09de6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x33bf390, th=0x526ba80) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f010f0a0903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2eedcf0, th=0x526ba80, previous=0x2e9da10) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f010f09f61f in ThreadWeaver::Thread::run (this=0x526ba80) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007f011350b32f in QThreadPrivate::start (arg=0x526ba80) at thread/qthread_unix.cpp:349
#7  0x00007f010a6d1182 in start_thread (arg=0x7f004e58d700) at pthread_create.c:312
#8  0x00007f0116a7230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7f004dd8c700 (LWP 5475)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f011350b816 in wait (time=18446744073709551615, this=0x3306b40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x33bf3b8, mutex=0x2ee1c80, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f010f09de6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x33bf390, th=0x510a5a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f010f0a0903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2eedcf0, th=0x510a5a0, previous=0x36692d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f010f09f61f in ThreadWeaver::Thread::run (this=0x510a5a0) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007f011350b32f in QThreadPrivate::start (arg=0x510a5a0) at thread/qthread_unix.cpp:349
#7  0x00007f010a6d1182 in start_thread (arg=0x7f004dd8c700) at pthread_create.c:312
#8  0x00007f0116a7230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f004d58b700 (LWP 5476)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f011350b816 in wait (time=18446744073709551615, this=0x3306b40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x33bf3b8, mutex=0x2ee1c80, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f010f09de6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x33bf390, th=0x51042b0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f010f0a0903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2eedcf0, th=0x51042b0, previous=0x4093be0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f010f09f61f in ThreadWeaver::Thread::run (this=0x51042b0) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007f011350b32f in QThreadPrivate::start (arg=0x51042b0) at thread/qthread_unix.cpp:349
#7  0x00007f010a6d1182 in start_thread (arg=0x7f004d58b700) at pthread_create.c:312
#8  0x00007f0116a7230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f004cd8a700 (LWP 5477)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f011350b816 in wait (time=18446744073709551615, this=0x3306b40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x33bf3b8, mutex=0x2ee1c80, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f010f09de6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x33bf390, th=0x4a3ef00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f010f0a0903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2eedcf0, th=0x4a3ef00, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f010f0a091c in ThreadWeaver::WorkingHardState::applyForWork (this=0x2eedcf0, th=0x4a3ef00, previous=0x66bcf40) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f010f09f61f in ThreadWeaver::Thread::run (this=0x4a3ef00) at ../../../threadweaver/Weaver/Thread.cpp:98
#7  0x00007f011350b32f in QThreadPrivate::start (arg=0x4a3ef00) at thread/qthread_unix.cpp:349
#8  0x00007f010a6d1182 in start_thread (arg=0x7f004cd8a700) at pthread_create.c:312
#9  0x00007f0116a7230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f0057fff700 (LWP 323)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f011350b816 in wait (time=18446744073709551615, this=0x3306b40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x33bf3b8, mutex=0x2ee1c80, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f010f09de6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x33bf390, th=0x50bb2e0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f010f0a0903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2eedcf0, th=0x50bb2e0, previous=0x50f7500) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f010f09f61f in ThreadWeaver::Thread::run (this=0x50bb2e0) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007f011350b32f in QThreadPrivate::start (arg=0x50bb2e0) at thread/qthread_unix.cpp:349
#7  0x00007f010a6d1182 in start_thread (arg=0x7f0057fff700) at pthread_create.c:312
#8  0x00007f0116a7230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f003b2b8700 (LWP 324)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f011350b816 in wait (time=18446744073709551615, this=0x3306b40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x33bf3b8, mutex=0x2ee1c80, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f010f09de6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x33bf390, th=0x2a0b4d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f010f0a0903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2eedcf0, th=0x2a0b4d0, previous=0x66bcf40) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f010f09f61f in ThreadWeaver::Thread::run (this=0x2a0b4d0) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007f011350b32f in QThreadPrivate::start (arg=0x2a0b4d0) at thread/qthread_unix.cpp:349
#7  0x00007f010a6d1182 in start_thread (arg=0x7f003b2b8700) at pthread_create.c:312
#8  0x00007f0116a7230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f003aab7700 (LWP 326)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f011350b816 in wait (time=18446744073709551615, this=0x3306b40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x33bf3b8, mutex=0x2ee1c80, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f010f09de6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x33bf390, th=0x5050c30) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f010f0a0903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2eedcf0, th=0x5050c30, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f010f0a091c in ThreadWeaver::WorkingHardState::applyForWork (this=0x2eedcf0, th=0x5050c30, previous=0x679e360) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f010f09f61f in ThreadWeaver::Thread::run (this=0x5050c30) at ../../../threadweaver/Weaver/Thread.cpp:98
#7  0x00007f011350b32f in QThreadPrivate::start (arg=0x5050c30) at thread/qthread_unix.cpp:349
#8  0x00007f010a6d1182 in start_thread (arg=0x7f003aab7700) at pthread_create.c:312
#9  0x00007f0116a7230d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f011717f7c0 (LWP 4595)):
[KCrash Handler]
#6  0x00007f00655e47b0 in KScreen::Output::id() const () from /usr/lib/libkscreen.so.1
#7  0x00007f00653c2874 in XRandRConfig::toKScreenConfig() const () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#8  0x00007f00653bf491 in XRandR::config() const () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#9  0x00007f00655e0b89 in KScreen::Config::current() () from /usr/lib/libkscreen.so.1
#10 0x00007f00657f98de in KScreenApplet::slotConfigurationChanged (this=0x25723c0) at /build/buildd/kscreen-1.0.2.1/plasma/kscreenapplet.cpp:265
#11 0x00007f00657fb1dd in KScreenApplet::qt_static_metacall (_o=0x25723c0, _c=3503432520, _id=52194049, _a=0x2e1cd48) at /build/buildd/kscreen-1.0.2.1/obj-x86_64-linux-gnu/plasma/kscreenapplet.moc:72
#12 0x00007f011362187a in QMetaObject::activate (sender=0x337dbb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#13 0x00007f00655e3335 in KScreen::ConfigMonitor::configurationChanged() () from /usr/lib/libkscreen.so.1
#14 0x00007f00655e315a in KScreen::ConfigMonitor::notifyUpdate() () from /usr/lib/libkscreen.so.1
#15 0x00007f00653bf3b7 in XRandR::updateOutput(unsigned long) () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#16 0x00007f00653bfcb5 in XRandR::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#17 0x00007f011362187a in QMetaObject::activate (sender=0x33a9a90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd0d22760) at kernel/qobject.cpp:3539
#18 0x00007f00653c20cb in XRandRX11Helper::outputChanged(unsigned long) () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#19 0x00007f00653c1ab4 in XRandRX11Helper::x11Event(_XEvent*) () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#20 0x00007f01142f8eb8 in publicX11Event (e=0x7fffd0d22910, this=<optimized out>) at ../../kdeui/kernel/ksystemeventfilter.cpp:43
#21 KSystemEventFilterPrivate::filterEvent (this=0x24441e0, message=0x7fffd0d22910) at ../../kdeui/kernel/ksystemeventfilter.cpp:102
#22 0x00007f01135ff35e in QAbstractEventDispatcher::filterEvent (this=0x0, message=0x7fffd0d22348, message@entry=0x7fffd0d22910) at kernel/qabstracteventdispatcher.cpp:542
#23 0x00007f0112a48a30 in x11EventSourceDispatch (s=0x2429400, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:143
#24 0x00007f0109fbfe04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f0109fc0048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f0109fc00ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f011363a7a1 in QEventDispatcherGlib::processEvents (this=0x242caf0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#28 0x00007f0112a48bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f011360c0af in QEventLoop::processEvents (this=this@entry=0x7fffd0d22ce0, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007f011360c3a5 in QEventLoop::exec (this=this@entry=0x7fffd0d22ce0, flags=...) at kernel/qeventloop.cpp:204
#31 0x00007f0113611b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#32 0x00007f01129a537c in QApplication::exec () at kernel/qapplication.cpp:3828
#33 0x00007f0116d7967c in kdemain (argc=1, argv=0x7fffd0d22f38) at ../../../../plasma/desktop/shell/main.cpp:126
#34 0x00007f0116998ec5 in __libc_start_main (main=0x4006e0 <main(int, char**)>, argc=1, argv=0x7fffd0d22f38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffd0d22f28) at libc-start.c:287
#35 0x000000000040070e in _start ()

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

Possible duplicates by query: bug 335646, bug 334947.

Reported using DrKonqi
Comment 1 Christoph Feck 2014-07-07 16:13:02 UTC

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