Bug 319240

Summary: Plasma crash when pluging a second display
Product: [Unmaintained] plasma4 Reporter: romuluspb
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description romuluspb 2013-05-02 21:54:56 UTC
Application: plasma-desktop (0.4)
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 was conecting a second display to my Dell XPS L502X with kubuntu, my note work with fullHD resolution and the display is a samsunhg with 1680x1050.
The second display was configured to apear to the right of the first one.
When it showed de plasma desktop I found the misbehave of painels positions and tried to configure so, widgets where unlocked at the time, but when I tried to configure one of the panels it did not responded.
I was going to do a xkill when KDE crash report appeared.

- Unusual behavior I noticed:

When the display was detected, all pannels were aligned to the left on it, and there existed a second one on the bottom, over the first, by what I could see.

The crash can be reproduced sometimes.

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

Thread 4 (Thread 0x7fa5faede700 (LWP 2191)):
#0  0x00007fa6203c23cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fa61380a1dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa61380a304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa61cfae036 in QEventDispatcherGlib::processEvents (this=0x7fa5f40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fa61cf7e38f in QEventLoop::processEvents (this=this@entry=0x7fa5faeddd90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa61cf7e618 in QEventLoop::exec (this=this@entry=0x7fa5faeddd90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fa61ce80410 in QThread::exec (this=this@entry=0x12dd690) at thread/qthread.cpp:542
#7  0x00007fa61cf5fedf in QInotifyFileSystemWatcherEngine::run (this=0x12dd690) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007fa61ce82bec in QThreadPrivate::start (arg=0x12dd690) at thread/qthread_unix.cpp:338
#9  0x00007fa613f0cf8e in start_thread (arg=0x7fa5faede700) at pthread_create.c:311
#10 0x00007fa6203cee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fa5fa6dd700 (LWP 2192)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa619811e77 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fa619811ea9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fa613f0cf8e in start_thread (arg=0x7fa5fa6dd700) at pthread_create.c:311
#4  0x00007fa6203cee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fa5daf1c700 (LWP 2208)):
#0  0x00007fa6137df3f0 in g_ptr_array_set_size () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa61380985f in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa61380a0fe in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa61380a304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa61cfae036 in QEventDispatcherGlib::processEvents (this=0x7fa5bc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fa61cf7e38f in QEventLoop::processEvents (this=this@entry=0x7fa5daf1bd90, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fa61cf7e618 in QEventLoop::exec (this=this@entry=0x7fa5daf1bd90, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fa61ce80410 in QThread::exec (this=this@entry=0x191cc20) at thread/qthread.cpp:542
#8  0x00007fa61cf5fedf in QInotifyFileSystemWatcherEngine::run (this=0x191cc20) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007fa61ce82bec in QThreadPrivate::start (arg=0x191cc20) at thread/qthread_unix.cpp:338
#10 0x00007fa613f0cf8e in start_thread (arg=0x7fa5daf1c700) at pthread_create.c:311
#11 0x00007fa6203cee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fa620ae47c0 (LWP 2189)):
[KCrash Handler]
#6  0x00007fa62030c037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007fa62030f698 in __GI_abort () at abort.c:90
#8  0x00007fa61ce785c2 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0x2338ca8 "Fatal Error: Accessed global static 'DataEngineManagerSingleton *privateDataEngineManagerSelf()' after destruction. Defined at ../../plasma/dataenginemanager.cpp:88") at global/qglobal.cpp:2347
#9  0x00007fa61ce78938 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=0x7fa62004ae68 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=ap@entry=0x7fff866b54a8) at global/qglobal.cpp:2393
#10 0x00007fa61ce78ac4 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2576
#11 0x00007fa61fef1197 in operator-> (this=<optimized out>) at ../../plasma/dataenginemanager.cpp:88
#12 Plasma::DataEngineManager::self () at ../../plasma/dataenginemanager.cpp:92
#13 0x00007fa5d8f7ab45 in WeatherEngine::unloadIons (this=this@entry=0x252cca0) at ../../../../../plasma/generic/dataengines/weather/weatherengine.cpp:165
#14 0x00007fa5d8f7c1f3 in WeatherEngine::~WeatherEngine (this=0x252cca0, __in_chrg=<optimized out>) at ../../../../../plasma/generic/dataengines/weather/weatherengine.cpp:54
#15 0x00007fa5d8f7c219 in WeatherEngine::~WeatherEngine (this=0x252cca0, __in_chrg=<optimized out>) at ../../../../../plasma/generic/dataengines/weather/weatherengine.cpp:55
#16 0x00007fa61fef0fee in ~DataEngineManagerPrivate (this=0x110e000, __in_chrg=<optimized out>) at ../../plasma/dataenginemanager.cpp:63
#17 Plasma::DataEngineManager::~DataEngineManager (this=0x110df50, __in_chrg=<optimized out>) at ../../plasma/dataenginemanager.cpp:103
#18 0x00007fa61fef1097 in ~DataEngineManagerSingleton (this=0x110df50, __in_chrg=<optimized out>) at ../../plasma/dataenginemanager.cpp:82
#19 destroy () at ../../plasma/dataenginemanager.cpp:88
#20 0x00007fa620311121 in __run_exit_handlers (status=1, listp=0x7fa6206966a8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:77
#21 0x00007fa6203111a5 in __GI_exit (status=<optimized out>) at exit.c:99
#22 0x00007fa61c38f348 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:782
#23 0x00007fa61dc3f888 in KApplication::xioErrhandler (this=0xccdc90, dpy=0xd23e40) at ../../kdeui/kernel/kapplication.cpp:419
#24 0x00007fa61e72f6de in _XIOError (dpy=dpy@entry=0xd23e40) at ../../src/XlibInt.c:1618
#25 0x00007fa61e72d6ac in _XReply (dpy=dpy@entry=0xd23e40, rep=rep@entry=0x7fff866b5730, extra=extra@entry=0, discard=discard@entry=1) at ../../src/xcb_io.c:707
#26 0x00007fa61e728e5d in XSync (dpy=0xd23e40, discard=0) at ../../src/Sync.c:44
#27 0x00007fa61c522655 in syncX (this=0x8e39470) at painting/qwindowsurface_raster.cpp:134
#28 QRasterWindowSurface::syncX (this=0x8e39470) at painting/qwindowsurface_raster.cpp:130
#29 0x00007fa61c522a81 in QRasterWindowSurface::beginPaint (this=0x8e39470, rgn=...) at painting/qwindowsurface_raster.cpp:143
#30 0x00007fa61c53cca8 in QWidgetBackingStore::sync (this=0x21c7880) at painting/qbackingstore.cpp:1304
#31 0x00007fa61c366060 in QWidgetPrivate::syncBackingStore (this=this@entry=0x71cf490) at kernel/qwidget.cpp:1896
#32 0x00007fa61c372ee4 in QWidget::event (this=this@entry=0x7a4c540, event=event@entry=0x6abd110) at kernel/qwidget.cpp:8679
#33 0x00007fa61c725316 in QFrame::event (this=this@entry=0x7a4c540, e=e@entry=0x6abd110) at widgets/qframe.cpp:557
#34 0x00007fa61c7a58db in QAbstractScrollArea::event (this=0x7a4c540, e=0x6abd110) at widgets/qabstractscrollarea.cpp:996
#35 0x00007fa61c3258ec in QApplicationPrivate::notify_helper (this=this@entry=0xd1fc10, receiver=receiver@entry=0x7a4c540, e=e@entry=0x6abd110) at kernel/qapplication.cpp:4567
#36 0x00007fa61c32825b in QApplication::notify (this=this@entry=0xccdc90, receiver=receiver@entry=0x7a4c540, e=e@entry=0x6abd110) at kernel/qapplication.cpp:4428
#37 0x00007fa61dc43af6 in KApplication::notify (this=0xccdc90, receiver=0x7a4c540, event=0x6abd110) at ../../kdeui/kernel/kapplication.cpp:311
#38 0x00007fa61cf7f63e in QCoreApplication::notifyInternal (this=0xccdc90, receiver=receiver@entry=0x7a4c540, event=event@entry=0x6abd110) at kernel/qcoreapplication.cpp:946
#39 0x00007fa61cf83171 in sendEvent (event=0x6abd110, receiver=0x7a4c540) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=0x7a4c540, event_type=event_type@entry=77, data=0xc8c1f0) at kernel/qcoreapplication.cpp:1570
#41 0x00007fa61cf834a3 in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=event_type@entry=77) at kernel/qcoreapplication.cpp:1463
#42 0x00007fa61c9129f2 in dispatchPendingUpdateRequests (this=0x71cf490) at ../../include/QtGui/private/../../../src/gui/graphicsview/qgraphicsview_p.h:200
#43 QGraphicsScenePrivate::_q_processDirtyItems (this=0xd89330) at graphicsview/qgraphicsscene.cpp:515
#44 0x00007fa61c91fc99 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qgraphicsscene.cpp:107
#45 QGraphicsScene::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release-shared/moc_qgraphicsscene.cpp:86
#46 0x00007fa61cf995be in QObject::event (this=this@entry=0xe84b60, e=e@entry=0x6c73a00) at kernel/qobject.cpp:1194
#47 0x00007fa61c9230b9 in QGraphicsScene::event (this=0xe84b60, event=0x6c73a00) at graphicsview/qgraphicsscene.cpp:3565
#48 0x00007fa61c3258ec in QApplicationPrivate::notify_helper (this=this@entry=0xd1fc10, receiver=receiver@entry=0xe84b60, e=e@entry=0x6c73a00) at kernel/qapplication.cpp:4567
#49 0x00007fa61c32825b in QApplication::notify (this=this@entry=0xccdc90, receiver=receiver@entry=0xe84b60, e=e@entry=0x6c73a00) at kernel/qapplication.cpp:4428
#50 0x00007fa61dc43af6 in KApplication::notify (this=0xccdc90, receiver=0xe84b60, event=0x6c73a00) at ../../kdeui/kernel/kapplication.cpp:311
#51 0x00007fa61cf7f63e in QCoreApplication::notifyInternal (this=0xccdc90, receiver=receiver@entry=0xe84b60, event=event@entry=0x6c73a00) at kernel/qcoreapplication.cpp:946
#52 0x00007fa61cf83171 in sendEvent (event=0x6c73a00, receiver=0xe84b60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#53 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xc8c1f0) at kernel/qcoreapplication.cpp:1570
#54 0x00007fa61cf834a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#55 0x00007fa61cfade83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#56 postEventSourceDispatch (s=0xd1d590) at kernel/qeventdispatcher_glib.cpp:279
#57 0x00007fa613809f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007fa61380a248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007fa61380a304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007fa61cfae016 in QEventDispatcherGlib::processEvents (this=0xc8dad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#61 0x00007fa61c3cb1ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#62 0x00007fa61cf7e38f in QEventLoop::processEvents (this=this@entry=0x7fff866b6dc0, flags=...) at kernel/qeventloop.cpp:149
#63 0x00007fa61cf7e618 in QEventLoop::exec (this=this@entry=0x7fff866b6dc0, flags=...) at kernel/qeventloop.cpp:204
#64 0x00007fa61cf83cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#65 0x00007fa61c323ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#66 0x00007fa6206da46b in kdemain (argc=1, argv=0x7fff866b70b8) at ../../../../plasma/desktop/shell/main.cpp:126
#67 0x00007fa6202f6ea5 in __libc_start_main (main=0x4006e0 <main(int, char**)>, argc=1, ubp_av=0x7fff866b70b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff866b70a8) at libc-start.c:260
#68 0x0000000000400711 in _start ()

Possible duplicates by query: bug 317754, bug 307938, bug 295067, bug 286605, bug 286172.

Reported using DrKonqi
Comment 1 Christoph Feck 2013-05-03 10:48:32 UTC
XIOError, without other threads using X. Most probably a bug in X server or libraries.
Comment 2 romuluspb 2013-05-09 03:34:58 UTC
Now Im having more contact with the new system version I noticed some things clearer, maybe it can help:

.Some times Xorg start to use a core completely and system interface go slow... Need to restart session.
.All times I plug a monitor plasma-desktop becomes unresponsive and it shows, on the new screen, duplicated plasmoids, by what I can say, translated to the origin zero point of the screen (everything is to the left down)

It appear plasma try to completely set the new screen but it is frozen in the middle of the process...
Comment 3 Martin Flöser 2013-05-30 07:24:04 UTC
Thank you for this crash report and helping to improve our software. Unfortunately we were not able to work on this specific report yet. Nowadays the version this crash was reported against is no longer maintained and this makes it very difficult to work on this report as the source code might have changed and the information in the backtrace is no longer valid. 

Also it is quite likely that this problem got fixed in a later version. Crash reports are very often reported multiple times. 

If you are able to reproduce this crash with the latest version of KDE Plasma (4.10.3) please reopen this report and adjust the version information in the dropdown above and please also include a new backtrace as generated by the crash reporting tool. Please also make sure that the steps on how to reproduce the crash are precise and correct. Thank you!