Bug 293182 - Kwin crash at logout (KDE 4.8.00 - OpenSuSE 12.1)
Summary: Kwin crash at logout (KDE 4.8.00 - OpenSuSE 12.1)
Status: RESOLVED DUPLICATE of bug 282933
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: 4.8.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 301165 302768 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-02-03 02:51 UTC by mitsaras
Modified: 2012-09-19 20:07 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (2.65 KB, text/plain)
2012-02-10 17:01 UTC, Vadym Krevs
Details
New crash information added by DrKonqi (3.50 KB, text/plain)
2012-03-19 08:39 UTC, a.pronobis
Details
New crash information added by DrKonqi (3.60 KB, text/plain)
2012-04-05 21:06 UTC, a.pronobis
Details
New crash information added by DrKonqi (3.62 KB, text/plain)
2012-05-06 21:55 UTC, michael.wagner
Details
New crash information added by DrKonqi (4.24 KB, text/plain)
2012-05-15 20:03 UTC, JC
Details
New crash information added by DrKonqi (3.78 KB, text/plain)
2012-06-13 18:27 UTC, l.mierzwa
Details
New crash information added by DrKonqi (3.83 KB, text/plain)
2012-07-05 22:11 UTC, l.mierzwa
Details
New crash information added by DrKonqi (3.69 KB, text/plain)
2012-08-28 17:37 UTC, Thomas Dreibholz
Details
New crash information added by DrKonqi (2.65 KB, text/plain)
2012-08-29 15:41 UTC, Vit Pelcak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mitsaras 2012-02-03 02:51:25 UTC
Application: kwin (4.8.00 (4.8.0 "release 462")
KDE Platform Version: 4.8.00 (4.8.0 "release 462"
Qt Version: 4.8.0
Operating System: Linux 3.1.9-1.4-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
Tried to log out while Google Chrome was the only application that was still running

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ff1ba4817a0 (LWP 1755))]

Thread 2 (Thread 0x7ff19e098700 (LWP 1786)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff1b673a942 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7ff1b6a33e80) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007ff1b673a979 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007ff1b5ee02da in ?? () from /usr/X11R6/lib64/libGL.so.1
#4  0x00007ff1b4ff2f05 in start_thread (arg=0x7ff19e098700) at pthread_create.c:301
#5  0x00007ff1b9cbe63d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7ff1ba4817a0 (LWP 1755)):
[KCrash Handler]
#6  0x00000000014d60c0 in ?? ()
#7  0x00007ff1ba042f6a in KWin::Deleted::copyToDeleted (this=0x181e410, c=0x22f5f00) at /usr/src/debug/kde-workspace-4.8.0/kwin/deleted.cpp:78
#8  0x00007ff1ba0431ed in KWin::Deleted::create (c=0x22f5f00) at /usr/src/debug/kde-workspace-4.8.0/kwin/deleted.cpp:53
#9  0x00007ff1ba024900 in KWin::Unmanaged::release (this=0x22f5f00) at /usr/src/debug/kde-workspace-4.8.0/kwin/unmanaged.cpp:85
#10 0x00007ff1b9fbd54d in KWin::Workspace::~Workspace (this=0x862550, __in_chrg=<optimized out>) at /usr/src/debug/kde-workspace-4.8.0/kwin/workspace.cpp:533
#11 0x00007ff1b9fbddb9 in KWin::Workspace::~Workspace (this=0x862550, __in_chrg=<optimized out>) at /usr/src/debug/kde-workspace-4.8.0/kwin/workspace.cpp:563
#12 0x00007ff1b9fd4835 in KWin::Application::~Application (this=0x7ffffe381430, __in_chrg=<optimized out>) at /usr/src/debug/kde-workspace-4.8.0/kwin/main.cpp:340
#13 0x00007ff1b9fd71c4 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kde-workspace-4.8.0/kwin/main.cpp:511
#14 0x00007ff1b9c0623d in __libc_start_main (main=0x400650 <main(int, char**)>, argc=1, ubp_av=0x7ffffe381b58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffffe381b48) at libc-start.c:226
#15 0x0000000000400681 in _start () at ../sysdeps/x86_64/elf/start.S:113

Possible duplicates by query: bug 286637, bug 282933.

Reported using DrKonqi
Comment 1 Thomas Lübking 2012-02-03 17:45:08 UTC
smells like 

if (!c->readyForPainting()) {
        QTimer::singleShot(0, this, SLOT(discard()));
    }

would act synchronous (possibly because the eventchain is currently dying?)

if (!c->readyForPainting()) {
       deleteLater();
       return;
    }

but we probably got to revert that workaround for other reasons anyway.
Comment 2 Vadym Krevs 2012-02-10 17:01:40 UTC
Created attachment 68683 [details]
New crash information added by DrKonqi

kwin (4.8.00 (4.8.0 "release 2") on KDE Platform 4.8.00 (4.8.0 "release 462" using Qt 4.8.0

- What I was doing when the application crashed:
Attempted to log off, and kwin crashed. 
That's it.

-- Backtrace (Reduced):
#7  0x00007ffb9ba6ff6a in KWin::Deleted::copyToDeleted (this=0xab1810, c=0xc5ac10) at /usr/src/debug/kde-workspace-4.8.0/kwin/deleted.cpp:78
#8  0x00007ffb9ba701ed in KWin::Deleted::create (c=0xc5ac10) at /usr/src/debug/kde-workspace-4.8.0/kwin/deleted.cpp:53
#9  0x00007ffb9ba51900 in KWin::Unmanaged::release (this=0xc5ac10) at /usr/src/debug/kde-workspace-4.8.0/kwin/unmanaged.cpp:85
#10 0x00007ffb9b9ea54d in KWin::Workspace::~Workspace (this=0x7b08a0, __in_chrg=<optimized out>) at /usr/src/debug/kde-workspace-4.8.0/kwin/workspace.cpp:533
#11 0x00007ffb9b9eadb9 in KWin::Workspace::~Workspace (this=0x7b08a0, __in_chrg=<optimized out>) at /usr/src/debug/kde-workspace-4.8.0/kwin/workspace.cpp:563
Comment 3 Martin Flöser 2012-03-09 07:35:52 UTC
IIRC the issue pointed out in comment #1 has been reverted for 4.8.1. So it is quite possible that this crash had been fixed in 4.8.1.

In case you are still able to reproduce the issue with 4.8.1, please reopen the bug report. Thanks.
Comment 4 Thomas Lübking 2012-03-09 15:34:35 UTC
Nope, commit -if actual culprit and Qt behavior- is still in.
Comment 5 a.pronobis 2012-03-19 08:39:12 UTC
Created attachment 69727 [details]
New crash information added by DrKonqi

kwin (4.8.1 (4.8.1)) on KDE Platform 4.8.1 (4.8.1) using Qt 4.8.0

- What I was doing when the application crashed:
Exitting KDE 4.8.1 with only chrome running.

-- Backtrace (Reduced):
#7  0x00007fc699aee43a in KWin::Deleted::copyToDeleted (this=0x19c6990, c=0x19c9c00) at ../../kwin/deleted.cpp:78
#8  0x00007fc699aee6bd in KWin::Deleted::create (c=0x19c9c00) at ../../kwin/deleted.cpp:53
#9  0x00007fc699ad0050 in KWin::Unmanaged::release (this=0x19c9c00) at ../../kwin/unmanaged.cpp:85
#10 0x00007fc699a68a6d in KWin::Workspace::~Workspace (this=0xfac2e0, __in_chrg=<optimized out>) at ../../kwin/workspace.cpp:533
#11 0x00007fc699a692d9 in KWin::Workspace::~Workspace (this=0xfac2e0, __in_chrg=<optimized out>) at ../../kwin/workspace.cpp:563
Comment 6 a.pronobis 2012-04-05 21:06:48 UTC
Created attachment 70182 [details]
New crash information added by DrKonqi

kwin (4.8.2 (4.8.2)) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.1

- What I was doing when the application crashed:
Exitting KDE with only chrome and yakuake running. This bug apparently still exists in 4.8.2

-- Backtrace (Reduced):
#7  0x00007f4820e9965a in KWin::Deleted::copyToDeleted (this=0x2c2d3a0, c=0x31191b0) at ../../kwin/deleted.cpp:78
#8  0x00007f4820e998dd in KWin::Deleted::create (c=0x31191b0) at ../../kwin/deleted.cpp:53
#9  0x00007f4820e7b2a0 in KWin::Unmanaged::release (this=0x31191b0) at ../../kwin/unmanaged.cpp:85
#10 0x00007f4820e13bed in KWin::Workspace::~Workspace (this=0x2426120, __in_chrg=<optimized out>) at ../../kwin/workspace.cpp:533
#11 0x00007f4820e14459 in KWin::Workspace::~Workspace (this=0x2426120, __in_chrg=<optimized out>) at ../../kwin/workspace.cpp:563
Comment 7 michael.wagner 2012-05-06 21:55:49 UTC
Created attachment 70908 [details]
New crash information added by DrKonqi

kwin (4.8.2 (4.8.2)) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.1

- What I was doing when the application crashed:

kwin crashed when trying to shut down the laptop.
Occured with kde 4.8.2-0ubuntu1 on ubuntu 12.04

-- Backtrace (Reduced):
#7  0x00007f00b05bb6ca in KWin::Deleted::copyToDeleted (this=0x1b92f00, c=0x1ff2760) at ../../kwin/deleted.cpp:78
#8  0x00007f00b05bb94d in KWin::Deleted::create (c=0x1ff2760) at ../../kwin/deleted.cpp:53
#9  0x00007f00b059d310 in KWin::Unmanaged::release (this=0x1ff2760) at ../../kwin/unmanaged.cpp:85
#10 0x00007f00b0535c5d in KWin::Workspace::~Workspace (this=0x18e90c0, __in_chrg=<optimized out>) at ../../kwin/workspace.cpp:533
#11 0x00007f00b05364c9 in KWin::Workspace::~Workspace (this=0x18e90c0, __in_chrg=<optimized out>) at ../../kwin/workspace.cpp:563
Comment 9 JC 2012-05-15 20:03:12 UTC
Created attachment 71116 [details]
New crash information added by DrKonqi

kwin (4.8.2 (4.8.2)) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.1

- What I was doing when the application crashed: Pushed power button, that made a dialog prompt for restart,logout, etc. I chose shutdown. I keep 4 desktops whether 2 or 5 the same happens. I keep a dolphin window open with 5tabs in it. Kwrite with 3 small scripts and or readme text files. Virtual box on one desktop, but I always shut it down first. Firefox with lots of tabs, I always close that right before shutdown. 

- Custom settings of the application:
Alternate window decorations and icons. Installed gnome 3 (From Sources) after I installed Kubuntu 12.0.4. It does not work correctly.  Suspect that having an effect. I do have compiz effects enabled with kde compatibility marked..

-- Backtrace (Reduced):
#7  0x00007f6edcf4b6ca in KWin::Deleted::copyToDeleted (this=0x3707180, c=0x5066f80) at ../../kwin/deleted.cpp:78
#8  0x00007f6edcf4b94d in KWin::Deleted::create (c=0x5066f80) at ../../kwin/deleted.cpp:53
#9  0x00007f6edcf2d310 in KWin::Unmanaged::release (this=0x5066f80) at ../../kwin/unmanaged.cpp:85
#10 0x00007f6edcec5c5d in KWin::Workspace::~Workspace (this=0x251ca40, __in_chrg=<optimized out>) at ../../kwin/workspace.cpp:533
#11 0x00007f6edcec64c9 in KWin::Workspace::~Workspace (this=0x251ca40, __in_chrg=<optimized out>) at ../../kwin/workspace.cpp:563
Comment 10 Thomas Lübking 2012-06-04 18:17:51 UTC
*** Bug 301165 has been marked as a duplicate of this bug. ***
Comment 11 Thomas Lübking 2012-06-04 18:20:59 UTC
please anybody report whether this is reproducible in 4.9 (or any of it's betas)
Comment 12 l.mierzwa 2012-06-13 18:27:58 UTC
Created attachment 71805 [details]
New crash information added by DrKonqi

kwin (4.8.3 (4.8.3)) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.1

- What I was doing when the application crashed:

Crashed during logout, it happens from time to time.

-- Backtrace (Reduced):
#7  0x00007fa7092a16ca in KWin::Deleted::copyToDeleted (this=0x34fcae0, c=0x3619ef0) at ../../kwin/deleted.cpp:78
#8  0x00007fa7092a194d in KWin::Deleted::create (c=0x3619ef0) at ../../kwin/deleted.cpp:53
#9  0x00007fa709283310 in KWin::Unmanaged::release (this=0x3619ef0) at ../../kwin/unmanaged.cpp:85
#10 0x00007fa70921bc5d in KWin::Workspace::~Workspace (this=0x258a5f0, __in_chrg=<optimized out>) at ../../kwin/workspace.cpp:533
#11 0x00007fa70921c4c9 in KWin::Workspace::~Workspace (this=0x258a5f0, __in_chrg=<optimized out>) at ../../kwin/workspace.cpp:563
Comment 13 junior 2012-06-13 23:17:21 UTC
Comment on attachment 71805 [details]
New crash information added by DrKonqi

desktop cube animation does not work. 
what to do?
Comment 14 Thomas Lübking 2012-06-13 23:33:15 UTC
(In reply to comment #13)
> what to do?
Unless you can recompile with a patch - wait for 4.9, it will likely fix this issue on multiple layers :-(
Comment 15 Thomas Lübking 2012-06-29 21:45:26 UTC
*** Bug 302768 has been marked as a duplicate of this bug. ***
Comment 16 l.mierzwa 2012-07-05 22:11:29 UTC
Created attachment 72339 [details]
New crash information added by DrKonqi

kwin (4.8.4 (4.8.4)) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.1

Crashed during shutdown, it didn't happend for a long time (at least bug report dialog didn't showed for a long time, from time to time I need to re-enable desktop effects).

-- Backtrace (Reduced):
#7  0x00007fbdb065892a in KWin::Deleted::copyToDeleted (this=0x296c540, c=0x263bb50) at ../../kwin/deleted.cpp:78
#8  0x00007fbdb0658bad in KWin::Deleted::create (c=0x263bb50) at ../../kwin/deleted.cpp:53
#9  0x00007fbdb063a570 in KWin::Unmanaged::release (this=0x263bb50) at ../../kwin/unmanaged.cpp:85
#10 0x00007fbdb05d2ced in KWin::Workspace::~Workspace (this=0x1ee6e30, __in_chrg=<optimized out>) at ../../kwin/workspace.cpp:533
#11 0x00007fbdb05d3559 in KWin::Workspace::~Workspace (this=0x1ee6e30, __in_chrg=<optimized out>) at ../../kwin/workspace.cpp:563
Comment 17 Thomas Dreibholz 2012-08-28 17:37:53 UTC
Created attachment 73529 [details]
New crash information added by DrKonqi

kwin (4.8.5 (4.8.5)) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:

kwin (KDE 4.9.0, 64-bit, Kubuntu 12.04) has crashed on shutdown.

-- Backtrace (Reduced):
#7  0x00007fa36635892a in KWin::Deleted::copyToDeleted (this=0x26c4470, c=0x2e5b130) at ../../kwin/deleted.cpp:78
#8  0x00007fa366358bad in KWin::Deleted::create (c=0x2e5b130) at ../../kwin/deleted.cpp:53
#9  0x00007fa36633a570 in KWin::Unmanaged::release (this=0x2e5b130) at ../../kwin/unmanaged.cpp:85
#10 0x00007fa3662d2ced in KWin::Workspace::~Workspace (this=0x225aab0, __in_chrg=<optimized out>) at ../../kwin/workspace.cpp:533
#11 0x00007fa3662d3559 in KWin::Workspace::~Workspace (this=0x225aab0, __in_chrg=<optimized out>) at ../../kwin/workspace.cpp:563
Comment 18 Martin Flöser 2012-08-28 17:41:29 UTC
This issue is most likely fixed in 4.9. We do not need further crash reports for 4.8.5, but it would be awesome to get some confirmation that it is fixed in 4.9, thanks :-)
Comment 19 Vit Pelcak 2012-08-29 15:41:55 UTC
Created attachment 73547 [details]
New crash information added by DrKonqi

kwin (4.8.3 (4.8.3)) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.2

I triggered logout and then I got error message about crashed Kwin.

-- Backtrace (Reduced):
#7  0x00007f25c6fd1fca in KWin::Deleted::copyToDeleted (this=0x2027960, c=0x31b7e50) at /var/tmp/portage/kde-base/kwin-4.8.3/work/kwin-4.8.3/kwin/deleted.cpp:78
#8  0x00007f25c6fd224d in KWin::Deleted::create (c=0x31b7e50) at /var/tmp/portage/kde-base/kwin-4.8.3/work/kwin-4.8.3/kwin/deleted.cpp:53
#9  0x00007f25c6fb3c70 in KWin::Unmanaged::release (this=0x31b7e50) at /var/tmp/portage/kde-base/kwin-4.8.3/work/kwin-4.8.3/kwin/unmanaged.cpp:85
#10 0x00007f25c6f4c6ad in KWin::Workspace::~Workspace (this=0xfa2b90, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kwin-4.8.3/work/kwin-4.8.3/kwin/workspace.cpp:533
#11 0x00007f25c6f4cf19 in KWin::Workspace::~Workspace (this=0xfa2b90, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kwin-4.8.3/work/kwin-4.8.3/kwin/workspace.cpp:563
Comment 20 Thomas Lübking 2012-09-19 20:07:47 UTC
assuming dupe

*** This bug has been marked as a duplicate of bug 282933 ***