Bug 233553 - Plasma desktop crashes on startup
Summary: Plasma desktop crashes on startup
Status: RESOLVED NOT A BUG
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-07 00:19 UTC by Oliver Zimmermann
Modified: 2010-04-17 14:10 UTC (History)
2 users (show)

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 Oliver Zimmermann 2010-04-07 00:19:44 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.2 (KDE 4.4.2) "release 234"
Qt Version: 4.6.2
Operating System: Linux 2.6.31.12-0.2-desktop i686
Distribution: "openSUSE 11.2 (i586)"

-- Information about the crash:
The plasma desktop crashes on every startup since the last update. Operability regained by deleting files plasm* in ~/.kde/share/config

The crash can be reproduced every time.

 -- Backtrace:
Application: Plasma-Arbeitsfläche (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb54f1700 (LWP 19627))]

Thread 3 (Thread 0xa640bb70 (LWP 19630)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6aa30c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:179
#2  0xb6b1a09c in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:85
#3  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#4  0xb6b0e88e in QThreadPoolThread::run (this=0x857a518) at concurrent/qthreadpool.cpp:140
#5  0xb6b190bf in QThreadPrivate::start (arg=0x857a518) at thread/qthread_unix.cpp:248
#6  0xb6a9e6e5 in start_thread (arg=0x0) at pthread_create.c:297
#7  0xb6a9e600 in ?? () at pthread_create.c:216 from /lib/libpthread.so.0

Thread 2 (Thread 0xa52b5b70 (LWP 19633)):
#0  0xb6aa2104 in __pthread_mutex_unlock_usercnt (mutex=0x8834434, decr=<value optimized out>) at pthread_mutex_unlock.c:52
#1  0xb58a4c38 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0xb58a4ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0xb6c4f97f in QEventDispatcherGlib::processEvents (this=0x87ddaf0, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#4  0xb6c2144d in QEventLoop::processEvents (this=0xa52b52d0, flags=) at kernel/qeventloop.cpp:149
#5  0xb6c21899 in QEventLoop::exec (this=0xa52b52d0, flags=...) at kernel/qeventloop.cpp:201
#6  0xb6b16270 in QThread::exec (this=0x8838f58) at thread/qthread.cpp:487
#7  0xb6bffcad in QInotifyFileSystemWatcherEngine::run (this=0x8838f58) at io/qfilesystemwatcher_inotify.cpp:248
#8  0xb6b190bf in QThreadPrivate::start (arg=0x8838f58) at thread/qthread_unix.cpp:248
#9  0xb6a9e6e5 in start_thread (arg=0x0) at pthread_create.c:297
#10 0xb6a9e600 in ?? () at pthread_create.c:216 from /lib/libpthread.so.0

Thread 1 (Thread 0xb54f1700 (LWP 19627)):
[KCrash Handler]
#6  0xb528abb0 in Plasma::Svg::paint (this=0x0, painter=0xbfd1775c, rect=..., elementID=...) at /usr/src/debug/kdelibs-4.4.2/plasma/svg.cpp:470
#7  0xa6839a48 in Luna::paintInterface(QPainter*, QStyleOptionGraphicsItem const*, QRect const&) () from /usr/lib/kde4/plasma_applet_luna2.so
#8  0xb51bd0ea in Plasma::Applet::paint (this=0x85231e0, painter=0xbfd1775c, option=0x8133208, widget=0x0) at /usr/src/debug/kdelibs-4.4.2/plasma/applet.cpp:1372
#9  0xb67e4e67 in _q_paintItem (item=<value optimized out>, painter=0xbfd1775c, option=0x8133208, widget=0x0, useWindowOpacity=false, painterStateProtection=true)
    at graphicsview/qgraphicsscene.cpp:4243
#10 0xb67e7a5a in _q_paintIntoCache (pix=0xbfd17d90, item=0x85231e8, pixmapExposed=..., itemToPixmap=..., renderHints=) at graphicsview/qgraphicsscene.cpp:4281
#11 0xb6801af0 in QGraphicsScenePrivate::drawItemHelper (this=0x81330a8, item=0x85231e8, painter=0xbfd18c5c, option=0x8133208, widget=0x0, painterStateProtection=true)
    at graphicsview/qgraphicsscene.cpp:4574
#12 0xb68024e5 in QGraphicsScenePrivate::draw (this=0x81330a8, item=0x85231e8, painter=0xbfd18c5c, viewTransform=0xbfd18878, transformPtr=0xbfd18150, exposedRegion=0x0, widget=0x0, opacity=1, 
    effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4827
#13 0xb6803127 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x81330a8, item=0x85231e8, painter=0xbfd18c5c, viewTransform=0xbfd18878, exposedRegion=0x0, widget=0x0, parentOpacity=1, 
    effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4749
#14 0xb680257f in QGraphicsScenePrivate::draw (this=0x81330a8, item=0x84ba470, painter=0xbfd18c5c, viewTransform=0xbfd18878, transformPtr=0xbfd18660, exposedRegion=0x0, widget=0x0, opacity=1, 
    effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4841
#15 0xb6803127 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x81330a8, item=0x84ba470, painter=0xbfd18c5c, viewTransform=0xbfd18878, exposedRegion=0x0, widget=0x0, parentOpacity=1, 
    effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4749
#16 0xb6803922 in QGraphicsScene::drawItems (this=0x8135b50, painter=0xbfd18c5c, numItems=6, items=0x887aa50, options=0x887c2c4, widget=0x0) at graphicsview/qgraphicsscene.cpp:5188
#17 0xb67f2834 in QGraphicsScene::render (this=0x8135b50, painter=0xbfd18c5c, target=..., source=..., aspectRatioMode=KeepAspectRatio) at graphicsview/qgraphicsscene.cpp:1753
#18 0xa68ff23e in ?? () from /usr/lib/kde4/plasma_applet_publictransport.so
#19 0xa690026a in ?? () from /usr/lib/kde4/plasma_applet_publictransport.so
#20 0xa690793f in ?? () from /usr/lib/kde4/plasma_applet_publictransport.so
#21 0xb51e866e in Plasma::Corona::loadLayout (this=0x8135b50, configName=...) at /usr/src/debug/kdelibs-4.4.2/plasma/corona.cpp:421
#22 0xb51e91a4 in Plasma::Corona::initializeLayout (this=0x8135b50, configName=...) at /usr/src/debug/kdelibs-4.4.2/plasma/corona.cpp:337
#23 0xb25e8ccb in PlasmaApp::corona (this=0x809b780) at /usr/src/debug/kdebase-workspace-4.4.2/plasma/desktop/shell/plasmaapp.cpp:684
#24 0xb25e9030 in PlasmaApp::setupDesktop (this=0x809b780) at /usr/src/debug/kdebase-workspace-4.4.2/plasma/desktop/shell/plasmaapp.cpp:276
#25 0xb25ee7dd in PlasmaApp::qt_metacall (this=0x809b780, _c=InvokeMetaMethod, _id=12, _a=0xbfd1934c) at /usr/src/debug/kdebase-workspace-4.4.2/build/plasma/desktop/shell/plasmaapp.moc:141
#26 0xb6c2814d in QMetaObject::metacall (object=0x809b780, cl=QueryPropertyUser, idx=39, argv=0xbfd1934c) at kernel/qmetaobject.cpp:237
#27 0xb6c36faa in QMetaObject::activate (sender=0x816d870, m=0xb6d38188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#28 0xb6c3ec95 in QSingleShotTimer::timeout (this=0x816d870) at .moc/release-shared/qtimer.moc:82
#29 0xb6c3edcc in QSingleShotTimer::timerEvent (this=0x816d870) at kernel/qtimer.cpp:308
#30 0xb6c33ab4 in QObject::event (this=0x816d870, e=0xbfd1732c) at kernel/qobject.cpp:1212
#31 0xb61303fc in QApplicationPrivate::notify_helper (this=0x80a1318, receiver=0x816d870, e=0xbfd198a4) at kernel/qapplication.cpp:4300
#32 0xb6137248 in QApplication::notify (this=0x809b780, receiver=0x816d870, e=0xbfd198a4) at kernel/qapplication.cpp:4183
#33 0xb6eb5c01 in KApplication::notify (this=0x809b780, receiver=0x816d870, event=0xbfd198a4) at /usr/src/debug/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#34 0xb6c22dde in QCoreApplication::notifyInternal (this=0x809b780, receiver=0x816d870, event=0xbfd198a4) at kernel/qcoreapplication.cpp:704
#35 0xb6c52ffe in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#36 QTimerInfoList::activateTimers (event=<value optimized out>, receiver=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:617
#37 0xb6c4fc62 in timerSourceDispatch (source=0x80a6a40) at kernel/qeventdispatcher_glib.cpp:184
#38 0xb58a14c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#39 0xb58a4d98 in ?? () from /usr/lib/libglib-2.0.so.0
#40 0xb58a4ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#41 0xb6c4f931 in QEventDispatcherGlib::processEvents (this=0x80a11c0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#42 0xb61f0e0a in QGuiEventDispatcherGlib::processEvents (this=0x80a11c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0xb6c2144d in QEventLoop::processEvents (this=0xbfd19b54, flags=) at kernel/qeventloop.cpp:149
#44 0xb6c21899 in QEventLoop::exec (this=0xbfd19b54, flags=...) at kernel/qeventloop.cpp:201
#45 0xb6c25a10 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#46 0xb61304a4 in QApplication::exec () at kernel/qapplication.cpp:3579
#47 0xb25df503 in kdemain (argc=1, argv=0x80984d0) at /usr/src/debug/kdebase-workspace-4.4.2/plasma/desktop/shell/main.cpp:112
#48 0x0804e4af in launch (argc=134845584, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=0, envs=0x8099490 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=
    0x8050e12 "0") at /usr/src/debug/kdelibs-4.4.2/kinit/kinit.cpp:717
#49 0x0804f147 in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at /usr/src/debug/kdelibs-4.4.2/kinit/kinit.cpp:1209
#50 0x0804f594 in handle_requests (waitForPid=<value optimized out>) at /usr/src/debug/kdelibs-4.4.2/kinit/kinit.cpp:1402
#51 0x08050347 in main (argc=4, argv=0xbfd1a5e4, envp=0xbfd1a5f8) at /usr/src/debug/kdelibs-4.4.2/kinit/kinit.cpp:1845
The current source language is "auto; currently c".

This bug may be a duplicate of or related to bug 232079.

Possible duplicates by query: bug 232079, bug 231977, bug 208661, bug 199295.

Reported using DrKonqi
Comment 1 Dario Andres 2010-04-07 14:01:23 UTC
The crash seems related to the "Luna" widget (provided by plasma_applet_luna2.so, and that "2" could indicate it is not the official luna widget ?):

#7  0xa6839a48 in Luna::paintInterface(QPainter*, QStyleOptionGraphicsItem
const*, QRect const&) () from /usr/lib/kde4/plasma_applet_luna2.so

Also, the "plasma_applet_publictransport.so" ("Public Transport"?) widget seems to be involved...

- Did you install another version of the Luna widget ? (or , could you check with OpenSuse package contains "/usr/lib/kde4/plasma_applet_luna2.so" ? )
- Does this still happen if you uninstall the Public Transport widget?

Regards
Comment 2 Oliver Zimmermann 2010-04-07 14:07:02 UTC
I had Luna2, CWP, punlic transport and comic installed. Now ist is only CWP 
and Luna2 and it works. Seems to be one of the others.
Comment 3 Dario Andres 2010-04-07 14:15:18 UTC
According to the code:

#16 0xb6803922 in QGraphicsScene::drawItems (this=0x8135b50,
painter=0xbfd18c5c, numItems=6, items=0x887aa50, options=0x887c2c4, widget=0x0)
at graphicsview/qgraphicsscene.cpp:5188
#17 0xb67f2834 in QGraphicsScene::render (this=0x8135b50, painter=0xbfd18c5c,
target=..., source=..., aspectRatioMode=KeepAspectRatio) at
graphicsview/qgraphicsscene.cpp:1753
#18 0xa68ff23e in ?? () from /usr/lib/kde4/plasma_applet_publictransport.so

The PublicTransport widget is trying to render the scene (I think only Plasma is responsible of that), and then a null widget (widget=0x0) is going to be drawn, causing the crash.

Then, we could assume the PublicTransport widget is the faulty one...
Comment 4 Jonathan Thomas 2010-04-17 14:10:40 UTC
Agreed. Please report this to the authors of the Public Transport widget at http://kde-look.org/content/show.php?content=106175
Thanks, and have a nice day.