Bug 315797

Summary: KDE 4.10 plasma desktop segfaults at login
Product: [Unmaintained] plasma4 Reporter: michael.armbrecht
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: anton.aylward
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description michael.armbrecht 2013-02-26 09:56:55 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.10.00 "release 550"
Qt Version: 4.8.4
Operating System: Linux 3.4.28-2.20-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

-- Information about the crash:
Upgraded Lenovo ThinkPad Edge E530 from KDE 4.8.5 to 4.10 (OpenSuSE 12.2).
Upon KDE Startup (after login) the plasma desktop segfaults. This happens both in normal and in safe mode.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f3450a17700 (LWP 3050)):
#0  0x00007f346dca68f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3462522247 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f346282f640 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f3462522279 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f346dca2e0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007f346ca1c2cd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f34484bf700 (LWP 3051)):
#0  0x00007f346ca1414f in poll () from /lib64/libc.so.6
#1  0x00007f3469765684 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f34697657a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f346e063136 in QEventDispatcherGlib::processEvents (this=0x7f34400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f346e03394f in QEventLoop::processEvents (this=this@entry=0x7f34484bedd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f346e033bd8 in QEventLoop::exec (this=0x7f34484bedd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f346df360b0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007f346e0140bf in QInotifyFileSystemWatcherEngine::run (this=0x3e53200) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f346df3908c in QThreadPrivate::start (arg=0x3e53200) at thread/qthread_unix.cpp:338
#9  0x00007f346dca2e0e in start_thread () from /lib64/libpthread.so.0
#10 0x00007f346ca1c2cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f346f3dd780 (LWP 3049)):
[KCrash Handler]
#6  0x00007f34645ec751 in Plasma::PopupAppletPrivate::popupConstraintsEvent (this=0x3eefd60, constraints=...) at /usr/src/debug/kdelibs-4.10.0/plasma/popupapplet.cpp:241
#7  0x00007f34645980f8 in Plasma::Applet::flushPendingConstraintsEvents (this=0x3fd62f0) at /usr/src/debug/kdelibs-4.10.0/plasma/applet.cpp:1361
#8  0x00007f3451b49536 in SystemTray::PlasmoidTask::forwardConstraintsEvent (this=0x3fd62f0, constraints=<error reading variable: Cannot access memory at address 0x2>) at /usr/src/debug/kde-workspace-4.10.0/plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtask.cpp:126
#9  0x00007f3451b47d64 in SystemTray::PlasmoidProtocol::forwardConstraintsEvent (this=0x2516140, constraints=..., host=0x24e4110) at /usr/src/debug/kde-workspace-4.10.0/plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtaskprotocol.cpp:54
#10 0x00007f3451b407e9 in SystemTray::Manager::forwardConstraintsEvent (this=<optimized out>, constraints=..., host=<optimized out>) at /usr/src/debug/kde-workspace-4.10.0/plasma/generic/applets/systemtray/core/manager.cpp:99
#11 0x00007f3451b4f3f9 in SystemTray::Applet::constraintsEvent (this=0x24e4110, constraints=...) at /usr/src/debug/kde-workspace-4.10.0/plasma/generic/applets/systemtray/ui/applet.cpp:360
#12 0x00007f3464598110 in Plasma::Applet::flushPendingConstraintsEvents (this=0x24e4110) at /usr/src/debug/kdelibs-4.10.0/plasma/applet.cpp:1365
#13 0x00007f34645a6aa2 in Plasma::ContainmentPrivate::initApplets (this=0x24d0790) at /usr/src/debug/kdelibs-4.10.0/plasma/containment.cpp:482
#14 0x00007f34645ba51b in Plasma::CoronaPrivate::importLayout (this=0x20555f0, conf=..., mergeConfig=mergeConfig@entry=false) at /usr/src/debug/kdelibs-4.10.0/plasma/corona.cpp:1067
#15 0x00007f34645bb174 in Plasma::Corona::loadLayout (this=this@entry=0x206fd60, configName=...) at /usr/src/debug/kdelibs-4.10.0/plasma/corona.cpp:278
#16 0x00007f34645bb23c in Plasma::Corona::initializeLayout (this=0x206fd60, configName=...) at /usr/src/debug/kdelibs-4.10.0/plasma/corona.cpp:181
#17 0x00007f345bf1f1a3 in PlasmaApp::corona (this=this@entry=0x1f1d500, createIfMissing=createIfMissing@entry=true) at /usr/src/debug/kde-workspace-4.10.0/plasma/desktop/shell/plasmaapp.cpp:850
#18 0x00007f345bf1f4ed in PlasmaApp::setupDesktop (this=0x1f1d500) at /usr/src/debug/kde-workspace-4.10.0/plasma/desktop/shell/plasmaapp.cpp:312
#19 0x00007f345bf2099a in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kde-workspace-4.10.0/build/plasma/desktop/shell/plasmaapp.moc:125
#20 PlasmaApp::qt_static_metacall (_o=0x1f1d500, _c=QMetaObject::WriteProperty, _id=1831759471, _a=0x4046190) at /usr/src/debug/kde-workspace-4.10.0/build/plasma/desktop/shell/plasmaapp.moc:101
#21 0x00007f346e0495de in QObject::event (this=0x1f1d500, e=<optimized out>) at kernel/qobject.cpp:1203
#22 0x00007f346d1c4964 in QApplication::event (this=0x1f1d500, e=0x20881e0) at kernel/qapplication.cpp:2544
#23 0x00007f346d1c285c in QApplicationPrivate::notify_helper (this=this@entry=0x1f24b50, receiver=receiver@entry=0x1f1d500, e=e@entry=0x20881e0) at kernel/qapplication.cpp:4562
#24 0x00007f346d1c6cda in QApplication::notify (this=0x1f1d500, receiver=0x1f1d500, e=0x20881e0) at kernel/qapplication.cpp:4423
#25 0x00007f346edd6a96 in KApplication::notify (this=0x1f1d500, receiver=0x1f1d500, event=0x20881e0) at /usr/src/debug/kdelibs-4.10.0/kdeui/kernel/kapplication.cpp:311
#26 0x00007f346e034bfe in QCoreApplication::notifyInternal (this=0x1f1d500, receiver=receiver@entry=0x1f1d500, event=event@entry=0x20881e0) at kernel/qcoreapplication.cpp:946
#27 0x00007f346e038561 in sendEvent (event=0x20881e0, receiver=0x1f1d500) at kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1e4f2b0) at kernel/qcoreapplication.cpp:1570
#29 0x00007f346e062f83 in sendPostedEvents () at kernel/qcoreapplication.h:236
#30 postEventSourceDispatch (s=0x1f20b90) at kernel/qeventdispatcher_glib.cpp:279
#31 0x00007f34697653b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f34697656e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f34697657a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f346e063116 in QEventDispatcherGlib::processEvents (this=0x1ef5f80, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007f346d262bee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f346e03394f in QEventLoop::processEvents (this=this@entry=0x7fffe0dfa6b0, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f346e033bd8 in QEventLoop::exec (this=0x7fffe0dfa6b0, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007f346e038878 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#39 0x00007f345bf07701 in kdemain (argc=1, argv=0x1e54710) at /usr/src/debug/kde-workspace-4.10.0/plasma/desktop/shell/main.cpp:126
#40 0x0000000000408856 in _start ()

Possible duplicates by query: bug 315481, bug 315457, bug 314771, bug 314555, bug 314541.

Reported using DrKonqi
Comment 1 michael.armbrecht 2013-02-26 10:20:31 UTC
Workaround as in https://bugs.kde.org/show_bug.cgi?id=312075

*** This bug has been marked as a duplicate of bug 312075 ***
Comment 2 Anton Aylward 2013-02-26 13:07:40 UTC
Created attachment 77591 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.10.00 "release 550" using Qt 4.8.4

- What I was doing when the application crashed:

This crash hapens at login
OpenSuse 12.2  KDE 4.10

-- Backtrace (Reduced):
#7  0xb47930c7 in Plasma::PopupAppletPrivate::popupConstraintsEvent (this=0x9369cc0, constraints=...) at /usr/src/debug/kdelibs-4.10.0/plasma/popupapplet.cpp:241
#8  0xb4735c4e in flushPendingConstraintsEvents (this=0x91ab3b8) at /usr/src/debug/kdelibs-4.10.0/plasma/applet.cpp:1361
#9  Plasma::Applet::flushPendingConstraintsEvents (this=0x91ab3b8) at /usr/src/debug/kdelibs-4.10.0/plasma/applet.cpp:1204
#10 0xb03795f1 in SystemTray::PlasmoidTask::forwardConstraintsEvent (this=0x936a0b8, constraints=...) at /usr/src/debug/kde-workspace-4.10.0/plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtask.cpp:126
#11 0xb0377c05 in SystemTray::PlasmoidProtocol::forwardConstraintsEvent (this=0x8de9f50, constraints=..., host=0x8e26100) at /usr/src/debug/kde-workspace-4.10.0/plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtaskprotocol.cpp:54