Bug 163538 - Crash report on exiting KDE
Summary: Crash report on exiting KDE
Status: RESOLVED FIXED
Alias: None
Product: Oxygen
Classification: Plasma
Component: win deco (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords: investigated, triaged
: 164248 165608 165686 167063 167820 170469 170481 170483 171639 174747 174766 174884 176297 178724 180874 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-08 17:19 UTC by Alexey Chernov
Modified: 2018-09-19 14:33 UTC (History)
22 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
KWin exit crash report (3.19 KB, text/plain)
2008-06-08 17:20 UTC, Alexey Chernov
Details
Plasma crash report (2.30 KB, text/plain)
2008-06-08 17:21 UTC, Alexey Chernov
Details
New crash information added by DrKonqi (12.23 KB, text/plain)
2010-11-10 18:01 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Chernov 2008-06-08 17:19:59 UTC
Version:            (using KDE 4.0.5)
Installed from:    Compiled From Sources
Compiler:          GCC 4.1.2 Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.1.2/configure --prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --disable-multilib Thread model: posix
OS:                Linux

Almost every time when I exit from KDE using Quit button in menu (sorry, localized version, don't know the right name) before X is stop the KWin crash report is thrown. After I saved it, Plasma crash report appeared. I saved both.
Comment 1 Alexey Chernov 2008-06-08 17:20:35 UTC
Created attachment 25209 [details]
KWin exit crash report
Comment 2 Alexey Chernov 2008-06-08 17:21:14 UTC
Created attachment 25210 [details]
Plasma crash report

Appeared after KWin crash report on exit
Comment 3 Michael 2008-07-23 16:18:45 UTC
*** Bug 164248 has been marked as a duplicate of this bug. ***
Comment 4 Michael 2008-07-23 16:38:32 UTC
*** Bug 165686 has been marked as a duplicate of this bug. ***
Comment 5 Michael 2008-07-23 16:51:42 UTC
Kwin backtrace:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x7f69eb3e9740 (LWP 3184)]
[KCrash handler]
#5  0x00007f69e750155b in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
#6  0x00007f69e750290e in *__GI_abort () at abort.c:88
#7  0x00007f69e74fab0f in *__GI___assert_fail (
    assertion=0x7f69e73cfccb "!c->xlib.lock", 
    file=0x7f69e73cfcc0 "xcb_xlib.c", line=73, 
    function=0x7f69e73cfcf0 "xcb_xlib_lock") at assert.c:78
#8  0x00007f69e73cfb4b in xcb_xlib_lock (c=0x552730) at xcb_xlib.c:73
#9  0x00007f69ead54723 in _XCBLockDisplay (dpy=0x54c180) at xcb_lock.c:21
#10 0x00007f69ea5c6766 in XRenderFreePicture (dpy=0x54c180, picture=18874522)
    at Picture.c:236
#11 0x00007f69e8d17cac in ~QPixmapData (this=0x8d4c00)
    at image/qpixmap_x11.cpp:367
#12 0x00007f69e8d14b45 in QPixmap::deref (this=0x7fab10)
    at image/qpixmap.cpp:1083
#13 0x00007f69e8d15567 in ~QPixmap (this=0x7fab10) at image/qpixmap.cpp:247
#14 0x00007f69defbe54a in QCache<unsigned long long, QPixmap>::clear (
    this=0x7f26f8) at /usr/include/qt/QtCore/qcache.h:131
#15 0x00007f69defbe5a3 in ~QCache (this=0x7f26f8)
    at /usr/include/qt/QtCore/qcache.h:95
#16 0x00007f69defbe5dd in ~OxygenHelper (this=0x7f26a0)
    at /usr/src/packages/kde4/4.0.5/kdebase-workspace-4.0.5/kwin/clients/oxygen/lib/helper.h:39
#17 0x00007f69defbf843 in destroy ()
    at /usr/src/packages/kde4/4.0.5/kdebase-workspace-4.0.5/kwin/clients/oxygen/oxygenclient.cpp:63
#18 0x00007f69defc16dd in ~KCleanUpGlobalStatic (this=0x7f69df0c6d50)
    at /usr/include/KDE/../kglobal.h:67
#19 0x00007f69defbf7f6 in __tcf_0 ()
    at /usr/src/packages/kde4/4.0.5/kdebase-workspace-4.0.5/kwin/clients/oxygen/oxygenclient.cpp:63
#20 0x00007f69e7503eb9 in *__GI_exit (status=1) at exit.c:75
#21 0x00007f69ead4df18 in _XDefaultError (dpy=0x54c180, event=0x7ffff34200d0)
    at XlibInt.c:2853
#22 0x00007f69ead4dfe5 in _XError (dpy=0x54c180, rep=0xbf8d10)
    at XlibInt.c:2905
#23 0x00007f69ead54fd2 in process_responses (dpy=0x54c180, 
    wait_for_first_event=0, current_error=0x7ffff3420228, 
    current_request=2553596) at xcb_io.c:138
#24 0x00007f69ead55388 in _XReply (dpy=0x54c180, rep=0x7ffff3420270, extra=0, 
    discard=1) at xcb_io.c:368
#25 0x00007f69ead49dd9 in XSync (dpy=0x54c180, discard=1) at Sync.c:48
#26 0x00007f69ead2a3cd in XCloseDisplay (dpy=0x54c180) at ClDisplay.c:67
#27 0x00007f69e8cb9491 in qt_cleanup () at kernel/qapplication_x11.cpp:2113
#28 0x00007f69e8c6268d in ~QApplication (this=0x7ffff34204a0)
    at kernel/qapplication.cpp:964
#29 0x00007f69e845a47b in ~KApplication (this=0x7ffff34204a0)
    at /usr/src/packages/kde4/4.0.5/kdelibs-4.0.5/kdeui/kernel/kapplication.cpp:946
#30 0x00007f69eb17606b in ~Application (this=0x7ffff34204a0)
    at /usr/src/packages/kde4/4.0.5/kdebase-workspace-4.0.5/kwin/main.cpp:346
#31 0x00007f69eb1773be in kdemain (argc=3, argv=0x7ffff3420978)
    at /usr/src/packages/kde4/4.0.5/kdebase-workspace-4.0.5/kwin/main.cpp:510
#32 0x0000000000400883 in main (argc=3, argv=0x7ffff3420978)
    at /usr/src/packages/kde4/4.0.5/kdebase-workspace-4.0.5/build/kwin/kwin_dummy.cpp:3
#0  0x00007f69e75659b0 in __nanosleep_nocancel () from /lib/libc.so.6

Plasma backtrace:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x7f158d9c0740 (LWP 3192)]
[KCrash handler]
#5  0x00007f158948655b in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
#6  0x00007f158948790e in *__GI_abort () at abort.c:88
#7  0x00007f15894be8a6 in __libc_message (do_abort=2, 
    fmt=0x7f15895638a8 "*** glibc detected *** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:170
#8  0x00007f15894c392d in malloc_printerr (action=2, 
    str=0x7f1589560e62 "corrupted double-linked list", 
    ptr=<value optimized out>) at malloc.c:5891
#9  0x00007f15894c5357 in _int_free (av=0x7f1589697980, mem=0xffffffffffffffff)
    at malloc.c:4654
#10 0x00007f15894c5626 in *__GI___libc_free (mem=0x6) at malloc.c:3626
#11 0x00007f158aeed9a1 in qFree (ptr=0x1dae3d0) at global/qglobal.cpp:1965
#12 0x00007f158af328ba in QString::free (d=0x1dae3d0) at tools/qstring.cpp:894
#13 0x00007f158a26352e in ~QString (this=0x23761f0)
    at ../../include/QtCore/../../src/corelib/tools/qstring.h:805
#14 0x00007f158a31af23 in ~QHashNode (this=0x23761e0)
    at ../../include/QtCore/../../src/corelib/tools/qhash.h:192
#15 0x00007f158a31af3f in QHash<QString, long long>::deleteNode (
    this=0x62e5c8, node=0x23761e0)
    at ../../include/QtCore/../../src/corelib/tools/qhash.h:476
#16 0x00007f158a31afac in QHash<QString, long long>::freeData (this=0x62e5c8, 
    x=0x5a3930) at ../../include/QtCore/../../src/corelib/tools/qhash.h:533
#17 0x00007f158a31b00b in ~QHash (this=0x62e5c8)
    at ../../include/QtCore/../../src/corelib/tools/qhash.h:251
#18 0x00007f158a31b201 in ~QPMCache (this=0x62e590)
    at image/qpixmapcache.cpp:110
#19 0x00007f158a31aa95 in ~QGlobalStaticDeleter (this=0x7f158aab4c18)
    at ../../include/QtCore/../../src/corelib/global/qglobal.h:1439
#20 0x00007f158a31a34e in __tcf_0 () at image/qpixmapcache.cpp:195
#21 0x00007f1589488eb9 in *__GI_exit (status=0) at exit.c:75
#22 0x00007f1589473b7b in __libc_start_main (main=0x400868 <main>, argc=1, 
    ubp_av=0x7fff959f9f88, init=<value optimized out>, 
    fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fff959f9f78) at libc-start.c:252
#23 0x00000000004007d9 in _start ()
#0  0x00007f15894ea9e1 in nanosleep () from /lib/libc.so.6
Comment 6 Michael 2008-07-23 17:02:48 UTC
[16:17:53] <Seli> yes, those two are dupes and should be probably reassigned to oxygen

Reassigning to the Oxygen team
Comment 7 Lubos Lunak 2008-08-05 12:09:30 UTC
*** Bug 167820 has been marked as a duplicate of this bug. ***
Comment 8 Alexey Chernov 2008-08-09 00:41:09 UTC
I can confirm KWin crash (without consequent Plasma one) for KDE 4.1 with Qt 4.4.1.
Comment 9 Alexey Chernov 2008-08-09 00:42:07 UTC
New backtrace:
Приложение: KWin (kwin), сигнал SIGABRT
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x7fefd258f750 (LWP 3313)]
[KCrash handler]
#5  0x00007fefce58155b in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
#6  0x00007fefce58290e in *__GI_abort () at abort.c:88
#7  0x00007fefce57ab0f in *__GI___assert_fail (
    assertion=0x7fefcdb4cccb "!c->xlib.lock", 
    file=0x7fefcdb4ccc0 "xcb_xlib.c", line=73, 
    function=0x7fefcdb4ccf0 "xcb_xlib_lock") at assert.c:78
#8  0x00007fefcdb4cb4b in xcb_xlib_lock (c=0x563190) at xcb_xlib.c:73
#9  0x00007fefd13bf723 in _XCBLockDisplay (dpy=0x55cb90) at xcb_lock.c:21
#10 0x00007fefcf571766 in XRenderFreePicture (dpy=0x55cb90, picture=18874518)
    at Picture.c:236
#11 0x00007fefd0681423 in QX11PixmapData::release (this=0x1150e90)
    at image/qpixmap_x11.cpp:1165
#12 0x00007fefd0681784 in ~QX11PixmapData (this=0xcf1)
    at image/qpixmap_x11.cpp:1141
#13 0x00007fefd06783fd in QPixmap::deref (this=0x1111b60)
    at image/qpixmap.cpp:1260
#14 0x00007fefd0678a44 in ~QPixmap (this=0xcf1) at image/qpixmap.cpp:321
#15 0x00007fefc60490b2 in QCache<unsigned long long, QPixmap>::clear (
    this=0x938358) at /usr/include/QtCore/qcache.h:140
#16 0x00007fefc604910b in ~QCache (this=0x938358)
    at /usr/include/QtCore/qcache.h:104
#17 0x00007fefc6049145 in ~OxygenHelper (this=0x938300)
    at /usr/src/packages/kde4/4.1.0/kdebase-workspace-4.1.0/kwin/clients/ozone/lib/helper.h:39
#18 0x00007fefc6049eaf in destroy ()
    at /usr/src/packages/kde4/4.1.0/kdebase-workspace-4.1.0/kwin/clients/ozone/oxygenclient.cpp:65
#19 0x00007fefc604c72d in ~KCleanUpGlobalStatic (this=0x7fefc6153e58)
    at /usr/include/KDE/../kglobal.h:67
#20 0x00007fefc6049e62 in __tcf_0 ()
    at /usr/src/packages/kde4/4.1.0/kdebase-workspace-4.1.0/kwin/clients/ozone/oxygenclient.cpp:65
#21 0x00007fefce583eb9 in *__GI_exit (status=1) at exit.c:75
#22 0x00007fefd13b8f18 in _XDefaultError (dpy=0x55cb90, event=0x7fffda5c5280)
    at XlibInt.c:2853
#23 0x00007fefd13b8fe5 in _XError (dpy=0x55cb90, rep=0x54f560)
    at XlibInt.c:2905
#24 0x00007fefd13bffd2 in process_responses (dpy=0x55cb90, 
    wait_for_first_event=0, current_error=0x7fffda5c53d8, 
    current_request=7392748) at xcb_io.c:138
#25 0x00007fefd13c0388 in _XReply (dpy=0x55cb90, rep=0x7fffda5c5420, extra=0, 
    discard=1) at xcb_io.c:368
#26 0x00007fefd13b4dd9 in XSync (dpy=0x55cb90, discard=1) at Sync.c:48
#27 0x00007fefd13953cd in XCloseDisplay (dpy=0x55cb90) at ClDisplay.c:67
#28 0x00007fefd0625ea5 in qt_cleanup () at kernel/qapplication_x11.cpp:2325
#29 0x00007fefd05ccac6 in ~QApplication (this=0x7fffda5c5630)
    at kernel/qapplication.cpp:1020
#30 0x00007fefcf25e007 in ~KApplication (this=0x7fffda5c5630)
    at /usr/src/packages/kde4/4.1.0/kdelibs-4.1.0/kdeui/kernel/kapplication.cpp:944
#31 0x00007fefd231cca5 in ~Application (this=0x7fffda5c5630)
    at /usr/src/packages/kde4/4.1.0/kdebase-workspace-4.1.0/kwin/main.cpp:347
#32 0x00007fefd231dff8 in kdemain (argc=3, argv=0x7fffda5c5b08)
    at /usr/src/packages/kde4/4.1.0/kdebase-workspace-4.1.0/kwin/main.cpp:511
#33 0x0000000000400883 in main (argc=3, argv=0x7fffda5c5b08)
    at /usr/src/packages/kde4/4.1.0/kdebase-workspace-4.1.0/build/kwin/kwin_dummy.cpp:3
#0  0x00007fefce5e59b0 in __nanosleep_nocancel () from /lib/libc.so.6
Comment 10 Camilla Boemann 2008-08-09 01:43:38 UTC
Two points:
1) it doesn't seem to be an oxygen but but rather somewhere in Qt and seems to be related duplicate of another bug report saying oxygen is loosing memory

2) you are using the ozonbe windeco, so it's not an Oxygen bug even if it's not in Qt

For those reasons this bug is not being handled, but will not really be closed either
Comment 11 Alexey Chernov 2008-08-09 01:59:05 UTC
OK, I don't really know when it was assigned to Oxygen as I committed it to KDE general and it was moved then.

Is there any way to make it right or something to make it handled?
Comment 12 Camilla Boemann 2008-08-09 09:43:08 UTC
I guess it should be wrapped up and reported to trolltech. This should be done by a developer as the better the report the better chance of fixing it.

as for ozone vs oxygen it doesn't matter much as i think it's also a problem when using oxygen (although it would be nice if you could confirm this)
Comment 13 Alexey Chernov 2008-08-09 12:20:25 UTC
Yes, sure, I will try this with Oxygen today and write the result here.
Comment 14 Alexey Chernov 2008-08-09 19:42:46 UTC
Well, I've changed window decoration theme to Oxygen (both graphic elements and desktop theme were Oxygen before) and I must admit I cannot manage to reproduce the crash. I tried both several short on-off cycles and long work and after it logged out, but no one crash. I will continue with Oxygen theme, but now it seemes that the crash is for Ozone only.
Comment 15 Camilla Boemann 2008-08-09 22:45:16 UTC
interesting. be sure to add a comment here if you do get a crash.
Comment 16 Alexey Chernov 2008-08-10 01:02:46 UTC
Yes, for sure. Nothing for now, though..
Comment 17 Alexey Chernov 2008-08-12 23:09:12 UTC
As I expected some deep inside, the crash appeared again already with Oxygen, after some time. Again it crashes nearly every log out, and I can't surely say, what is the problem as I use almost the same applications every day and nothing different..
Comment 18 Alexey Chernov 2008-08-12 23:11:47 UTC
Fresh crash report:
Приложение: KWin (kwin), сигнал SIGABRT
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x7fb2be0c0750 (LWP 3561)]
[KCrash handler]
#5  0x00007fb2ba0b255b in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
#6  0x00007fb2ba0b390e in *__GI_abort () at abort.c:88
#7  0x00007fb2ba0abb0f in *__GI___assert_fail (
    assertion=0x7fb2b967dccb "!c->xlib.lock", 
    file=0x7fb2b967dcc0 "xcb_xlib.c", line=73, 
    function=0x7fb2b967dcf0 "xcb_xlib_lock") at assert.c:78
#8  0x00007fb2b967db4b in xcb_xlib_lock (c=0x129d190) at xcb_xlib.c:73
#9  0x00007fb2bcef0723 in _XCBLockDisplay (dpy=0x1296b90) at xcb_lock.c:21
#10 0x00007fb2bb0a2766 in XRenderFreePicture (dpy=0x1296b90, picture=18874520)
    at Picture.c:236
#11 0x00007fb2bc1b2423 in QX11PixmapData::release (this=0x1464b40)
    at image/qpixmap_x11.cpp:1165
#12 0x00007fb2bc1b2784 in ~QX11PixmapData (this=0xde9)
    at image/qpixmap_x11.cpp:1141
#13 0x00007fb2bc1a93fd in QPixmap::deref (this=0x145bb00)
    at image/qpixmap.cpp:1260
#14 0x00007fb2bc1a9a44 in ~QPixmap (this=0xde9) at image/qpixmap.cpp:321
#15 0x00007fb2b1b7a0d2 in QCache<unsigned long long, QPixmap>::clear (
    this=0x13ad288) at /usr/include/QtCore/qcache.h:140
#16 0x00007fb2b1b7a12b in ~QCache (this=0x13ad288)
    at /usr/include/QtCore/qcache.h:104
#17 0x00007fb2b1b7a165 in ~OxygenHelper (this=0x13ad230)
    at /usr/src/packages/kde4/4.1.0/kdebase-workspace-4.1.0/kwin/clients/oxygen/lib/helper.h:39
#18 0x00007fb2b1b7aecf in destroy ()
    at /usr/src/packages/kde4/4.1.0/kdebase-workspace-4.1.0/kwin/clients/oxygen/oxygenclient.cpp:64
#19 0x00007fb2b1b7d415 in ~KCleanUpGlobalStatic (this=0x7fb2b1c84e50)
    at /usr/include/KDE/../kglobal.h:67
#20 0x00007fb2b1b7ae82 in __tcf_0 ()
    at /usr/src/packages/kde4/4.1.0/kdebase-workspace-4.1.0/kwin/clients/oxygen/oxygenclient.cpp:64
#21 0x00007fb2ba0b4eb9 in *__GI_exit (status=1) at exit.c:75
#22 0x00007fb2bcee9f18 in _XDefaultError (dpy=0x1296b90, event=0x7fffc60f5db0)
    at XlibInt.c:2853
#23 0x00007fb2bcee9fe5 in _XError (dpy=0x1296b90, rep=0x1f0b9d0)
    at XlibInt.c:2905
#24 0x00007fb2bcef0fd2 in process_responses (dpy=0x1296b90, 
    wait_for_first_event=0, current_error=0x7fffc60f5f08, 
    current_request=29995368) at xcb_io.c:138
#25 0x00007fb2bcef1388 in _XReply (dpy=0x1296b90, rep=0x7fffc60f5f50, extra=0, 
    discard=1) at xcb_io.c:368
#26 0x00007fb2bcee5dd9 in XSync (dpy=0x1296b90, discard=1) at Sync.c:48
#27 0x00007fb2bcec63cd in XCloseDisplay (dpy=0x1296b90) at ClDisplay.c:67
#28 0x00007fb2bc156ea5 in qt_cleanup () at kernel/qapplication_x11.cpp:2325
#29 0x00007fb2bc0fdac6 in ~QApplication (this=0x7fffc60f6160)
    at kernel/qapplication.cpp:1020
#30 0x00007fb2bad8f007 in ~KApplication (this=0x7fffc60f6160)
    at /usr/src/packages/kde4/4.1.0/kdelibs-4.1.0/kdeui/kernel/kapplication.cpp:944
#31 0x00007fb2bde4dca5 in ~Application (this=0x7fffc60f6160)
    at /usr/src/packages/kde4/4.1.0/kdebase-workspace-4.1.0/kwin/main.cpp:347
#32 0x00007fb2bde4eff8 in kdemain (argc=3, argv=0x7fffc60f6638)
    at /usr/src/packages/kde4/4.1.0/kdebase-workspace-4.1.0/kwin/main.cpp:511
#33 0x0000000000400883 in main (argc=3, argv=0x7fffc60f6638)
    at /usr/src/packages/kde4/4.1.0/kdebase-workspace-4.1.0/build/kwin/kwin_dummy.cpp:3
#0  0x00007fb2ba1169b0 in __nanosleep_nocancel () from /lib/libc.so.6
Comment 19 Alexey Chernov 2008-09-05 21:31:28 UTC
Here's the new crash report for KDE 4.1.1 (the bug is reproducible):
Приложение: KWin (kwin), сигнал SIGABRT
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x7f11e347c750 (LWP 3595)]
[KCrash handler]
#5  0x00007f11df46d55b in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
#6  0x00007f11df46e90e in *__GI_abort () at abort.c:88
#7  0x00007f11df466b0f in *__GI___assert_fail (
    assertion=0x7f11dea38ccb "!c->xlib.lock", 
    file=0x7f11dea38cc0 "xcb_xlib.c", line=73, 
    function=0x7f11dea38cf0 "xcb_xlib_lock") at assert.c:78
#8  0x00007f11dea38b4b in xcb_xlib_lock (c=0x1377d80) at xcb_xlib.c:73
#9  0x00007f11e22ac723 in _XCBLockDisplay (dpy=0x13622a0) at xcb_lock.c:21
#10 0x00007f11e045e766 in XRenderFreePicture (dpy=0x13622a0, picture=18874502)
    at Picture.c:236
#11 0x00007f11e156e423 in QX11PixmapData::release (this=0x18e6a50)
    at image/qpixmap_x11.cpp:1165
#12 0x00007f11e156e784 in ~QX11PixmapData (this=0xe0b)
    at image/qpixmap_x11.cpp:1141
#13 0x00007f11e15653fd in QPixmap::deref (this=0x18e65c0)
    at image/qpixmap.cpp:1260
#14 0x00007f11e1565a44 in ~QPixmap (this=0xe0b) at image/qpixmap.cpp:321
#15 0x00007f11d6ee8122 in QCache<unsigned long long, QPixmap>::clear (
    this=0x180e5b8) at /usr/include/QtCore/qcache.h:140
#16 0x00007f11d6ee817b in ~QCache (this=0x180e5b8)
    at /usr/include/QtCore/qcache.h:104
#17 0x00007f11d6ee81b5 in ~OxygenHelper (this=0x180e560)
    at /usr/src/packages/kde4/4.1.1/kdebase-workspace-4.1.1/kwin/clients/ozone/lib/helper.h:39
#18 0x00007f11d6ee8f1f in destroy ()
    at /usr/src/packages/kde4/4.1.1/kdebase-workspace-4.1.1/kwin/clients/ozone/oxygenclient.cpp:65
#19 0x00007f11d6eeb441 in ~KCleanUpGlobalStatic (this=0x7f11d6ff2e60)
    at /usr/include/KDE/../kglobal.h:67
#20 0x00007f11d6ee8ed2 in __tcf_0 ()
    at /usr/src/packages/kde4/4.1.1/kdebase-workspace-4.1.1/kwin/clients/ozone/oxygenclient.cpp:65
#21 0x00007f11df46feb9 in *__GI_exit (status=1) at exit.c:75
#22 0x00007f11e22a5f18 in _XDefaultError (dpy=0x13622a0, event=0x7fffeb4b5140)
    at XlibInt.c:2853
#23 0x00007f11e22a5fe5 in _XError (dpy=0x13622a0, rep=0x136a140)
    at XlibInt.c:2905
#24 0x00007f11e22acfd2 in process_responses (dpy=0x13622a0, 
    wait_for_first_event=0, current_error=0x7fffeb4b5298, 
    current_request=308139) at xcb_io.c:138
#25 0x00007f11e22ad388 in _XReply (dpy=0x13622a0, rep=0x7fffeb4b52e0, extra=0, 
    discard=1) at xcb_io.c:368
#26 0x00007f11e22a1dd9 in XSync (dpy=0x13622a0, discard=1) at Sync.c:48
#27 0x00007f11e22823cd in XCloseDisplay (dpy=0x13622a0) at ClDisplay.c:67
#28 0x00007f11e1512ea5 in qt_cleanup () at kernel/qapplication_x11.cpp:2325
#29 0x00007f11e14b9ac6 in ~QApplication (this=0x7fffeb4b54f0)
    at kernel/qapplication.cpp:1020
#30 0x00007f11e014a2fb in ~KApplication (this=0x7fffeb4b54f0)
    at /usr/src/packages/kde4/4.1.1/kdelibs-4.1.1/kdeui/kernel/kapplication.cpp:944
#31 0x00007f11e320ac19 in ~Application (this=0x7fffeb4b54f0)
    at /usr/src/packages/kde4/4.1.1/kdebase-workspace-4.1.1/kwin/main.cpp:347
#32 0x00007f11e320bf6c in kdemain (argc=3, argv=0x7fffeb4b59c8)
    at /usr/src/packages/kde4/4.1.1/kdebase-workspace-4.1.1/kwin/main.cpp:511
#33 0x0000000000400883 in main (argc=3, argv=0x7fffeb4b59c8)
    at /usr/src/packages/kde4/4.1.1/kdebase-workspace-4.1.1/build/kwin/kwin_dummy.cpp:3
#0  0x00007f11df4d19b0 in __nanosleep_nocancel () from /lib/libc.so.6
Comment 20 Pino Toscano 2008-09-05 21:37:08 UTC
*** Bug 165608 has been marked as a duplicate of this bug. ***
Comment 21 Pino Toscano 2008-09-05 21:37:19 UTC
*** Bug 167063 has been marked as a duplicate of this bug. ***
Comment 22 Pino Toscano 2008-09-05 21:37:57 UTC
*** Bug 170469 has been marked as a duplicate of this bug. ***
Comment 23 Thomas McGuire 2008-09-06 14:35:54 UTC
*** Bug 170481 has been marked as a duplicate of this bug. ***
Comment 24 Thomas McGuire 2008-09-06 14:36:05 UTC
*** Bug 170483 has been marked as a duplicate of this bug. ***
Comment 25 Camilla Boemann 2008-09-06 17:49:07 UTC
I've commited something that might fix it. Please svn up and try it out.
Comment 26 Alexey Chernov 2008-09-06 22:35:46 UTC
Ok. What package is it? Must be kdebase?
Comment 27 Camilla Boemann 2008-09-06 23:40:54 UTC
yes kdebase
Comment 28 Alexey Chernov 2008-09-06 23:44:47 UTC
Ok, thank you, I will try it asap and write the result here.
Comment 29 Alexey Chernov 2008-10-06 00:57:48 UTC
Sorry, unfortunately I couldn't test the svn version, but I just installed KDE 4.1.2 and it seemes that this bug persists here. Is the patch included in 4.1.2? The fresh crash report (it seemes to be quite similar to prev one) will follow.
Comment 30 Alexey Chernov 2008-10-06 00:58:35 UTC
Приложение: KWin (kwin), сигнал SIGABRT
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x7f1085098750 (LWP 27437)]
[KCrash handler]
#5  0x00007f108107f55b in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
#6  0x00007f108108090e in *__GI_abort () at abort.c:88
#7  0x00007f1081078b0f in *__GI___assert_fail (
    assertion=0x7f10806579bb "!c->xlib.lock", 
    file=0x7f10806579b0 "xcb_xlib.c", line=42, 
    function=0x7f1080657a10 "xcb_xlib_lock") at assert.c:78
#8  0x00007f1080657951 in xcb_xlib_lock (c=0x14d6160) at xcb_xlib.c:42
#9  0x00007f1083ec3723 in _XCBLockDisplay (dpy=0x14c0750) at xcb_lock.c:21
#10 0x00007f1082070776 in XRenderFreePicture (dpy=0x14c0750, picture=18874784)
    at Picture.c:236
#11 0x00007f108317ffc3 in QX11PixmapData::release (this=0x1f7c180)
    at image/qpixmap_x11.cpp:1173
#12 0x00007f1083180324 in ~QX11PixmapData (this=0x6b2d)
    at image/qpixmap_x11.cpp:1149
#13 0x00007f10831779ad in QPixmap::deref (this=0x1f327a0)
    at image/qpixmap.cpp:1258
#14 0x00007f10831779f4 in ~QPixmap (this=0x6b2d) at image/qpixmap.cpp:320
#15 0x00007f1078b08ab8 in QCache<unsigned long long, QPixmap>::clear (
    this=0x15d60f8) at /usr/include/QtCore/qcache.h:134
#16 0x00007f1078b08b11 in ~QCache (this=0x15d60f8)
    at /usr/include/QtCore/qcache.h:98
#17 0x00007f1078b08b4b in ~OxygenHelper (this=0x15d60a0)
    at /usr/src/packages/kde4/4.1.2/kdebase-workspace-4.1.2/kwin/clients/ozone/lib/helper.h:39
#18 0x00007f1078b09e87 in destroy ()
    at /usr/src/packages/kde4/4.1.2/kdebase-workspace-4.1.2/kwin/clients/ozone/oxygenclient.cpp:65
#19 0x00007f1078b0c373 in ~KCleanUpGlobalStatic (this=0x7f1078c12f88)
    at /usr/include/KDE/../kglobal.h:67
#20 0x00007f1078b09e3a in __tcf_0 ()
    at /usr/src/packages/kde4/4.1.2/kdebase-workspace-4.1.2/kwin/clients/ozone/oxygenclient.cpp:65
#21 0x00007f1081081eb9 in *__GI_exit (status=1) at exit.c:75
#22 0x00007f1083ebcf18 in _XDefaultError (dpy=0x14c0750, event=0x7fff8d0cbd80)
    at XlibInt.c:2853
#23 0x00007f1083ebcfe5 in _XError (dpy=0x14c0750, rep=0x14c5070)
    at XlibInt.c:2905
#24 0x00007f1083ec3fd2 in process_responses (dpy=0x14c0750, 
    wait_for_first_event=0, current_error=0x7fff8d0cbed8, 
    current_request=552477) at xcb_io.c:138
#25 0x00007f1083ec4388 in _XReply (dpy=0x14c0750, rep=0x7fff8d0cbf20, extra=0, 
    discard=1) at xcb_io.c:368
#26 0x00007f1083eb8dd9 in XSync (dpy=0x14c0750, discard=1) at Sync.c:48
#27 0x00007f1083e993cd in XCloseDisplay (dpy=0x14c0750) at ClDisplay.c:67
#28 0x00007f1083124a45 in qt_cleanup () at kernel/qapplication_x11.cpp:2319
#29 0x00007f10830cb0b6 in ~QApplication (this=0x7fff8d0cc130)
    at kernel/qapplication.cpp:1013
#30 0x00007f1081d5c67b in ~KApplication (this=0x7fff8d0cc130)
    at /usr/src/packages/kde4/4.1.2/kdelibs-4.1.2/kdeui/kernel/kapplication.cpp:944
#31 0x00007f1084e21c19 in ~Application (this=0x7fff8d0cc130)
    at /usr/src/packages/kde4/4.1.2/kdebase-workspace-4.1.2/kwin/main.cpp:347
#32 0x00007f1084e22f6c in kdemain (argc=3, argv=0x7fff8d0cc608)
    at /usr/src/packages/kde4/4.1.2/kdebase-workspace-4.1.2/kwin/main.cpp:511
#33 0x0000000000400883 in main (argc=3, argv=0x7fff8d0cc608)
    at /usr/src/packages/kde4/4.1.2/kdebase-workspace-4.1.2/build/kwin/kwin_dummy.cpp:3
#0  0x00007f10810e39b0 in __nanosleep_nocancel () from /lib/libc.so.6
Comment 31 Maarten Wisse 2008-10-17 21:49:38 UTC
I can confirm this problem. It persists here with KDE 4.1.2 and QT 4.4.2 on Gentoo. I have similar segfaults in many other applications on closing session.
Comment 32 lucas 2008-11-10 03:51:11 UTC
*** Bug 174747 has been marked as a duplicate of this bug. ***
Comment 33 lucas 2008-11-10 07:58:53 UTC
*** Bug 174766 has been marked as a duplicate of this bug. ***
Comment 34 lucas 2008-11-12 03:15:31 UTC
*** Bug 174884 has been marked as a duplicate of this bug. ***
Comment 35 Alexey Chernov 2008-11-15 20:32:43 UTC
Seems to be absent in KDE 4.1.3. Though I switched off all the compositing and switched to ATI, I think it's solved, because on KDE 4.1.2 the bug appeared even with new configuration. I will wait for a week more to be absolutely sure and if it's not appear will close this report.
Comment 36 Maarten Wisse 2008-11-15 20:42:04 UTC
No, not solved at all with 4.1.3, at least not on my box. I still get all the problems on exit. But perhaps you also switched to qt 4.4.3? Gentoo is still on 4.4.2.
Comment 37 Alexey Chernov 2008-11-15 20:46:36 UTC
Yes, Qt is 4.4.3, but on KDE 4.1.2 there were crashes even with this version... But as you confirm the bug for 4.1.3/4.4.2 perhaps it depends on both packages.
Comment 38 FiNeX 2008-11-19 20:25:23 UTC
Changed severity to "crash". I hope to have selected only the right bugs (>100) :-)
Comment 39 Alexey Chernov 2008-11-19 20:46:04 UTC
Thank you. The crash suddenly came back...
I've a little bit analyzed several reports of KWin crash on 4.1.2 and 4.1.3 and also with nvidia proprietary and ati radeonhd drivers (on 4.1.2 only). So here's results:
1. All the nvidia crash reports are quite similar and differ only with address. I've took a dozen of them and all are almost the same (line to line).
2. I've took a couple of crash reports on ati (4.1.2), radeonhd and they are quite similar to nvidia's ones, too. The first is almost the same (line to line,except addresses), the second has no QCache::clear(), ~QCache and ~OxygenHelper functions in it, all the rest is almost the same, too.
3. 4.1.3 and 4.1.2 reports considerably differs. But the bottom function is the same.
I will post here three reports (nvidia, ati-2, 4.1.3(ati)). And I have a question: could it be Xorg the cause of bugs? Seems to be a lot of X functions in the reports, and I have 7.2 version, because I can't compile the latest ones.
Comment 40 Alexey Chernov 2008-11-19 20:47:16 UTC
nvidia crash report:
Приложение: KWin (kwin), сигнал SIGABRT
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x7f070b8cc750 (LWP 4617)]
[KCrash handler]
#5  0x00007f07078b855b in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
#6  0x00007f07078b990e in *__GI_abort () at abort.c:88
#7  0x00007f07078b1b0f in *__GI___assert_fail (
    assertion=0x7f0706e719bb "!c->xlib.lock", 
    file=0x7f0706e719b0 "xcb_xlib.c", line=42, 
    function=0x7f0706e71a10 "xcb_xlib_lock") at assert.c:78
#8  0x00007f0706e71951 in xcb_xlib_lock (c=0x1e501a0) at xcb_xlib.c:42
#9  0x00007f070a6fc723 in _XCBLockDisplay (dpy=0x1e3a740) at xcb_lock.c:21
#10 0x00007f07088a9776 in XRenderFreePicture (dpy=0x1e3a740, picture=18874523)
    at Picture.c:236
#11 0x00007f07099b8fc3 in QX11PixmapData::release (this=0x21622d0)
    at image/qpixmap_x11.cpp:1173
#12 0x00007f07099b9324 in ~QX11PixmapData (this=0x1209)
    at image/qpixmap_x11.cpp:1149
#13 0x00007f07099b09ad in QPixmap::deref (this=0x2033420)
    at image/qpixmap.cpp:1258
#14 0x00007f07099b09f4 in ~QPixmap (this=0x1209) at image/qpixmap.cpp:320
#15 0x00007f06ff323ab8 in QCache<unsigned long long, QPixmap>::clear (
    this=0x1f16818) at /usr/include/QtCore/qcache.h:134
#16 0x00007f06ff323b11 in ~QCache (this=0x1f16818)
    at /usr/include/QtCore/qcache.h:98
#17 0x00007f06ff323b4b in ~OxygenHelper (this=0x1f167c0)
    at /usr/src/packages/kde4/4.1.2/kdebase-workspace-4.1.2/kwin/clients/ozone/lib/helper.h:39
#18 0x00007f06ff324e87 in destroy ()
    at /usr/src/packages/kde4/4.1.2/kdebase-workspace-4.1.2/kwin/clients/ozone/oxygenclient.cpp:65
#19 0x00007f06ff327373 in ~KCleanUpGlobalStatic (this=0x7f06ff42df88)
    at /usr/include/KDE/../kglobal.h:67
#20 0x00007f06ff324e3a in __tcf_0 ()
    at /usr/src/packages/kde4/4.1.2/kdebase-workspace-4.1.2/kwin/clients/ozone/oxygenclient.cpp:65
#21 0x00007f07078baeb9 in *__GI_exit (status=1) at exit.c:75
#22 0x00007f070a6f5f18 in _XDefaultError (dpy=0x1e3a740, event=0x7fff139055b0)
    at XlibInt.c:2853
#23 0x00007f070a6f5fe5 in _XError (dpy=0x1e3a740, rep=0x2a1ad30)
    at XlibInt.c:2905
#24 0x00007f070a6fcfd2 in process_responses (dpy=0x1e3a740, 
    wait_for_first_event=0, current_error=0x7fff13905708, 
    current_request=4435509) at xcb_io.c:138
#25 0x00007f070a6fd388 in _XReply (dpy=0x1e3a740, rep=0x7fff13905750, extra=0, 
    discard=1) at xcb_io.c:368
#26 0x00007f070a6f1dd9 in XSync (dpy=0x1e3a740, discard=1) at Sync.c:48
#27 0x00007f070a6d23cd in XCloseDisplay (dpy=0x1e3a740) at ClDisplay.c:67
#28 0x00007f070995da45 in qt_cleanup () at kernel/qapplication_x11.cpp:2319
#29 0x00007f07099040b6 in ~QApplication (this=0x7fff13905960)
    at kernel/qapplication.cpp:1013
#30 0x00007f070859567b in ~KApplication (this=0x7fff13905960)
    at /usr/src/packages/kde4/4.1.2/kdelibs-4.1.2/kdeui/kernel/kapplication.cpp:944
#31 0x00007f070b65ac19 in ~Application (this=0x7fff13905960)
    at /usr/src/packages/kde4/4.1.2/kdebase-workspace-4.1.2/kwin/main.cpp:347
#32 0x00007f070b65bf6c in kdemain (argc=3, argv=0x7fff13905e38)
    at /usr/src/packages/kde4/4.1.2/kdebase-workspace-4.1.2/kwin/main.cpp:511
#33 0x0000000000400883 in main (argc=3, argv=0x7fff13905e38)
    at /usr/src/packages/kde4/4.1.2/kdebase-workspace-4.1.2/build/kwin/kwin_dummy.cpp:3
#0  0x00007f070791c9b0 in __nanosleep_nocancel () from /lib/libc.so.6
Comment 41 Alexey Chernov 2008-11-19 20:47:53 UTC
ati-2 crash report (which differs from nvidia ones):
Приложение: KWin (kwin), сигнал SIGABRT
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x7f0a8e600710 (LWP 3579)]
[KCrash handler]
#5  0x00007f0a8a62455b in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
#6  0x00007f0a8a62590e in *__GI_abort () at abort.c:88
#7  0x00007f0a8a61db0f in *__GI___assert_fail (
    assertion=0x7f0a89bde9bb "!c->xlib.lock", 
    file=0x7f0a89bde9b0 "xcb_xlib.c", line=42, 
    function=0x7f0a89bdea10 "xcb_xlib_lock") at assert.c:78
#8  0x00007f0a89bde951 in xcb_xlib_lock (c=0x1abc5c0) at xcb_xlib.c:42
#9  0x00007f0a8d42f723 in _XCBLockDisplay (dpy=0x1ab5fc0) at xcb_lock.c:21
#10 0x00007f0a8b615776 in XRenderFreePicture (dpy=0x1ab5fc0, picture=18918038)
    at Picture.c:236
#11 0x00007f0a8c6ebfc3 in QX11PixmapData::release (this=0x1f4d150)
    at image/qpixmap_x11.cpp:1173
#12 0x00007f0a8c6ec324 in ~QX11PixmapData (this=0xdfb)
    at image/qpixmap_x11.cpp:1149
#13 0x00007f0a8c6e39ad in QPixmap::deref (this=0x7f0a8e51d950)
    at image/qpixmap.cpp:1258
#14 0x00007f0a8c6e3a54 in ~QPixmap (this=0xdfb) at image/qpixmap.cpp:320
#15 0x00007f0a8e37b300 in __tcf_0 ()
    at /usr/src/packages/kde4/4.1.2/kdebase-workspace-4.1.2/kwin/client.cpp:1738
#16 0x00007f0a8a626eb9 in *__GI_exit (status=1) at exit.c:75
#17 0x00007f0a8d428f18 in _XDefaultError (dpy=0x1ab5fc0, event=0x7fff96636270)
    at XlibInt.c:2853
#18 0x00007f0a8d428fe5 in _XError (dpy=0x1ab5fc0, rep=0x1d1ddd0)
    at XlibInt.c:2905
#19 0x00007f0a8d42ffd2 in process_responses (dpy=0x1ab5fc0, 
    wait_for_first_event=0, current_error=0x7fff966363c8, 
    current_request=929368) at xcb_io.c:138
#20 0x00007f0a8d430388 in _XReply (dpy=0x1ab5fc0, rep=0x7fff96636410, extra=0, 
    discard=1) at xcb_io.c:368
#21 0x00007f0a8d424dd9 in XSync (dpy=0x1ab5fc0, discard=1) at Sync.c:48
#22 0x00007f0a8d4053cd in XCloseDisplay (dpy=0x1ab5fc0) at ClDisplay.c:67
#23 0x00007f0a8c690a45 in qt_cleanup () at kernel/qapplication_x11.cpp:2319
#24 0x00007f0a8c6370b6 in ~QApplication (this=0x7fff96636620)
    at kernel/qapplication.cpp:1013
#25 0x00007f0a8b30167b in ~KApplication (this=0x7fff96636620)
    at /usr/src/packages/kde4/4.1.2/kdelibs-4.1.2/kdeui/kernel/kapplication.cpp:944
#26 0x00007f0a8e38dc19 in ~Application (this=0x7fff96636620)
    at /usr/src/packages/kde4/4.1.2/kdebase-workspace-4.1.2/kwin/main.cpp:347
#27 0x00007f0a8e38ef6c in kdemain (argc=3, argv=0x7fff96636af8)
    at /usr/src/packages/kde4/4.1.2/kdebase-workspace-4.1.2/kwin/main.cpp:511
#28 0x0000000000400883 in main (argc=3, argv=0x7fff96636af8)
    at /usr/src/packages/kde4/4.1.2/kdebase-workspace-4.1.2/build/kwin/kwin_dummy.cpp:3
#0  0x00007f0a8a6889b0 in __nanosleep_nocancel () from /lib/libc.so.6
Comment 42 Alexey Chernov 2008-11-19 20:48:28 UTC
4.1.3 (ati) report:
Приложение: KWin (kwin), сигнал SIGABRT
Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x7fea5a83e710 (LWP 3631)]
[KCrash handler]
#5  0x00007fea5686399b in raise () from /lib64/libc.so.6
#6  0x00007fea56864d4e in abort () from /lib64/libc.so.6
#7  0x00007fea5685ccef in __assert_fail () from /lib64/libc.so.6
#8  0x00007fea55e1d951 in xcb_xlib_lock (c=0x1af0e00) at xcb_xlib.c:42
#9  0x00007fea59671723 in _XCBLockDisplay (dpy=0x1aea7c0) at xcb_lock.c:21
#10 0x00007fea57857776 in XRenderFreePicture (dpy=0x1aea7c0, picture=18988606)
    at Picture.c:236
#11 0x00007fea5892dfc3 in QX11PixmapData::release (this=0x1fd3030)
    at image/qpixmap_x11.cpp:1173
#12 0x00007fea5892e324 in ~QX11PixmapData (this=0xe2f)
    at image/qpixmap_x11.cpp:1149
#13 0x00007fea589259ad in QPixmap::deref (this=0x7fea5a75f950)
    at image/qpixmap.cpp:1258
#14 0x00007fea58925a54 in ~QPixmap (this=0xe2f) at image/qpixmap.cpp:320
#15 0x00007fea5a5bd300 in __tcf_0 ()
    at /usr/src/packages/kde4/4.1.3/kdebase-workspace-4.1.3/kwin/client.cpp:1739
#16 0x00007fea56866389 in exit () from /lib64/libc.so.6
#17 0x00007fea5966af18 in _XDefaultError (dpy=0x1aea7c0, event=0x7fff628784b0)
    at XlibInt.c:2853
#18 0x00007fea5966afe5 in _XError (dpy=0x1aea7c0, rep=0x2006370)
    at XlibInt.c:2905
#19 0x00007fea59671fd2 in process_responses (dpy=0x1aea7c0, 
    wait_for_first_event=0, current_error=0x7fff62878608, 
    current_request=3768787) at xcb_io.c:138
#20 0x00007fea59672388 in _XReply (dpy=0x1aea7c0, rep=0x7fff62878650, extra=0, 
    discard=1) at xcb_io.c:368
#21 0x00007fea59666dd9 in XSync (dpy=0x1aea7c0, discard=1) at Sync.c:48
#22 0x00007fea596473cd in XCloseDisplay (dpy=0x1aea7c0) at ClDisplay.c:67
#23 0x00007fea588d2a45 in qt_cleanup () at kernel/qapplication_x11.cpp:2319
#24 0x00007fea588790b6 in ~QApplication (this=0x7fff62878860)
    at kernel/qapplication.cpp:1013
#25 0x00007fea57542a0f in ~KApplication (this=0x7fff62878860)
    at /usr/src/packages/kde4/4.1.3/kdelibs-4.1.3/kdeui/kernel/kapplication.cpp:944
#26 0x00007fea5a5cfc49 in ~Application (this=0x7fff62878860)
    at /usr/src/packages/kde4/4.1.3/kdebase-workspace-4.1.3/kwin/main.cpp:347
#27 0x00007fea5a5d0f9c in kdemain (argc=3, argv=0x7fff62878d38)
    at /usr/src/packages/kde4/4.1.3/kdebase-workspace-4.1.3/kwin/main.cpp:511
#28 0x0000000000400883 in main (argc=3, argv=0x7fff62878d38)
    at /usr/src/packages/kde4/4.1.3/kdebase-workspace-4.1.3/build/kwin/kwin_dummy.cpp:3
#0  0x00007fea568ca640 in __nanosleep_nocancel () from /lib64/libc.so.6
Comment 43 lucas 2008-11-28 04:13:38 UTC
*** Bug 176297 has been marked as a duplicate of this bug. ***
Comment 44 Dario Andres 2008-12-19 12:52:48 UTC
I've experienced this bug yesterday on shutdown :(

Here using:

Qt: 4.4.3 + qtcopy-patches 889120
KDE: 4.1.85 (KDE 4.1.85 (KDE 4.2 Beta2))
kdelibs svn rev. 898705 / kdebase svn rev. 898705
xorg-server 1.5.3
xf86-video-intel 2.4.3 (on Intel GMA x3100 - 965)
inter-dri 7.2
libice 1.0.4
libsm 1.1.0

on ArchLinux x86_64 - Kernel 2.6.27.8

KMix crashed with the following backtrace:

Application: KMix (kmix), signal SIGSEGV
0x00007fb6ed7c3fd0 in __nanosleep_nocancel () from /lib/libc.so.6

Thread 1 (Thread 0x7fb6f11af750 (LWP 5449)):
[KCrash Handler]
#5  0x00007fb6ee9933d2 in QX11PixmapData::release (this=0x1720930) at image/qpixmap_x11.cpp:1192
#6  0x00007fb6ee993d23 in ~QX11PixmapData (this=0x0) at image/qpixmap_x11.cpp:1168
#7  0x00007fb6ee98a6c3 in QPixmap::deref (this=0x1717e70) at image/qpixmap.cpp:1258
#8  0x00007fb6ee98b527 in ~QPixmap (this=0x0) at image/qpixmap.cpp:320
#9  0x00007fb6e7620b1c in ~TileSet (this=0x1717da0) at /home/kde-devel/kde/src/KDE/kdebase/runtime/kstyles/oxygen/tileset.h:61
#10 0x00007fb6e762ce27 in ~OxygenStyleHelper (this=0xfb7560) at /usr/include/QtCore/qcache.h:134
#11 0x00007fb6ed759c6d in exit () from /lib/libc.so.6
#12 0x00007fb6ec906b74 in _IceDefaultIOErrorHandler () from /usr/lib/libICE.so.6
#13 0x00007fb6ec90d524 in IceFlush () from /usr/lib/libICE.so.6
#14 0x00007fb6ecb1d714 in SmcCloseConnection () from /usr/lib/libSM.so.6
#15 0x00007fb6ee9314d7 in ~QSessionManager (this=0xfbbab0) at kernel/qapplication_x11.cpp:5262
#16 0x00007fb6ee8e0a78 in ~QApplication (this=0xf42290) at kernel/qapplication.cpp:1018
#17 0x00007fb6f0ebafe9 in ~KMixApp (this=0xf42290) at /home/kde-devel/kde/src/KDE/kdemultimedia/kmix/KMixApp.cpp:45
#18 0x00007fb6f0e9567a in kdemain (argc=3, argv=0x7ffff92ef6f8) at /home/kde-devel/kde/src/KDE/kdemultimedia/kmix/main.cpp:72
#19 0x00007fb6ed743546 in __libc_start_main () from /lib/libc.so.6
#20 0x0000000000400729 in _start ()

----

Plasma also crashed with the following backtrace:

Application: Plasma Workspace (plasma), signal SIGSEGV
0x00007fa810667001 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 5414)]

Thread 8 (Thread 0x7fa7f7346950 (LWP 5416)):
#0  0x00007fa8110ccd69 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa81133cb55 in QWaitCondition::wait (this=0x23bbc90, mutex=0x23bbc88, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00007fa8024f4650 in RenderThread::run (this=0x23bbc78) at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/wallpapers/image/renderthread.cpp:91
#3  0x00007fa81133bf99 in QThreadPrivate::start (arg=0x23bbc78) at thread/qthread_unix.cpp:185
#4  0x00007fa8110c8fc7 in start_thread () from /lib/libpthread.so.0
#5  0x00007fa8106975dd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fa7f62fe950 (LWP 5560)):
#0  0x00007fa8110ccd69 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa81133cb55 in QWaitCondition::wait (this=0x2495620, mutex=0x2495618, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00007fa8024f4650 in RenderThread::run (this=0x2495608) at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/wallpapers/image/renderthread.cpp:91
#3  0x00007fa81133bf99 in QThreadPrivate::start (arg=0x2495608) at thread/qthread_unix.cpp:185
#4  0x00007fa8110c8fc7 in start_thread () from /lib/libpthread.so.0
#5  0x00007fa8106975dd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fa7f5714950 (LWP 5561)):
#0  0x00007fa8110ccd69 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa81133cb55 in QWaitCondition::wait (this=0x2393480, mutex=0x2393478, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00007fa8024f4650 in RenderThread::run (this=0x2393468) at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/wallpapers/image/renderthread.cpp:91
#3  0x00007fa81133bf99 in QThreadPrivate::start (arg=0x2393468) at thread/qthread_unix.cpp:185
#4  0x00007fa8110c8fc7 in start_thread () from /lib/libpthread.so.0
#5  0x00007fa8106975dd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fa7f4f13950 (LWP 5563)):
#0  0x00007fa8110ccd69 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa81133cb55 in QWaitCondition::wait (this=0x2411878, mutex=0x2a7d4c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00007fa80f87d417 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2411850, th=0x2a2fd00) at /home/kde-devel/kde/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007fa80f880768 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2c2b4d0, th=0x2a2fd00) at /home/kde-devel/kde/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007fa80f880781 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2c2b4d0, th=0x2a2fd00) at /home/kde-devel/kde/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
#5  0x00007fa80f87ed44 in ThreadWeaver::ThreadRunHelper::run (this=0x7fa7f4f13000, parent=0x2411850, th=0x2a2fd00) at /home/kde-devel/kde/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fa80f87ee1e in ThreadWeaver::Thread::run (this=0x2a2fd00) at /home/kde-devel/kde/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fa81133bf99 in QThreadPrivate::start (arg=0x2a2fd00) at thread/qthread_unix.cpp:185
#8  0x00007fa8110c8fc7 in start_thread () from /lib/libpthread.so.0
#9  0x00007fa8106975dd in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa7f6aff950 (LWP 5873)):
#0  0x00007fa810690d02 in select () from /lib/libc.so.6
#1  0x00007fa8113fd035 in QProcessManager::run (this=0x1e53d70) at io/qprocess_unix.cpp:301
#2  0x00007fa81133bf99 in QThreadPrivate::start (arg=0x1e53d70) at thread/qthread_unix.cpp:185
#3  0x00007fa8110c8fc7 in start_thread () from /lib/libpthread.so.0
#4  0x00007fa8106975dd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa7eee56950 (LWP 8458)):
#0  0x00007fa8110ccd69 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa81133cb55 in QWaitCondition::wait (this=0x2411878, mutex=0x2a7d4c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00007fa80f87d417 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2411850, th=0x39a92e0) at /home/kde-devel/kde/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007fa80f880768 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2c2b4d0, th=0x39a92e0) at /home/kde-devel/kde/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007fa80f87ed44 in ThreadWeaver::ThreadRunHelper::run (this=0x7fa7eee56000, parent=0x2411850, th=0x39a92e0) at /home/kde-devel/kde/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:87
#5  0x00007fa80f87ee1e in ThreadWeaver::Thread::run (this=0x39a92e0) at /home/kde-devel/kde/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:142
#6  0x00007fa81133bf99 in QThreadPrivate::start (arg=0x39a92e0) at thread/qthread_unix.cpp:185
#7  0x00007fa8110c8fc7 in start_thread () from /lib/libpthread.so.0
#8  0x00007fa8106975dd in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa7f02fa950 (LWP 8459)):
#0  0x00007fa8110ccd69 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa81133cb55 in QWaitCondition::wait (this=0x3e9b900, mutex=0x3e9b8f8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00007fa8024f4650 in RenderThread::run (this=0x3e9b8e8) at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/wallpapers/image/renderthread.cpp:91
#3  0x00007fa81133bf99 in QThreadPrivate::start (arg=0x3e9b8e8) at thread/qthread_unix.cpp:185
#4  0x00007fa8110c8fc7 in start_thread () from /lib/libpthread.so.0
#5  0x00007fa8106975dd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa815ca1760 (LWP 5414)):
[KCrash Handler]
#5  0x00007fa811dd73d2 in QX11PixmapData::release (this=0x28e2020) at image/qpixmap_x11.cpp:1192
#6  0x00007fa811dd7d23 in ~QX11PixmapData (this=0x0) at image/qpixmap_x11.cpp:1168
#7  0x00007fa811dce6c3 in QPixmap::deref (this=0x2767390) at image/qpixmap.cpp:1258
#8  0x00007fa811dd0b07 in ~QPixmap (this=0x0) at image/qpixmap.cpp:320
#9  0x00007fa811da8347 in ~QBitmap (this=0x0) at image/qbitmap.cpp:220
#10 0x00007fa811d96f16 in QWidgetPrivate::deleteTLSysExtra (this=0x20a8af0) at kernel/qwidget_x11.cpp:2519
#11 0x00007fa811d62f54 in QWidgetPrivate::deleteExtra (this=0x20a8af0) at kernel/qwidget.cpp:1466
#12 0x00007fa811d63118 in ~QWidgetPrivate (this=0x20a8af0) at kernel/qwidget.cpp:205
#13 0x00007fa81143097d in ~QObject (this=0x20a8690) at kernel/qobject.cpp:903
#14 0x00007fa811d6fce7 in ~QWidget (this=0x20a8690) at kernel/qwidget.cpp:1351
#15 0x00007fa8036da587 in destroy () at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/applets/systemtray/protocols/fdo/fdoselectionmanager.cpp:101
#16 0x00007fa8105fcc6d in exit () from /lib/libc.so.6
#17 0x00007fa81358db74 in _IceDefaultIOErrorHandler () from /usr/lib/libICE.so.6
#18 0x00007fa813594524 in IceFlush () from /usr/lib/libICE.so.6
#19 0x00007fa8137a4714 in SmcCloseConnection () from /usr/lib/libSM.so.6
#20 0x00007fa811d754d7 in ~QSessionManager (this=0x1ec6a60) at kernel/qapplication_x11.cpp:5262
#21 0x00007fa811d24a78 in ~QApplication (this=0x1e39930) at kernel/qapplication.cpp:1018
#22 0x00007fa815998406 in ~PlasmaApp (this=0x1e39930) at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/shells/desktop/plasmaapp.cpp:243
#23 0x00007fa8159883cc in kdemain (argc=1, argv=0x7fff1dde8228) at /home/kde-devel/kde/src/KDE/kdebase/workspace/plasma/shells/desktop/main.cpp:55
#24 0x00007fa8105e6546 in __libc_start_main () from /lib/libc.so.6
#25 0x00000000004007d9 in _start ()

Comment 45 Camilla Boemann 2008-12-19 22:24:30 UTC
SVN commit 899115 by boemann:

Actually invalidate the caches of the style too and not just those shared with 
windec.

CCBUG: 163538


 M  +0 -1      lib/helper.h  
 M  +10 -7     oxygen.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=899115
Comment 46 Camilla Boemann 2008-12-19 22:31:37 UTC
with this commit I'd like to know if you people are still able to produce crashes like the last one by dario. That is, crashes where the style is mentioned (and not kwin).

The kwin part is not yet fixed, but I'm working on it. Knowing that the style part works would encourage me to look harder for a kwin fix, so please report back on your findings.

Thanks
Comment 47 Camilla Boemann 2008-12-20 05:39:19 UTC
SVN commit 899162 by boemann:

Try to do the same fix for kwin

Please svn up and test this out

CCBUG:163538


 M  +1 -1      oxygenbutton.h  
 M  +8 -0      oxygenclient.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=899162
Comment 48 Dario Andres 2008-12-31 14:59:16 UTC
*** Bug 171639 has been marked as a duplicate of this bug. ***
Comment 49 Dario Andres 2009-01-15 22:23:18 UTC
*** Bug 180874 has been marked as a duplicate of this bug. ***
Comment 50 Huynh Huu Long 2009-01-16 20:48:17 UTC
SVN commit 912150 by huynhhuu:

Backport of r899115:
Actually invalidate the caches of the style too and not just those shared with 
windec.

CCBUG: 163538



 M  +0 -1      lib/helper.h  
 M  +10 -7     oxygen.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=912150
Comment 51 FiNeX 2009-02-01 00:32:14 UTC
*** Bug 178724 has been marked as a duplicate of this bug. ***
Comment 52 Thomas Kallenberg 2009-02-02 01:01:49 UTC
I had ran into this bug today, but can't reproduce it. Don't knwo if this is the same bug. Anyway, here is the backtrace:

Application: Plasma Workspace (plasma), signal SIGSEGV
0x00007f11c20aeff1 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 4650)]

Thread 4 (Thread 0x4265a950 (LWP 4657)):
#0  0x00007f11bae28d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f11bf393159 in QWaitCondition::wait (this=0x1a18990, mutex=0x1a18988, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00007f11bca2bf4c in QHostInfoAgent::run (this=0x1a18970) at kernel/qhostinfo.cpp:241
#3  0x00007f11bf392162 in QThreadPrivate::start (arg=0x1a18970) at thread/qthread_unix.cpp:185
#4  0x00007f11bae24fc7 in start_thread () from /lib/libpthread.so.0
#5  0x00007f11c20e05ad in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x417e9950 (LWP 4661)):
#0  0x00007f11c20d9ce2 in select () from /lib/libc.so.6
#1  0x00007f11bf45a756 in QProcessManager::run (this=0x1490d40) at io/qprocess_unix.cpp:301
#2  0x00007f11bf392162 in QThreadPrivate::start (arg=0x1490d40) at thread/qthread_unix.cpp:185
#3  0x00007f11bae24fc7 in start_thread () from /lib/libpthread.so.0
#4  0x00007f11c20e05ad in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x42e5b950 (LWP 4666)):
#0  0x00007f11bae28d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f11bf393159 in QWaitCondition::wait (this=0x17b83f0, mutex=0x17b83e8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:82
#2  0x00007f11a85696f0 in RenderThread::run (this=0x17b83d8) at ../../../../plasma/wallpapers/image/renderthread.cpp:91
#3  0x00007f11bf392162 in QThreadPrivate::start (arg=0x17b83d8) at thread/qthread_unix.cpp:185
#4  0x00007f11bae24fc7 in start_thread () from /lib/libpthread.so.0
#5  0x00007f11c20e05ad in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f11c26bc730 (LWP 4650)):
[KCrash Handler]
#5  0x00007f11bf48f485 in QMetaObject::activate (sender=0x1f31820, m=<value optimized out>, local_signal_index=0, argv=0x7fffca7f9aa0) at kernel/qobject.cpp:3097
#6  0x00007f11a9a5d14f in TaskManager::AbstractGroupingStrategy::groupRemoved (this=0x7f11a9c88ac0, _t1=0x1fbca40) at ./abstractgroupingstrategy.moc:87
#7  0x00007f11a9a5e499 in ~AbstractGroupingStrategy (this=0x1f31820) at ../../../libs/taskmanager/abstractgroupingstrategy.cpp:73
#8  0x00007f11a9a65d3b in ~ProgramGroupingStrategy (this=0x1f31820) at ../../../libs/taskmanager/strategies/programgroupingstrategy.cpp:62
#9  0x00007f11a9a61a27 in ~GroupManager (this=0x175fd50) at ../../../libs/taskmanager/groupmanager.cpp:124
#10 0x00007f11a982ce28 in ~Tasks (this=0x177a650) at ../../../../plasma/applets/tasks/tasks.cpp:71
#11 0x00007f11c1ccf9ae in ~Containment (this=0x15f46f0) at /usr/include/qt4/QtCore/qalgorithms.h:346
#12 0x00007f11aae8bf79 in ~Panel (this=0x7f11a9c88ac0) at ../../../../plasma/containments/panel/panel.cpp:117
#13 0x00007f11c1cded0e in ~Corona (this=0x148bfb0) at /usr/include/qt4/QtCore/qalgorithms.h:346
#14 0x00007f11c2399483 in ~DesktopCorona (this=0x7f11a9c88ac0) at ../../../../plasma/shells/desktop/desktopcorona.h:40
#15 0x00007f11c23aeeae in PlasmaApp::cleanup (this=0x1467a80) at ../../../../plasma/shells/desktop/plasmaapp.cpp:299
#16 0x00007f11c23b24a8 in PlasmaApp::qt_metacall (this=0x1467a80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffca7f9eb0) at ./plasmaapp.moc:95
#17 0x00007f11bf48e6e4 in QMetaObject::activate (sender=0x1467a80, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x4) at kernel/qobject.cpp:3031
#18 0x00007f11bf47b30d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:849
#19 0x00007f11c239d51b in kdemain (argc=1, argv=0x7fffca7fa208) at ../../../../plasma/shells/desktop/main.cpp:54
#20 0x00007f11c202f1a6 in __libc_start_main () from /lib/libc.so.6
#21 0x0000000000400629 in _start ()

Using an amd64 Debian Sid/Experimental with an Nvidia NVS 140 nvidia binary driver with kernel 2.6.29-rc3.
Comment 53 FiNeX 2009-02-02 10:10:13 UTC
@Thomas: your backtrace is more similar to bug #178076
Comment 54 Stanislav Studený 2009-02-14 13:34:10 UTC
Hello, i'm also experiencing with this bug. Here is my backtrace :

Application: KWin (kwin), signal SIGABRT
0x0000003e2969fd90 in nanosleep () from /lib/libc.so.6

Thread 1 (Thread 0x7fa593df6790 (LWP 4547)):
[KCrash Handler]
#5  0x0000003e29632205 in raise () from /lib/libc.so.6
#6  0x0000003e29633723 in abort () from /lib/libc.so.6
#7  0x0000003e2962b229 in __assert_fail () from /lib/libc.so.6
#8  0x0000003e2aa00afd in xcb_xlib_lock () from /usr/lib/libxcb-xlib.so.0
#9  0x0000003e2b641c4e in ?? () from /usr/lib64/libX11.so.6
#10 0x0000003e2e203eb7 in XRenderFreePicture () from /usr/lib64/libXrender.so.1
#11 0x0000003d9860b518 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#12 0x0000003d9860bcd2 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#13 0x0000003d98604496 in QPixmap::deref () from /usr/lib64/qt4/libQtGui.so.4
#14 0x0000003d986046c0 in QPixmap::~QPixmap () from /usr/lib64/qt4/libQtGui.so.4
#15 0x0000003d986a3e81 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#16 0x0000003d986a0866 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#17 0x0000003d985e1673 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#18 0x0000003e29634dad in exit () from /lib/libc.so.6
#19 0x0000003e2b63c4c9 in _XDefaultError () from /usr/lib64/libX11.so.6
#20 0x0000003e2b63c574 in _XError () from /usr/lib64/libX11.so.6
#21 0x0000003e2b642347 in ?? () from /usr/lib64/libX11.so.6
#22 0x0000003e2b6426ff in _XReply () from /usr/lib64/libX11.so.6
#23 0x0000003e2b638ec9 in XSync () from /usr/lib64/libX11.so.6
#24 0x0000003e2b61f01d in XCloseDisplay () from /usr/lib64/libX11.so.6
#25 0x0000003d985c3277 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#26 0x0000003d98583a21 in QApplication::~QApplication () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007fa595cb4f83 in kdemain () from /usr/lib64/libkdeinit4_kwin.so
#28 0x0000003e2961e5c6 in __libc_start_main () from /lib/libc.so.6
#29 0x0000000000400829 in _start ()
Comment 55 Stanislav Studený 2009-02-14 13:36:08 UTC
(In reply to comment #54)

I'm using KDE 4.2.0 from Gentoo portage, gcc-4.3.3, x86_64



Comment 56 Camilla Boemann 2009-02-14 17:31:16 UTC
bummer, but thanks for reporting
Comment 57 Erik de Groot 2009-02-23 20:18:54 UTC
Hi,

I think this is a new problem. I logged it here: https://bugs.kde.org/show_bug.cgi?id=182462.
Funny that this bug has been experienced by 3 gentoo users...

Best Regards,
Erik
Comment 58 Dario Andres 2009-05-15 02:39:15 UTC
Any news on this crash? I haven't seen it for a long time now.
Comment 59 Alexey Chernov 2009-05-15 17:06:55 UTC
For me it isn't reproducible, too.
Comment 60 Ruchir Brahmbhatt 2009-06-14 13:13:42 UTC
I can reproduce on kde 4.3 beta 2. Many times when I right click and quit kmail from system tray, it crash with below backtrace.

Backtrace: 
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  0x00000000 in ?? ()
#7  0xb6d7b3be in destroy () at /usr/include/QtCore/qalgorithms.h:358
#8  0xb6cafd3b in ~KCleanUpGlobalStatic (this=0xb6ea9ff4) at /usr/src/debug/kdelibs-4.2.90/kdecore/kernel/kglobal.h:62
#9  0xb5b769b1 in exit () from /lib/libc.so.6
#10 0xb5b5f70d in __libc_start_main () from /lib/libc.so.6
#11 0x08049da1 in _start () at ../sysdeps/i386/elf/start.S:119
Comment 61 Hugo Pereira Da Costa 2009-10-21 06:52:52 UTC
Hey,
The way I see it, I think most of these crashes are due to the fact that oxygen helper use 
TileSet* and QPixmap* (pointers to) all over the place.

Using QPixmap* is not necessary: QPixmap is an implicitely shared class in Qt, so that calling QPixmap copy constructor cost as much as passing a pointer around. On the other hand, not using pointers to QPixmap would let Qt take care of all the deletion, and should fix everything.

As for TileSet, since it basicaly contains only 9 QPixmap, same thing: not much gain as passing pointers around rather than value (copy constructor): copying a TileSet is basically copying 9 pointers.

To summarize, if people agree, I would try avoid totally the use of pointers to TileSet, and the use of QPixmap* inside TileSet. That would prevent any memory leak and destructor crash, unless there are issues inside Qt.

Any comment ?
Comment 62 Hugo Pereira Da Costa 2009-10-21 06:56:12 UTC
mmm. 
Ignore previous comment.
Reading again: everything seems to be handled right in the above
(I don't know where I got the wrong feeling that pointers where use everywhere).

Sorry !
Comment 63 Hugo Pereira Da Costa 2009-10-21 07:02:49 UTC
ok. I take back my previous comment.
Oxygen _do_ use pointers all over the place (of QPixmap and TileSet), because of the use of QCache. 

I would rather use QMap. (and possibly give it manually a max size to mimic the "maxCost" of QCache), and use only QPixmap and TileSet *values*, not pointers.
(in general: I hate pointers :-))
Comment 64 Hugo Pereira Da Costa 2010-06-02 02:53:13 UTC
Any news on this bug since kde 4.4 ? 
The way the decoHelper is handled is now different from earlier releases (up to kde4.3). It should be deleted earlier when unallocating the decoration (notably at logout), hopefully fixing the destuction conflicts. 
Will mark as need-info.
Feel free to re-open if this crash still persists.
Comment 65 Alex 2010-11-10 18:01:29 UTC
Created attachment 53300 [details]
New crash information added by DrKonqi

plasma-desktop (0.3) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

- What I was doing when the application crashed:

I had been rebooting my computer. Plasma crashed and rebooting stopped.

-- Backtrace (Reduced):
#10 0x0116a180 in QString::free (d=0xa96a078) at tools/qstring.cpp:1151
#11 0x0025efab in ~QString (this=0x4d0, it=...) at ../../include/QtCore/../../src/corelib/tools/qstring.h:882
#12 ~QHashNode (this=0x4d0, it=...) at ../../include/QtCore/../../src/corelib/tools/qhash.h:217
#13 deleteNode2 (this=0x4d0, it=...) at ../../include/QtCore/../../src/corelib/tools/qhash.h:519
#14 deleteNode (this=0x4d0, it=...) at ../../include/QtCore/../../src/corelib/tools/qhash.h:507
Comment 66 Hugo Pereira Da Costa 2010-11-10 18:31:09 UTC
Comment #65 seems to be completely unrelated. To the (supposedly fixed) bug this report is about. Looking at the crash report I see problems with deleting the dbus session and nothing refering to oxygen. I would suggest opening a new bug report and assign it to plasma.
Comment 67 Andrew Crouthamel 2018-09-19 14:33:04 UTC
This bug has had its resolution changed, but accidentally has been left in NEEDSINFO status. I am thus closing this bug and setting the status as RESOLVED to reflect the resolution change.