Bug 166726 - Plasma crash on logout
Summary: Plasma crash on logout
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 166982 167143 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-16 14:46 UTC by BogDan Vatra
Modified: 2008-09-28 18:43 UTC (History)
6 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 BogDan Vatra 2008-07-16 14:46:15 UTC
Version:            (using KDE 4.0.98)
Installed from:    Debian testing/unstable Packages
OS:                Linux

When I try to logout or shoutdown/restart computer plasma crash 



Application: Plasma Workspace (plasma), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0x7fc8d67087c0 (LWP 3701)]
[New Thread 0x41b10950 (LWP 3713)]
[New Thread 0x40f58950 (LWP 3707)]
[KCrash handler]
#5  0x0000000001e67610 in ?? ()
#6  0x00007fc8d4968929 in QGraphicsWidget::event (this=0x1e1e910, 
    event=0x7fffde84eba0) at graphicsview/qgraphicswidget.cpp:1153
#7  0x00007fc8d4414e5d in QApplicationPrivate::notify_helper (this=0x1d5e790, 
    receiver=0x1e1e910, e=0x7fffde84eba0) at kernel/qapplication.cpp:3772
#8  0x00007fc8d441cb2a in QApplication::notify (this=0x1d54f00, 
    receiver=0x1e1e910, e=0x7fffde84eba0) at kernel/qapplication.cpp:3739
#9  0x00007fc8d591f93b in KApplication::notify (this=0x1d54f00, 
    receiver=0x1e1e910, event=0x7fffde84eba0)
    at /tmp/buildd/kde4libs-4.0.98/kdeui/kernel/kapplication.cpp:311
#10 0x00007fc8d3cf5411 in QCoreApplication::notifyInternal (this=0x1d54f00, 
    receiver=0x1e1e910, event=0x7fffde84eba0)
    at kernel/qcoreapplication.cpp:587
#11 0x00007fc8d4968cc7 in QGraphicsWidget::sceneEvent (this=0x1e1e910, 
    event=0x7fffde84eba0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#12 0x00007fc8d494761d in QGraphicsScene::setFocusItem (this=0x0, item=0x0, 
    focusReason=Qt::OtherFocusReason) at graphicsview/qgraphicsscene.cpp:2634
#13 0x00007fc8d4967a88 in ~QGraphicsWidget (this=0x1e1e910)
    at graphicsview/qgraphicswidget.cpp:218
#14 0x00007fc8c8878615 in ~LauncherApplet (this=0x1e1e910)
    at /tmp/buildd/kdebase-workspace-4.0.98/plasma/applets/kickoff/applet/applet.cpp:91
#15 0x00007fc8d5db2d4e in ~Containment (this=0x1e01b00)
    at /usr/include/qt4/QtCore/qalgorithms.h:352
#16 0x00007fc8c8c945d9 in ~Panel (this=0x1e546c0)
    at /tmp/buildd/kdebase-workspace-4.0.98/plasma/containments/panel/panel.cpp:75
#17 0x00007fc8d5dbe37e in ~Corona (this=0x1dcad90)
    at /usr/include/qt4/QtCore/qalgorithms.h:352
#18 0x00007fc8d6417af7 in ~DesktopCorona (this=0x1e546c0)
    at /tmp/buildd/kdebase-workspace-4.0.98/plasma/plasma/desktopcorona.h:36
#19 0x00007fc8d64252c6 in PlasmaApp::cleanup (this=0x1d54f00)
    at /tmp/buildd/kdebase-workspace-4.0.98/plasma/plasma/plasmaapp.cpp:257
#20 0x00007fc8d6427de0 in PlasmaApp::qt_metacall (this=0x1d54f00, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fffde84ef60)
    at /tmp/buildd/kdebase-workspace-4.0.98/obj-x86_64-linux-gnu/plasma/plasma/plasmaapp.moc:79
#21 0x00007fc8d3d09764 in QMetaObject::activate (sender=0x1d54f00, 
    from_signal_index=<value optimized out>, to_signal_index=4, 
    argv=0x7fc8d3fdc780) at kernel/qobject.cpp:3010
#22 0x00007fc8d3cf639d in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:849
#23 0x00007fc8d641b2f3 in kdemain (argc=1, argv=0x7fffde84f328)
    at /tmp/buildd/kdebase-workspace-4.0.98/plasma/plasma/main.cpp:54
#24 0x00007fc8d60c91a6 in __libc_start_main () from /lib/libc.so.6
#25 0x0000000000400629 in _start ()
#0  0x00007fc8d61491f1 in nanosleep () from /lib/libc.so.6
Comment 1 NForce 2008-07-17 09:28:14 UTC
I confirm. If i put new plasmoids on the desktop, after logout and that crash they are gone. Kubuntu 8.04.1 KDE 4.0.98
Comment 2 Aaron J. Seigo 2008-07-19 20:50:34 UTC
*** Bug 166982 has been marked as a duplicate of this bug. ***
Comment 3 Christophe Marin 2008-07-21 21:45:50 UTC
*** Bug 167143 has been marked as a duplicate of this bug. ***
Comment 4 Martin Wilke 2008-07-22 00:29:49 UTC
Dito Same under FreeBSD 
Comment 5 Martin Wilke 2008-07-22 00:30:10 UTC
*** This bug has been confirmed by popular vote. ***
Comment 6 BogDan Vatra 2008-07-30 20:08:28 UTC
same problem on kde 4.1 (debian experimental) 

AFAICS plasma crash when you play with plasmoids after you click logout.

Application: Plasma Workspace (plasma), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0x7f69a5e98780 (LWP 8122)]
[New Thread 0x42433950 (LWP 8128)]
[KCrash handler]
#5  0x0000000000000000 in ?? ()
#6  0x00007f69a4177929 in QGraphicsWidget::event (this=0x1ed73f0,
    event=0x7fffae05e3c0) at graphicsview/qgraphicswidget.cpp:1153
#7  0x00007f69a3c23e5d in QApplicationPrivate::notify_helper (this=0x1c8c130,
    receiver=0x1ed73f0, e=0x7fffae05e3c0) at kernel/qapplication.cpp:3772
#8  0x00007f69a3c2bb2a in QApplication::notify (this=0x1c83bc0,
    receiver=0x1ed73f0, e=0x7fffae05e3c0) at kernel/qapplication.cpp:3739
#9  0x00007f69a5127bfb in KApplication::notify (this=0x1c83bc0,
    receiver=0x1ed73f0, event=0x7fffae05e3c0)
    at /tmp/buildd/kde4libs-4.1.0/kdeui/kernel/kapplication.cpp:311
#10 0x00007f69a3504411 in QCoreApplication::notifyInternal (this=0x1c83bc0,
    receiver=0x1ed73f0, event=0x7fffae05e3c0)
    at kernel/qcoreapplication.cpp:587
#11 0x00007f69a4177cc7 in QGraphicsWidget::sceneEvent (this=0x1ed73f0,
    event=0x7fffae05e3c0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#12 0x00007f69a415661d in QGraphicsScene::setFocusItem (this=0x0, item=0x0,
    focusReason=Qt::OtherFocusReason) at graphicsview/qgraphicsscene.cpp:2634
#13 0x00007f69a4176a88 in ~QGraphicsWidget (this=0x1ed73f0)
    at graphicsview/qgraphicswidget.cpp:218
#14 0x00007f699886c615 in ~LauncherApplet (this=0x1ed73f0)
    at
/tmp/buildd/kdebase-workspace-4.1.0/plasma/applets/kickoff/applet/applet.cpp:91
#15 0x00007f69a55c51ae in ~Containment (this=0x1ecec60)
    at /usr/include/qt4/QtCore/qalgorithms.h:352
#16 0x00007f6998a84609 in ~Panel (this=0x1fcc620)
    at
/tmp/buildd/kdebase-workspace-4.1.0/plasma/containments/panel/panel.cpp:75
#17 0x00007f69a55ced3e in ~Corona (this=0x1d21240)
    at /usr/include/qt4/QtCore/qalgorithms.h:352
#18 0x00007f69a5c27bc7 in ~DesktopCorona (this=0x1fcc620)
    at /tmp/buildd/kdebase-workspace-4.1.0/plasma/plasma/desktopcorona.h:36
#19 0x00007f69a5c35466 in PlasmaApp::cleanup (this=0x1c83bc0)
    at /tmp/buildd/kdebase-workspace-4.1.0/plasma/plasma/plasmaapp.cpp:257
#20 0x00007f69a5c37f80 in PlasmaApp::qt_metacall (this=0x1c83bc0,
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
    _a=0x7fffae05e780)
    at
/tmp/buildd/kdebase-workspace-4.1.0/obj-x86_64-linux-gnu/plasma/plasma/plasmaapp.moc:79
#21 0x00007f69a3518764 in QMetaObject::activate (sender=0x1c83bc0,
    from_signal_index=<value optimized out>, to_signal_index=4,
    argv=0x7f69a37eb780) at kernel/qobject.cpp:3010
#22 0x00007f69a350539d in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:849
#23 0x00007f69a5c2b3c3 in kdemain (argc=1, argv=0x7fffae05eb48)
    at /tmp/buildd/kdebase-workspace-4.1.0/plasma/plasma/main.cpp:54
#24 0x00007f69a58da1a6 in __libc_start_main () from /lib/libc.so.6
#25 0x0000000000400629 in _start ()
#0  0x00007f69a595a0e1 in nanosleep () from /lib/libc.so.6
Comment 7 Alexander Vodomerov 2008-08-11 22:41:35 UTC
I observe the same bug. It happens not only on logout, but can whenever plasma exists. For example, 'kquitapp plasma' also causes it to crash.
Comment 8 Shane Richards 2008-09-02 19:16:18 UTC
I had the same problems (kde 4.1.0 / Kubuntu Hardy) and they were fixed by editing of the kdmrc file. Where that file exists varies from distro to distro, I have it as /etc/kde4/kdm/kdmrc.

Check that the following exists in kdmrc, if not, add it.


[X-*-Core]
TerminateServer=true


That should correct the crash on logout.

If it *still* hangs after logout, check that the PID file as specified in kdmrc is the same as the one found on your system. I know that in Hardy the default kdmrc has it listed as:


[General]                                                 
PidFile=/var/run/kdm-kde4.pid 


...which is incorrect. The correct line should be:


[General]                                                 
PidFile=/var/run/kdm.pid


Best way to check is to look for this file *while* running kde4.


Could the devs check that these lines are correct in SVN? If it's correct in SVN (meaning correct after installation!) then it's over to the package maintainers.
Comment 9 Gerhard Roland 2008-09-05 08:32:43 UTC
for Version 4.1.1 (KDE4.1.0(4.1>=20080722)) "release 40.1
as well
opensuse 11.0 on x86_64

Application: Plasma Workspace (plasma), signal SIGSEGV
[?1034h(no debugging symbols found)
(no debugging symbols found)
...
[Thread debugging using libthread_db enabled]
[New Thread 0x7fcb853c2700 (LWP 3506)]
[New Thread 0x429f7950 (LWP 3509)]
[New Thread 0x421f6950 (LWP 3508)]
(no debugging symbols found)
...
#5  0x00000000007184d0 in ?? ()
#6  0x00007fcb7efa43a9 in QGraphicsWidget::event ()
   from /usr/lib64/libQtGui.so.4
#7  0x00007fcb7eaca92d in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#8  0x00007fcb7ead0cfa in QApplication::notify () from /usr/lib64/libQtGui.so.4
#9  0x00007fcb83f6aceb in KApplication::notify () from /usr/lib64/libkdeui.so.5
#10 0x00007fcb81bfbe9c in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#11 0x00007fcb7efa4197 in QGraphicsWidget::sceneEvent ()
   from /usr/lib64/libQtGui.so.4
#12 0x00007fcb7ef8760d in QGraphicsScene::setFocusItem ()
   from /usr/lib64/libQtGui.so.4
#13 0x00007fcb7efa2fc7 in QGraphicsWidget::~QGraphicsWidget ()
   from /usr/lib64/libQtGui.so.4
#14 0x00007fcb793689e9 in ?? ()
   from /usr/lib64/kde4/plasma_containment_panel.so
#15 0x00007fcb84ceda9e in Plasma::Corona::~Corona ()
   from /usr/lib64/libplasma.so.2
#16 0x00007fcb84fc9317 in ?? () from /usr/lib64/libkdeinit4_plasma.so
#17 0x00007fcb84fd5c26 in ?? () from /usr/lib64/libkdeinit4_plasma.so
#18 0x00007fcb84fd6c40 in ?? () from /usr/lib64/libkdeinit4_plasma.so
#19 0x00007fcb81c0d4e0 in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#20 0x00007fcb81bfca44 in QCoreApplication::exec ()
   from /usr/lib64/libQtCore.so.4
#21 0x00007fcb84fcc1f3 in kdemain () from /usr/lib64/libkdeinit4_plasma.so
#22 0x00007fcb7d56a436 in __libc_start_main () from /lib64/libc.so.6
#23 0x00000000004008b9 in _start ()
#0  0x00007fcb7d5ee261 in nanosleep () from /lib64/libc.so.6


(In reply to comment #0)
> Version:            (using KDE 4.0.98)
> Installed from:    Debian testing/unstable Packages
> OS:                Linux
> 
> When I try to logout or shoutdown/restart computer plasma crash 
> 
> 
> 
> Application: Plasma Workspace (plasma), signal SIGSEGV
> [Thread debugging using libthread_db enabled]
> [New Thread 0x7fc8d67087c0 (LWP 3701)]
> [New Thread 0x41b10950 (LWP 3713)]
> [New Thread 0x40f58950 (LWP 3707)]
> [KCrash handler]
> #5  0x0000000001e67610 in ?? ()
> #6  0x00007fc8d4968929 in QGraphicsWidget::event (this=0x1e1e910, 
>     event=0x7fffde84eba0) at graphicsview/qgraphicswidget.cpp:1153
> #7  0x00007fc8d4414e5d in QApplicationPrivate::notify_helper (this=0x1d5e790, 
>     receiver=0x1e1e910, e=0x7fffde84eba0) at kernel/qapplication.cpp:3772
> #8  0x00007fc8d441cb2a in QApplication::notify (this=0x1d54f00, 
>     receiver=0x1e1e910, e=0x7fffde84eba0) at kernel/qapplication.cpp:3739
> #9  0x00007fc8d591f93b in KApplication::notify (this=0x1d54f00, 
>     receiver=0x1e1e910, event=0x7fffde84eba0)
>     at /tmp/buildd/kde4libs-4.0.98/kdeui/kernel/kapplication.cpp:311
> #10 0x00007fc8d3cf5411 in QCoreApplication::notifyInternal (this=0x1d54f00, 
>     receiver=0x1e1e910, event=0x7fffde84eba0)
>     at kernel/qcoreapplication.cpp:587
> #11 0x00007fc8d4968cc7 in QGraphicsWidget::sceneEvent (this=0x1e1e910, 
>     event=0x7fffde84eba0)
>     at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
> #12 0x00007fc8d494761d in QGraphicsScene::setFocusItem (this=0x0, item=0x0, 
>     focusReason=Qt::OtherFocusReason) at graphicsview/qgraphicsscene.cpp:2634
> #13 0x00007fc8d4967a88 in ~QGraphicsWidget (this=0x1e1e910)
>     at graphicsview/qgraphicswidget.cpp:218
> #14 0x00007fc8c8878615 in ~LauncherApplet (this=0x1e1e910)
>     at
> /tmp/buildd/kdebase-workspace-4.0.98/plasma/applets/kickoff/applet/applet.cpp:91
> #15 0x00007fc8d5db2d4e in ~Containment (this=0x1e01b00)
>     at /usr/include/qt4/QtCore/qalgorithms.h:352
> #16 0x00007fc8c8c945d9 in ~Panel (this=0x1e546c0)
>     at
> /tmp/buildd/kdebase-workspace-4.0.98/plasma/containments/panel/panel.cpp:75
> #17 0x00007fc8d5dbe37e in ~Corona (this=0x1dcad90)
>     at /usr/include/qt4/QtCore/qalgorithms.h:352
> #18 0x00007fc8d6417af7 in ~DesktopCorona (this=0x1e546c0)
>     at /tmp/buildd/kdebase-workspace-4.0.98/plasma/plasma/desktopcorona.h:36
> #19 0x00007fc8d64252c6 in PlasmaApp::cleanup (this=0x1d54f00)
>     at /tmp/buildd/kdebase-workspace-4.0.98/plasma/plasma/plasmaapp.cpp:257
> #20 0x00007fc8d6427de0 in PlasmaApp::qt_metacall (this=0x1d54f00, 
>     _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
>     _a=0x7fffde84ef60)
>     at
> /tmp/buildd/kdebase-workspace-4.0.98/obj-x86_64-linux-gnu/plasma/plasma/plasmaapp.moc:79
> #21 0x00007fc8d3d09764 in QMetaObject::activate (sender=0x1d54f00, 
>     from_signal_index=<value optimized out>, to_signal_index=4, 
>     argv=0x7fc8d3fdc780) at kernel/qobject.cpp:3010
> #22 0x00007fc8d3cf639d in QCoreApplication::exec ()
>     at kernel/qcoreapplication.cpp:849
> #23 0x00007fc8d641b2f3 in kdemain (argc=1, argv=0x7fffde84f328)
>     at /tmp/buildd/kdebase-workspace-4.0.98/plasma/plasma/main.cpp:54
> #24 0x00007fc8d60c91a6 in __libc_start_main () from /lib/libc.so.6
> #25 0x0000000000400629 in _start ()
> #0  0x00007fc8d61491f1 in nanosleep () from /lib/libc.so.6
> 

Comment 10 BogDan Vatra 2008-09-16 19:05:25 UTC
(In reply to comment #8)
> I had the same problems (kde 4.1.0 / Kubuntu Hardy) and they were fixed by
> editing of the kdmrc file. Where that file exists varies from distro to distro,
> I have it as /etc/kde4/kdm/kdmrc.
> 
[...]
>
> Could the devs check that these lines are correct in SVN? If it's correct in
> SVN (meaning correct after installation!) then it's over to the package
> maintainers.
> 

Your solution didn't help me but after I upgrade to kde 4.1.1 plasma didn't crash anymore.
For me this problem is fixed.