Bug 336925

Summary: Plasma crashes after using KScreen to arrange screens and set primary
Product: [Plasma] KScreen Reporter: Alexander Nolting <a.nolting>
Component: commonAssignee: Alex Fiestas <afiestas>
Status: RESOLVED DUPLICATE    
Severity: crash CC: dvratil
Priority: NOR Keywords: drkonqi
Version: 1.0.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexander Nolting 2014-07-01 08:18:33 UTC
Application: plasma-desktop (4.11.10)
KDE Platform Version: 4.13.2
Qt Version: 4.8.6
Operating System: Linux 3.15.1-35.g3289da4-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

-- Information about the crash:
Plasma crashes using KScreen for arranging Displays and set primary

-- Backtrace:
Application: Plasma-Desktop-Umgebung (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0b98e6e780 (LWP 1539))]

Thread 5 (Thread 0x7f0b6be87700 (LWP 1540)):
#0  0x00007f0b9773a0af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f0b89af177b in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f0b89deff00 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f0b89af17b9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f0b977360db in start_thread () from /lib64/libpthread.so.0
#4  0x00007f0b9649990d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f0ae098d700 (LWP 1543)):
#0  0x00007f0b97739560 in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007f0b935e5a11 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f0b935a3a69 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f0b935a3f9b in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f0b935a410c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f0b97afc8fe in QEventDispatcherGlib::processEvents (this=0x7f0ad80008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:451
#6  0x00007f0b97ace79f in QEventLoop::processEvents (this=this@entry=0x7f0ae098ce20, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f0b97acea95 in QEventLoop::exec (this=this@entry=0x7f0ae098ce20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f0b979cb2ff in QThread::exec (this=this@entry=0x3a85610) at thread/qthread.cpp:538
#9  0x00007f0b97aaffa3 in QInotifyFileSystemWatcherEngine::run (this=0x3a85610) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f0b979cd9cf in QThreadPrivate::start (arg=0x3a85610) at thread/qthread_unix.cpp:349
#11 0x00007f0b977360db in start_thread () from /lib64/libpthread.so.0
#12 0x00007f0b9649990d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f0ad404e700 (LWP 1544)):
#0  0x00007f0b977395b4 in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007f0b935e5a11 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f0b935a3690 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f0b935a3f23 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f0b935a410c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f0b97afc8fe in QEventDispatcherGlib::processEvents (this=0x7f0acc0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:451
#6  0x00007f0b97ace79f in QEventLoop::processEvents (this=this@entry=0x7f0ad404de20, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f0b97acea95 in QEventLoop::exec (this=this@entry=0x7f0ad404de20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f0b979cb2ff in QThread::exec (this=this@entry=0x3e8a810) at thread/qthread.cpp:538
#9  0x00007f0b97aaffa3 in QInotifyFileSystemWatcherEngine::run (this=0x3e8a810) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f0b979cd9cf in QThreadPrivate::start (arg=0x3e8a810) at thread/qthread_unix.cpp:349
#11 0x00007f0b977360db in start_thread () from /lib64/libpthread.so.0
#12 0x00007f0b9649990d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f0ac9fd1700 (LWP 1553)):
#0  0x00007fff959fe967 in clock_gettime ()
#1  0x00007f0b964a6a0d in clock_gettime () from /lib64/libc.so.6
#2  0x00007f0b97a221c7 in do_gettime (frac=0x7f0ac9fd0c00, sec=0x7f0ac9fd0bf8) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x00007f0b97afdce9 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f0ac4002f30) at kernel/qeventdispatcher_unix.cpp:354
#5  0x00007f0b97afcb87 in timerSourceCheckHelper (src=0x7f0ac4002ed0) at kernel/qeventdispatcher_glib.cpp:157
#6  0x00007f0b935a3a71 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#7  0x00007f0b935a3f9b in ?? () from /usr/lib64/libglib-2.0.so.0
#8  0x00007f0b935a410c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f0b97afc8fe in QEventDispatcherGlib::processEvents (this=0x7f0ac40008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:451
#10 0x00007f0b97ace79f in QEventLoop::processEvents (this=this@entry=0x7f0ac9fd0e20, flags=...) at kernel/qeventloop.cpp:149
#11 0x00007f0b97acea95 in QEventLoop::exec (this=this@entry=0x7f0ac9fd0e20, flags=...) at kernel/qeventloop.cpp:204
#12 0x00007f0b979cb2ff in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#13 0x00007f0ad00d7297 in KCupsConnection::run() () from /usr/lib64/libkcupslib.so
#14 0x00007f0b979cd9cf in QThreadPrivate::start (arg=0x532d170) at thread/qthread_unix.cpp:349
#15 0x00007f0b977360db in start_thread () from /lib64/libpthread.so.0
#16 0x00007f0b9649990d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f0b98e6e780 (LWP 1539)):
[KCrash Handler]
#6  KScreen::Output::id (this=0x0) at /usr/src/debug/libkscreen-1.0.4/src/output.cpp:151
#7  0x00007f0ad77a8038 in XRandRConfig::toKScreenConfig (this=0x3ac8170) at /usr/src/debug/libkscreen-1.0.4/backends/xrandr/xrandrconfig.cpp:128
#8  0x00007f0ad7bd2fde in ?? () from /usr/lib64/kde4/plasma_applet_kscreen.so
#9  0x00007f0ad7bd486d in ?? () from /usr/lib64/kde4/plasma_applet_kscreen.so
#10 0x00007f0b97ae3978 in QMetaObject::activate (sender=0x2702ff0, m=m@entry=0x7f0ad7bc9980 <KScreen::ConfigMonitor::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3576
#11 0x00007f0ad79c1070 in KScreen::ConfigMonitor::configurationChanged (this=<optimized out>) at /usr/src/debug/libkscreen-1.0.4/build/src/configmonitor.moc:103
#12 0x00007f0ad79c12b6 in KScreen::ConfigMonitor::notifyUpdate (this=<optimized out>) at /usr/src/debug/libkscreen-1.0.4/src/configmonitor.cpp:98
#13 0x00007f0ad77a5642 in XRandR::updateOutput (this=<optimized out>, output=585) at /usr/src/debug/libkscreen-1.0.4/backends/xrandr/xrandr.cpp:130
#14 0x00007f0b97ae3978 in QMetaObject::activate (sender=sender@entry=0x3ae2260, m=m@entry=0x7f0ad79b5980 <XRandRX11Helper::staticMetaObject>, local_signal_index=<optimized out>, argv=0x7fff959b9410) at kernel/qobject.cpp:3576
#15 0x00007f0ad77a6ce7 in outputChanged (_t1=<optimized out>, this=<optimized out>) at /usr/src/debug/libkscreen-1.0.4/build/backends/xrandr/xrandrx11helper.moc:119
#16 XRandRX11Helper::x11Event (this=0x3ae2260, event=0x7fff959b9510) at /usr/src/debug/libkscreen-1.0.4/backends/xrandr/xrandrx11helper.cpp:147
#17 0x00007f0b9889a958 in publicX11Event (e=0x7fff959b9510, this=<optimized out>) at /usr/src/debug/kdelibs-4.13.2/kdeui/kernel/ksystemeventfilter.cpp:43
#18 KSystemEventFilterPrivate::filterEvent (this=0x2804200, message=0x7fff959b9510) at /usr/src/debug/kdelibs-4.13.2/kdeui/kernel/ksystemeventfilter.cpp:102
#19 0x00007f0b97ac1a4e in QAbstractEventDispatcher::filterEvent (this=0x0, message=0x5776220, message@entry=0x7fff959b9510) at kernel/qabstracteventdispatcher.cpp:542
#20 0x00007f0b96ce4930 in x11EventSourceDispatch (s=0x2651580, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:143
#21 0x00007f0b935a3e24 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f0b935a4068 in ?? () from /usr/lib64/libglib-2.0.so.0
#23 0x00007f0b935a410c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f0b97afc8e1 in QEventDispatcherGlib::processEvents (this=0x26524a0, flags=...) at kernel/qeventdispatcher_glib.cpp:449
#25 0x00007f0b96ce4ab6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007f0b97ace79f in QEventLoop::processEvents (this=this@entry=0x7fff959b98e0, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007f0b97acea95 in QEventLoop::exec (this=this@entry=0x7fff959b98e0, flags=...) at kernel/qeventloop.cpp:204
#28 0x00007f0b97ad3d5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#29 0x00007f0b96c461ac in QApplication::exec () at kernel/qapplication.cpp:3823
#30 0x00007f0b80d3ec6c in kdemain (argc=1, argv=0x25e1f50) at /usr/src/debug/kde-workspace-4.11.10/plasma/desktop/shell/main.cpp:126
#31 0x000000000040879e in _start ()

Possible duplicates by query: bug 336347, bug 335369.

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-07-02 01:12:49 UTC

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