Bug 297684 - Plasma crashes at logoff or reboot or shutdown
Summary: Plasma crashes at logoff or reboot or shutdown
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 305475 305687 305852 313832 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-04-07 20:35 UTC by Valery Mamonov
Modified: 2013-01-25 08:20 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.60 KB, text/plain)
2012-08-01 18:27 UTC, Jaime Torres
Details
the file that causes the crash for me (23.83 KB, application/octet-stream)
2012-08-01 18:29 UTC, Jaime Torres
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Valery Mamonov 2012-04-07 20:35:38 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.0
Operating System: Linux 3.2.0-14.dmz.1-liquorix-amd64 x86_64
Distribution: Debian GNU/Linux experimental (sid)

-- Information about the crash:
- What I was doing when the application crashed:

I tried to log off or reboot or shutdown, plasma crashes and restarts automatically.

Debian Sid/Experimental amd64
KDE 4.7.4 
Qt 4.8
Oxygen Transparent widget style (but it crashes on different widget styles)

The crash can be reproduced some of the time.

-- Backtrace:
Application: Оболочка Plasma (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0bb7e5e7a0 (LWP 2506))]

Thread 2 (Thread 0x7f0ba6a09700 (LWP 2547)):
#0  0x00007fffa19058de in ?? ()
#1  0x0000003120e03e86 in *__GI_clock_gettime (clock_id=1, tp=0x7f0ba6a08aa0) at ../sysdeps/unix/clock_gettime.c:116
#2  0x000000311ecd89a4 in do_gettime (frac=0x7f0ba6a08ab8, sec=0x7f0ba6a08ab0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x000000311edb055d in QTimerInfoList::updateCurrentTime (this=0x2f95770) at kernel/qeventdispatcher_unix.cpp:343
#5  0x000000311edb0893 in QTimerInfoList::timerWait (this=0x2f95770, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x000000311edaf2dc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f0ba6a08b8c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x000000311edaf385 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x000000312124a21e in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x000000312124aa1b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x000000312124ac24 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x000000311edafdf6 in QEventDispatcherGlib::processEvents (this=0x2f90a10, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x000000311ed7f5f2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x000000311ed7f847 in QEventLoop::exec (this=0x7f0ba6a08cf0, flags=...) at kernel/qeventloop.cpp:204
#14 0x000000311ec7f307 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x000000311ed5f3af in QInotifyFileSystemWatcherEngine::run (this=0x2e599d0) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x000000311ec8232b in QThreadPrivate::start (arg=0x2e599d0) at thread/qthread_unix.cpp:298
#17 0x0000003139aa7454 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#18 0x0000003120206b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#19 0x000000311fad890d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0bb7e5e7a0 (LWP 2506)):
[KCrash Handler]
#6  0x00000031281d94d9 in QRasterWindowSurface::~QRasterWindowSurface (this=0x3555810, __in_chrg=<optimized out>) at painting/qwindowsurface_raster.cpp:117
#7  0x00000031281d9559 in QRasterWindowSurface::~QRasterWindowSurface (this=0x3555810, __in_chrg=<optimized out>) at painting/qwindowsurface_raster.cpp:121
#8  0x00000031281f1c1e in QWidgetBackingStore::~QWidgetBackingStore (this=0x35841d0, __in_chrg=<optimized out>) at painting/qbackingstore.cpp:909
#9  0x00000031280258b9 in QWidgetBackingStoreTracker::destroy (this=0x363b210) at kernel/qwidget.cpp:217
#10 0x0000003128025a0e in QWidgetPrivate::deleteExtra (this=0x28ce110) at kernel/qwidget.cpp:1829
#11 0x0000003128025c3c in QWidgetPrivate::~QWidgetPrivate (this=0x28ce110, __in_chrg=<optimized out>) at kernel/qwidget.cpp:356
#12 0x0000003128025f49 in QWidgetPrivate::~QWidgetPrivate (this=0x28ce110, __in_chrg=<optimized out>) at kernel/qwidget.cpp:361
#13 0x000000311ed99540 in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#14 ~QScopedPointer (this=0x28961a8, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#15 QObject::~QObject (this=0x28961a0, __in_chrg=<optimized out>) at kernel/qobject.cpp:817
#16 0x0000003128027c8d in QWidget::~QWidget (this=0x28961a0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1550
#17 0x0000003128027ec9 in QWidget::~QWidget (this=0x28961a0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1699
#18 0x00000031285ae015 in QGlobalStaticDeleter<QWidget>::~QGlobalStaticDeleter (this=<optimized out>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1923
#19 0x000000311fa36df2 in __run_exit_handlers (status=0, listp=0x311fd814c8, run_list_atexit=true) at exit.c:78
#20 0x000000311fa36e45 in *__GI_exit (status=55924752) at exit.c:100
#21 0x000000311fa1eeb4 in __libc_start_main (main=<optimized out>, argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa18fab48) at libc-start.c:260
#22 0x00000000004006c1 in _start ()

This bug may be a duplicate of or related to bug 292252, bug 294270.

Possible duplicates by query: bug 295018, bug 294270, bug 294229, bug 294100, bug 294033.

Reported using DrKonqi
Comment 1 Jaime Torres 2012-08-01 18:27:45 UTC
Created attachment 72877 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.9.00 using Qt 4.8.2

- What I was doing when the application crashed:

I can reproduce the crash every time, I just need to:
kquitapp plasma-desktop, 

remove the ~/.kde/share/config/plasma-desktop-appletsrc and plasma-desktoprc
(plasma-desktoprc will be created with a default one)
copy the attached plasma-desktop-appletsrc.2012-08-01  as ~/.kde/share/config/plasma-desktop-appletsrc, 
start plasma-desktop 
run again kquitapp plasma-desktop -> crash
next time plasma-desktop runs, the crash has gone.

Here you are a diff between the copied plasma-desktop-appletsrc and the one written after the crash:

diff -u plasma-desktop-appletsrc plasma-desktop-appletsrc.2012-08-01 
--- plasma-desktop-appletsrc    2012-08-01 19:52:40.351170912 +0200
+++ plasma-desktop-appletsrc.2012-08-01 2012-08-01 18:42:03.568456062 +0200
@@ -369,7 +369,7 @@
 ActionPluginsSource=Global
 activity=New Activity
 activityId=a0f0133d-3b0a-4a44-ae55-015783d79096
-desktop=-1
+desktop=3
 formfactor=0
 geometry=0,8442,1680,1050
 immutability=1
@@ -377,7 +377,7 @@
 lastScreen=0
 location=0
 plugin=desktop
-screen=-1
+screen=0
 wallpaperplugin=image
 wallpaperpluginmode=SingleImage
 zvalue=0
@@ -856,7 +856,7 @@
 RightButton;NoModifier=contextmenu
 
 [Containments][53][Applets][103]
-geometry=1027.4,0,37,37
+geometry=889.2,0,37,37
 immutability=2
 plugin=launcher
 zvalue=11
@@ -869,7 +869,7 @@
 DialogWidth=604
 
 [Containments][53][Applets][104]
-geometry=1650.4,0,29.6,37
+geometry=1647.2,0,32.8,37
 immutability=2
 plugin=systemloadviewer
 zvalue=0
@@ -878,7 +878,7 @@
 Order=6
 
 [Containments][53][Applets][106]
-geometry=1344.4,0,261,37
+geometry=1240.2,0,362,37
 immutability=2
 plugin=systemtray
 zvalue=0
@@ -887,7 +887,7 @@
 DefaultAppletsAdded=true
 
 [Containments][53][Applets][106][Configuration][Applets][107]
-geometry=4,32,24,24
+geometry=216.255694203824,6.5,24,24
 immutability=1
 plugin=notifier
 zvalue=0
@@ -900,7 +900,7 @@
 DialogWidth=302
 
 [Containments][53][Applets][106][Configuration][Applets][108]
-geometry=4,88,24,24
+geometry=4,60,24,24
 immutability=1
 plugin=notifications
 zvalue=0
@@ -922,8 +922,8 @@
 sourceAppletPluginName=notifications
 
 [Containments][53][Applets][106][Configuration][Applets][108][PopupApplet]
-DialogHeight=204
-DialogWidth=417
+DialogHeight=74
+DialogWidth=209
 
 [Containments][53][Applets][106][Configuration][Shortcuts]
 Systemtray-Klipper-106=Ctrl+Alt+V
@@ -932,11 +932,11 @@
 Order=4
 
 [Containments][53][Applets][106][PopupApplet]
-DialogHeight=122
-DialogWidth=277
+DialogHeight=66
+DialogWidth=167
 
 [Containments][53][Applets][118]
-geometry=1068.4,0,74,37
+geometry=930.2,0,82,37
 immutability=2
 plugin=digital-clock
 zvalue=0
@@ -967,7 +967,7 @@
 DialogWidth=539
 
 [Containments][53][Applets][129]
-geometry=1146.4,0,194,37
+geometry=1016.2,0,220,37
 immutability=2
 plugin=pager
 zvalue=7
@@ -976,7 +976,7 @@
 Order=3
 
 [Containments][53][Applets][165]
-geometry=1609.4,0,37,37
+geometry=1606.2,0,37,37
 immutability=2
 plugin=weather
 zvalue=0
@@ -994,11 +994,11 @@
 Order=5
 
 [Containments][53][Applets][165][PopupApplet]
-DialogHeight=203
-DialogWidth=292
+DialogHeight=199
+DialogWidth=293
 
 [Containments][53][Applets][83]
-geometry=0,0,1023.4,37
+geometry=0,0,885.2,37
 immutability=2
 plugin=icontasks
 zvalue=0

-- Backtrace (Reduced):
#6  0x00007ffb436ef08e in QRasterWindowSurface::~QRasterWindowSurface (this=0x7ffb22bfb440) at /g/kdegit/qt/src/gui/painting/qwindowsurface_raster.cpp:117
#7  0x00007ffb436ef149 in QRasterWindowSurface::~QRasterWindowSurface (this=0x7ffb22bfb440) at /g/kdegit/qt/src/gui/painting/qwindowsurface_raster.cpp:121
#8  0x00007ffb4370b980 in QWidgetBackingStore::~QWidgetBackingStore (this=0x7ffb22bfa560) at /g/kdegit/qt/src/gui/painting/qbackingstore.cpp:909
#9  0x00007ffb43514659 in QWidgetBackingStoreTracker::destroy (this=0x7ffb19d69d90) at /g/kdegit/qt/src/gui/kernel/qwidget.cpp:217
#10 0x00007ffb435147c4 in QWidgetPrivate::deleteExtra (this=this@entry=0x7ffb2ba9b000) at /g/kdegit/qt/src/gui/kernel/qwidget.cpp:1831
Comment 2 Jaime Torres 2012-08-01 18:29:18 UTC
Created attachment 72878 [details]
the file that causes the crash for me
Comment 3 Jekyll Wu 2012-08-20 04:57:09 UTC
*** Bug 305475 has been marked as a duplicate of this bug. ***
Comment 4 Myriam Schweingruber 2012-09-08 12:29:18 UTC
*** Bug 305687 has been marked as a duplicate of this bug. ***
Comment 5 Myriam Schweingruber 2012-09-08 12:30:05 UTC
*** Bug 305852 has been marked as a duplicate of this bug. ***
Comment 6 Jaime Torres 2012-10-09 15:28:44 UTC
The crash has mutated to:
#6  0x00007f8b3a3fb80e in QRasterWindowSurface::~QRasterWindowSurface (this=0x7f8b2bac23c0) at /g/kdegit/qt/src/gui/painting/qwindowsurface_raster.cpp:117
#7  0x00007f8b3a3fb8c9 in QRasterWindowSurface::~QRasterWindowSurface (this=0x7f8b2bac23c0) at /g/kdegit/qt/src/gui/painting/qwindowsurface_raster.cpp:121
#8  0x00007f8b3a418100 in QWidgetBackingStore::~QWidgetBackingStore (this=0x7f8b1bc6cb00) at /g/kdegit/qt/src/gui/painting/qbackingstore.cpp:909
#9  0x00007f8b3a2208f9 in QWidgetBackingStoreTracker::destroy (this=0x7f8b0bca2990) at /g/kdegit/qt/src/gui/kernel/qwidget.cpp:217
#10 0x00007f8b3a220a64 in QWidgetPrivate::deleteExtra (this=this@entry=0x7f8b0be64e00) at /g/kdegit/qt/src/gui/kernel/qwidget.cpp:1831
#11 0x00007f8b3a220cbd in QWidgetPrivate::~QWidgetPrivate (this=0x7f8b0be64e00) at /g/kdegit/qt/src/gui/kernel/qwidget.cpp:357
#12 0x00007f8b3a220f49 in QWidgetPrivate::~QWidgetPrivate (this=0x7f8b0be64e00) at /g/kdegit/qt/src/gui/kernel/qwidget.cpp:362
#13 0x00007f8b3b1922ca in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../../../kdegit/qt/src/corelib/tools/qscopedpointer.h:62
#14 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer (this=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../../../kdegit/qt/src/corelib/tools/qscopedpointer.h:100
#15 QObject::~QObject (this=0x7f8b0becf1a0) at /g/kdegit/qt/src/corelib/kernel/qobject.cpp:817
#16 0x00007f8b3a22c2f0 in QWidget::~QWidget (this=0x7f8b0becf1a0) at /g/kdegit/qt/src/gui/kernel/qwidget.cpp:1552
#17 0x00007f8b3f9dcde9 in XSyncBasedPoller::~XSyncBasedPoller (this=0x7f8b0becf1a0, __in_chrg=<optimized out>) at /g/kdegit/kdelibs/kutils/kidletime/xsyncbasedpoller.cpp:104
#18 0x00007f8b3f9dd892 in XSyncBasedPollerHelper::~XSyncBasedPollerHelper (this=0x7f8b0bde3dc8, __in_chrg=<optimized out>) at /g/kdegit/kdelibs/kutils/kidletime/xsyncbasedpoller.cpp:33
#19 0x00007f8b3f9dcd52 in destroy () at /g/kdegit/kdelibs/kutils/kidletime/xsyncbasedpoller.cpp:39
Comment 7 Martin Flöser 2013-01-25 08:20:07 UTC
*** Bug 313832 has been marked as a duplicate of this bug. ***