Bug 225258 - Crash when quitting a kde program
Summary: Crash when quitting a kde program
Status: RESOLVED NOT A BUG
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 225289 225292 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-02 13:11 UTC by Felix Lemke
Modified: 2010-02-02 20:12 UTC (History)
3 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 Felix Lemke 2010-02-02 13:11:21 UTC
Application: plasma-overlay (0.0)
KDE Platform Version: 4.3.98 (KDE 4.3.98 (KDE 4.4 RC3)) "release 216"
Qt Version: 4.6.2
Operating System: Linux 2.6.31.8-0.1-default i686
Distribution: "openSUSE 11.2 (i586)"

-- Information about the crash:
Everytime I quit a KDE program (via Alt+F4 or kquitapp *) I get a crash dialog.

The crash can be reproduced every time.

 -- Backtrace:
Application: Plasma für den Bildschirmschoner (plasma-overlay), signal: Segmentation fault
[KCrash Handler]
#6  operator== (value=<value optimized out>, this=<value optimized out>) at ../../src/corelib/thread/qbasicatomic.h:70
#7  qt_painter_removePaintDevice (value=<value optimized out>, this=<value optimized out>) at painting/qpainter.cpp:7532
#8  0xb62287b2 in QPaintDevice::~QPaintDevice (this=0x8111d60, __in_chrg=<value optimized out>) at painting/qpaintdevice.cpp:58
#9  0xb61bcd41 in QPixmap::~QPixmap (this=0x8111d60, __in_chrg=<value optimized out>) at image/qpixmap.cpp:325
#10 0xb6300f81 in QX11PaintEnginePrivate::~QX11PaintEnginePrivate() () from /usr/lib/libQtGui.so.4
#11 0xb6228cc4 in cleanup (pointer=<value optimized out>) at ../../src/corelib/tools/qscopedpointer.h:62
#12 ~QScopedPointer (pointer=<value optimized out>) at ../../src/corelib/tools/qscopedpointer.h:100
#13 QPaintEngine::~QPaintEngine (pointer=<value optimized out>) at painting/qpaintengine.cpp:722
#14 0xb62f544f in QX11PaintEngine::~QX11PaintEngine (this=0x811bdf0, __in_chrg=<value optimized out>) at painting/qpaintengine_x11.cpp:469
#15 0xb61d07dd in QX11PixmapData::release (this=0x8106fa8) at image/qpixmap_x11.cpp:1236
#16 0xb61d10e1 in QX11PixmapData::~QX11PixmapData (this=0x8106fa8, __in_chrg=<value optimized out>) at image/qpixmap_x11.cpp:1231
#17 0xb61bcd39 in ~QExplicitlySharedDataPointer (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../src/corelib/tools/qshareddata.h:159
#18 QPixmap::~QPixmap (this=<value optimized out>, __in_chrg=<value optimized out>) at image/qpixmap.cpp:325
#19 0xb355ce9a in Bespin::Style::<anonymous struct>::~Shadows(void) (this=0xb35aaf00, __in_chrg=<value optimized out>) at /usr/src/debug/bespin/bespin.h:304
#20 0xb5d6a111 in ?? () from /lib/libc.so.6
#21 0xb5d6a16d in exit () from /lib/libc.so.6
#22 0xb5d52ad6 in __libc_start_main () from /lib/libc.so.6
#23 0x08054521 in _start () at ../sysdeps/i386/elf/start.S:119

Reported using DrKonqi
Comment 1 Dario Andres 2010-02-02 13:24:56 UTC
- Does this happen if you use another widget style like Oxygen ? (it seems you are using Bespin)
Regards
Comment 2 Felix Lemke 2010-02-02 13:28:48 UTC
Yes, I use bespin, but it also crashs with oxygen.
Comment 3 Dario Andres 2010-02-02 13:31:23 UTC
- Could you paste a backtrace of the crash when using Oxygen ? Regards
Comment 4 Felix Lemke 2010-02-02 13:38:43 UTC
Looks totaly different:

Application: KWrite (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5372980 (LWP 11681))]

Thread 2 (Thread 0xb3075b70 (LWP 11682)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6a66d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb32b9b37 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb33951a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#3  0xb32b9b7f in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb33951a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#4  0xb6a626e5 in start_thread () from /lib/libpthread.so.0
#5  0xb6a62600 in ?? () from /lib/libpthread.so.0

Thread 1 (Thread 0xb5372980 (LWP 11681)):
[KCrash Handler]
#6  operator== (value=<value optimized out>, this=<value optimized out>) at ../../src/corelib/thread/qbasicatomic.h:70
#7  qt_painter_removePaintDevice (value=<value optimized out>, this=<value optimized out>) at painting/qpainter.cpp:7532
#8  0xb62807b2 in QPaintDevice::~QPaintDevice (this=0x812b5d8, __in_chrg=<value optimized out>) at painting/qpaintdevice.cpp:58
#9  0xb6214d41 in QPixmap::~QPixmap (this=0x812b5d8, __in_chrg=<value optimized out>) at image/qpixmap.cpp:325
#10 0xb6358f81 in QX11PaintEnginePrivate::~QX11PaintEnginePrivate() () from /usr/lib/libQtGui.so.4
#11 0xb6280cc4 in cleanup (pointer=<value optimized out>) at ../../src/corelib/tools/qscopedpointer.h:62
#12 ~QScopedPointer (pointer=<value optimized out>) at ../../src/corelib/tools/qscopedpointer.h:100
#13 QPaintEngine::~QPaintEngine (pointer=<value optimized out>) at painting/qpaintengine.cpp:722
#14 0xb634d44f in QX11PaintEngine::~QX11PaintEngine (this=0x812b838, __in_chrg=<value optimized out>) at painting/qpaintengine_x11.cpp:469
#15 0xb62287dd in QX11PixmapData::release (this=0x811d7b0) at image/qpixmap_x11.cpp:1236
#16 0xb62290e1 in QX11PixmapData::~QX11PixmapData (this=0x811d7b0, __in_chrg=<value optimized out>) at image/qpixmap_x11.cpp:1231
#17 0xb6214d39 in ~QExplicitlySharedDataPointer (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../src/corelib/tools/qshareddata.h:159
#18 QPixmap::~QPixmap (this=<value optimized out>, __in_chrg=<value optimized out>) at image/qpixmap.cpp:325
#19 0xb5092e9a in Bespin::Style::<anonymous struct>::~Shadows(void) (this=0xb50e0f00, __in_chrg=<value optimized out>) at /usr/src/debug/bespin/bespin.h:304
#20 0xb5dc3111 in ?? () from /lib/libc.so.6
#21 0xb5dc316d in exit () from /lib/libc.so.6
#22 0x0804e4b7 in launch (argc=134805596, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=1, envs=0x808f850 "DISPLAY=:0.0", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x808f861 "nike;1265114250;510854;2581_TIME5025484") at /usr/src/debug/kdelibs-4.3.98/kinit/kinit.cpp:717
#23 0x0804f147 in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at /usr/src/debug/kdelibs-4.3.98/kinit/kinit.cpp:1209
#24 0x0804f594 in handle_requests (waitForPid=<value optimized out>) at /usr/src/debug/kdelibs-4.3.98/kinit/kinit.cpp:1402
#25 0x0805032f in main (argc=2, argv=0xbfcc5194, envp=0xbfcc51a0) at /usr/src/debug/kdelibs-4.3.98/kinit/kinit.cpp:1841
Comment 5 Dario Andres 2010-02-02 14:25:52 UTC
Besides being another application (KWrite instead of Plasma), it still shows that you are using Bespin.
After changing the widget style you should probably restart the application (to load Oxygen if it wasn't using that widget style yet), and then try to repeat the issue.

Regards
Comment 6 Felix Lemke 2010-02-02 14:35:13 UTC
I changed the style to oxygen, closed systemsettings, opened kwrite and closed kwrite. Finally I get this crash report:

Application: KWrite (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5372980 (LWP 13211))]

Thread 2 (Thread 0xb3075b70 (LWP 13212)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6a66d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb32b9b37 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb33951a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#3  0xb32b9b7f in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb33951a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#4  0xb6a626e5 in start_thread () from /lib/libpthread.so.0
#5  0xb6a62600 in ?? () from /lib/libpthread.so.0

Thread 1 (Thread 0xb5372980 (LWP 13211)):
[KCrash Handler]
#6  operator== (value=<value optimized out>, this=<value optimized out>) at ../../src/corelib/thread/qbasicatomic.h:70
#7  qt_painter_removePaintDevice (value=<value optimized out>, this=<value optimized out>) at painting/qpainter.cpp:7532
#8  0xb62807b2 in QPaintDevice::~QPaintDevice (this=0x8126568, __in_chrg=<value optimized out>) at painting/qpaintdevice.cpp:58
#9  0xb6214d41 in QPixmap::~QPixmap (this=0x8126568, __in_chrg=<value optimized out>) at image/qpixmap.cpp:325
#10 0xb6358f81 in QX11PaintEnginePrivate::~QX11PaintEnginePrivate() () from /usr/lib/libQtGui.so.4
#11 0xb6280cc4 in cleanup (pointer=<value optimized out>) at ../../src/corelib/tools/qscopedpointer.h:62
#12 ~QScopedPointer (pointer=<value optimized out>) at ../../src/corelib/tools/qscopedpointer.h:100
#13 QPaintEngine::~QPaintEngine (pointer=<value optimized out>) at painting/qpaintengine.cpp:722
#14 0xb634d44f in QX11PaintEngine::~QX11PaintEngine (this=0x8126718, __in_chrg=<value optimized out>) at painting/qpaintengine_x11.cpp:469
#15 0xb62287dd in QX11PixmapData::release (this=0x8124d08) at image/qpixmap_x11.cpp:1236
#16 0xb62290e1 in QX11PixmapData::~QX11PixmapData (this=0x8124d08, __in_chrg=<value optimized out>) at image/qpixmap_x11.cpp:1231
#17 0xb6214d39 in ~QExplicitlySharedDataPointer (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../src/corelib/tools/qshareddata.h:159
#18 QPixmap::~QPixmap (this=<value optimized out>, __in_chrg=<value optimized out>) at image/qpixmap.cpp:325
#19 0xb5092e9a in Bespin::Style::<anonymous struct>::~Shadows(void) (this=0xb50e0f00, __in_chrg=<value optimized out>) at /usr/src/debug/bespin/bespin.h:304
#20 0xb5dc3111 in ?? () from /lib/libc.so.6
#21 0xb5dc316d in exit () from /lib/libc.so.6
#22 0x0804e4b7 in launch (argc=134803636, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=1, envs=0x808f0a8 "DISPLAY=:0.0", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x808f0b9 "nike;1265117609;626287;2581_TIME8384545") at /usr/src/debug/kdelibs-4.3.98/kinit/kinit.cpp:717
#23 0x0804f147 in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at /usr/src/debug/kdelibs-4.3.98/kinit/kinit.cpp:1209
#24 0x0804f594 in handle_requests (waitForPid=<value optimized out>) at /usr/src/debug/kdelibs-4.3.98/kinit/kinit.cpp:1402
#25 0x0805032f in main (argc=2, argv=0xbfcc5194, envp=0xbfcc51a0) at /usr/src/debug/kdelibs-4.3.98/kinit/kinit.cpp:1841
Comment 7 Dario Andres 2010-02-02 14:54:28 UTC
Still using Bespin:
#19 0xb5092e9a in Bespin::Style::<anonymous struct>::~Shadows(void)
(this=0xb50e0f00, __in_chrg=<value optimized out>) at
/usr/src/debug/bespin/bespin.h:304

- Where are you changing the widget style ?
- Try running kwrite as "kwrite -style oxygen" from Konsole

Regards
Comment 8 Christophe Marin 2010-02-02 17:25:13 UTC
>KDE Platform Version: 4.3.98 (KDE 4.3.98 (KDE 4.4 RC3)) "release 216"
>Qt Version: 4.6.2

You're using the wrong Qt repository. KDE:Factory users shouldn't enable the KDE:Qt46 repo.
Comment 9 Dario Andres 2010-02-02 19:01:21 UTC
*** Bug 225289 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2010-02-02 19:01:29 UTC
*** Bug 225292 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2010-02-02 20:12:13 UTC
Upstream bug report reference: http://bugreports.qt.nokia.com/browse/QTBUG-7746