Bug 335040 - Crash when attaching a second monitor
Summary: Crash when attaching a second monitor
Status: RESOLVED DUPLICATE of bug 323923
Alias: None
Product: KScreen
Classification: Plasma
Component: kded (show other bugs)
Version: 1.0.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Alex Fiestas
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-05-19 17:30 UTC by Dima Ryazanov
Modified: 2014-05-19 20:25 UTC (History)
2 users (show)

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 Dima Ryazanov 2014-05-19 17:30:21 UTC
Application: kded4 (4.13.0)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-27-generic x86_64
Distribution: Ubuntu 14.04 LTS

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

I attached a second monitor and resumed my laptop from suspend. When I unlocked the screen, I saw the crash report.

This looks like bug 334947 - except that it's marked as a duplicate of a bug that's supposed to be fixed in the version of kscreen I already have, 1.0.2.

-- Backtrace:
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 0x7f420158a7c0 (LWP 1910))]

Thread 6 (Thread 0x7f41e517a700 (LWP 1913)):
#0  0x00007f41fc5d5569 in __GI___pthread_mutex_lock (mutex=0x7f41e0000a60) at ../nptl/pthread_mutex_lock.c:125
#1  0x00007f41fbf32991 in g_mutex_lock (mutex=mutex@entry=0x7f41e00009a0) at /build/buildd/glib2.0-2.40.0/./glib/gthread-posix.c:209
#2  0x00007f41fbef0a6c in g_main_context_check (context=context@entry=0x7f41e00009a0, max_priority=2147483647, fds=fds@entry=0x7f41e0003290, n_fds=n_fds@entry=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3577
#3  0x00007f41fbef0f7b in g_main_context_iterate (context=context@entry=0x7f41e00009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3731
#4  0x00007f41fbef10ec in g_main_context_iteration (context=0x7f41e00009a0, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#5  0x00007f420022c7be in QEventDispatcherGlib::processEvents (this=0x7f41e00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f42001fe0af in QEventLoop::processEvents (this=this@entry=0x7f41e5179e20, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f42001fe3a5 in QEventLoop::exec (this=this@entry=0x7f41e5179e20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f42000fac5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#9  0x00007f42000fd32f in QThreadPrivate::start (arg=0x2296d70) at thread/qthread_unix.cpp:349
#10 0x00007f41fc5d3182 in start_thread (arg=0x7f41e517a700) at pthread_create.c:312
#11 0x00007f41fee0030d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f41dc241700 (LWP 1920)):
#0  0x00007f41fedf2fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f41fbef0fe4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f41d4003280, timeout=-1, context=0x7f41d40009a0) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:4028
#2  g_main_context_iterate (context=context@entry=0x7f41d40009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3729
#3  0x00007f41fbef10ec in g_main_context_iteration (context=0x7f41d40009a0, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#4  0x00007f420022c7be in QEventDispatcherGlib::processEvents (this=0x7f41d40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f42001fe0af in QEventLoop::processEvents (this=this@entry=0x7f41dc240de0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f42001fe3a5 in QEventLoop::exec (this=this@entry=0x7f41dc240de0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f42000fac5f in QThread::exec (this=this@entry=0x22ed7c0) at thread/qthread.cpp:537
#8  0x00007f42001df823 in QInotifyFileSystemWatcherEngine::run (this=0x22ed7c0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f42000fd32f in QThreadPrivate::start (arg=0x22ed7c0) at thread/qthread_unix.cpp:349
#10 0x00007f41fc5d3182 in start_thread (arg=0x7f41dc241700) at pthread_create.c:312
#11 0x00007f41fee0030d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f41c3393700 (LWP 1950)):
#0  0x00007f41fbeee3d2 in g_source_iter_next (iter=iter@entry=0x7f41c3392c30, source=source@entry=0x7f41c3392c28) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:894
#1  0x00007f41fbef062b in g_main_context_prepare (context=context@entry=0x7f41b00009a0, priority=priority@entry=0x7f41c3392ca8) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3330
#2  0x00007f41fbef0f03 in g_main_context_iterate (context=context@entry=0x7f41b00009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3714
#3  0x00007f41fbef10ec in g_main_context_iteration (context=0x7f41b00009a0, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#4  0x00007f420022c7be in QEventDispatcherGlib::processEvents (this=0x7f41b00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f42001fe0af in QEventLoop::processEvents (this=this@entry=0x7f41c3392de0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f42001fe3a5 in QEventLoop::exec (this=this@entry=0x7f41c3392de0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f42000fac5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#8  0x00007f41de697027 in KCupsConnection::run() () from /usr/lib/libkcupslib.so
#9  0x00007f42000fd32f in QThreadPrivate::start (arg=0x22b56f0) at thread/qthread_unix.cpp:349
#10 0x00007f41fc5d3182 in start_thread (arg=0x7f41c3393700) at pthread_create.c:312
#11 0x00007f41fee0030d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f41c2b92700 (LWP 1951)):
#0  g_main_context_prepare (context=context@entry=0x7f41a80009a0, priority=priority@entry=0x7f41c2b91ce8) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3330
#1  0x00007f41fbef0f03 in g_main_context_iterate (context=context@entry=0x7f41a80009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3714
#2  0x00007f41fbef10ec in g_main_context_iteration (context=0x7f41a80009a0, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#3  0x00007f420022c7be in QEventDispatcherGlib::processEvents (this=0x7f41a80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f42001fe0af in QEventLoop::processEvents (this=this@entry=0x7f41c2b91e20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f42001fe3a5 in QEventLoop::exec (this=this@entry=0x7f41c2b91e20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f42000fac5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#7  0x00007f42000fd32f in QThreadPrivate::start (arg=0x26f8ad0) at thread/qthread_unix.cpp:349
#8  0x00007f41fc5d3182 in start_thread (arg=0x7f41c2b92700) at pthread_create.c:312
#9  0x00007f41fee0030d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f41d93d1700 (LWP 3517)):
#0  g_mutex_get_impl (mutex=0x7f41bc0030e0) at /build/buildd/glib2.0-2.40.0/./glib/gthread-posix.c:122
#1  0x00007f41fbf329b9 in g_mutex_unlock (mutex=mutex@entry=0x7f41bc0030e0) at /build/buildd/glib2.0-2.40.0/./glib/gthread-posix.c:228
#2  0x00007f41fbef0e9d in g_main_context_iterate (context=context@entry=0x7f41bc0030e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3682
#3  0x00007f41fbef10ec in g_main_context_iteration (context=0x7f41bc0030e0, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#4  0x00007f420022c7be in QEventDispatcherGlib::processEvents (this=0x7f41bc003000, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f42001fe0af in QEventLoop::processEvents (this=this@entry=0x7f41d93d0de0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f42001fe3a5 in QEventLoop::exec (this=this@entry=0x7f41d93d0de0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f42000fac5f in QThread::exec (this=this@entry=0x403c9e0) at thread/qthread.cpp:537
#8  0x00007f42001df823 in QInotifyFileSystemWatcherEngine::run (this=0x403c9e0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f42000fd32f in QThreadPrivate::start (arg=0x403c9e0) at thread/qthread_unix.cpp:349
#10 0x00007f41fc5d3182 in start_thread (arg=0x7f41d93d1700) at pthread_create.c:312
#11 0x00007f41fee0030d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f420158a7c0 (LWP 1910)):
[KCrash Handler]
#6  0x00007f41df7b17b0 in KScreen::Output::id() const () from /usr/lib/libkscreen.so.1
#7  0x00007f41df36f874 in XRandRConfig::toKScreenConfig() const () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#8  0x00007f41df36c491 in XRandR::config() const () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#9  0x00007f41df7adb89 in KScreen::Config::current() () from /usr/lib/libkscreen.so.1
#10 0x00007f41df9c8149 in Serializer::currentId () at /build/buildd/kscreen-1.0.2.1/kded/serializer.cpp:40
#11 0x00007f41df9c8672 in Serializer::configExists () at /build/buildd/kscreen-1.0.2.1/kded/serializer.cpp:61
#12 0x00007f41df9c7532 in KScreenDaemon::applyConfig (this=0x22a0420) at /build/buildd/kscreen-1.0.2.1/kded/daemon.cpp:93
#13 0x00007f420021387a in QMetaObject::activate (sender=0x22ab6b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#14 0x00007f41df7b2ac5 in KScreen::Output::isConnectedChanged() () from /usr/lib/libkscreen.so.1
#15 0x00007f41df7b200b in KScreen::Output::setConnected(bool) () from /usr/lib/libkscreen.so.1
#16 0x00007f41df37a016 in XRandROutput::updateKScreenOutput(KScreen::Output*) const () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#17 0x00007f41df36fa96 in XRandRConfig::updateKScreenConfig(KScreen::Config*) const () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#18 0x00007f41df36c5ac in XRandR::updateConfig(KScreen::Config*) const () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#19 0x00007f41df7afe2d in KScreen::ConfigMonitor::Private::updateConfigs() () from /usr/lib/libkscreen.so.1
#20 0x00007f41df7b014e in KScreen::ConfigMonitor::notifyUpdate() () from /usr/lib/libkscreen.so.1
#21 0x00007f41df36c3b7 in XRandR::updateOutput(unsigned long) () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#22 0x00007f41df36ccb5 in XRandR::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#23 0x00007f420021387a in QMetaObject::activate (sender=0x22a4c60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2db14d40) at kernel/qobject.cpp:3539
#24 0x00007f41df36f0cb in XRandRX11Helper::outputChanged(unsigned long) () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#25 0x00007f41df36eab4 in XRandRX11Helper::x11Event(_XEvent*) () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#26 0x00007f4200fa4d48 in publicX11Event (e=0x7fff2db14ef0, this=<optimized out>) at ../../kdeui/kernel/ksystemeventfilter.cpp:43
#27 KSystemEventFilterPrivate::filterEvent (this=0x2296270, message=0x7fff2db14ef0) at ../../kdeui/kernel/ksystemeventfilter.cpp:102
#28 0x00007f42001f135e in QAbstractEventDispatcher::filterEvent (this=0x0, message=0x7fff2db146e8, message@entry=0x7fff2db14ef0) at kernel/qabstracteventdispatcher.cpp:542
#29 0x00007f41ff63aa30 in x11EventSourceDispatch (s=0x209fd20, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:143
#30 0x00007f41fbef0e04 in g_main_dispatch (context=0x209ea00) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3064
#31 g_main_context_dispatch (context=context@entry=0x209ea00) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3663
#32 0x00007f41fbef1048 in g_main_context_iterate (context=context@entry=0x209ea00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3734
#33 0x00007f41fbef10ec in g_main_context_iteration (context=0x209ea00, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#34 0x00007f420022c7a1 in QEventDispatcherGlib::processEvents (this=0x20066d0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#35 0x00007f41ff63abb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f42001fe0af in QEventLoop::processEvents (this=this@entry=0x7fff2db152c0, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f42001fe3a5 in QEventLoop::exec (this=this@entry=0x7fff2db152c0, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007f4200203b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#39 0x00007f41ff59737c in QApplication::exec () at kernel/qapplication.cpp:3828
#40 0x00007f41eaa15d1b in kdemain (argc=1, argv=0x2054c60) at ../../kded/kded.cpp:940
#41 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
#42 0x00000000004059a3 in main (argc=4, argv=<optimized out>, envp=0x7fff2db15b50) at ../../kinit/kinit.cpp:1853

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

Possible duplicates by query: bug 334947.

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-05-19 20:25:37 UTC

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