Bug 158143 - Kwin crash at launch
Summary: Kwin crash at launch
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 3.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-21 06:12 UTC by Rosetzky Cedric
Modified: 2008-05-31 02:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Console log of the crash (53.40 KB, text/plain)
2008-02-25 11:31 UTC, Rosetzky Cedric
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rosetzky Cedric 2008-02-21 06:12:44 UTC
Version:           3.0 (using 4.00.62 (KDE 4.0.62 >= 20080213), compiled sources)
Compiler:          gcc
OS:                Linux (i686) release 2.6.22-3-k7

Kwin crashes when starting KDE, it seems to cause the whole KDE to crash with it. Here is the backtrace:


Application: KWin (kwin), signal SIGABRT
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb5d4e6e0 (LWP 18861)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb67f3f15 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb67f5891 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb68376c5 in ?? () from /lib/i686/cmov/libc.so.6
#10 0xb6913140 in ?? () from /lib/i686/cmov/libc.so.6
#11 0x0806aef0 in ?? ()
#12 0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()
Comment 1 Rosetzky Cedric 2008-02-21 23:01:32 UTC
I recompiled today and Kwin doesn't crash KDE anymore, but it still crashes and is unusable at the moment.
Comment 2 FiNeX 2008-02-22 15:12:22 UTC
Are you using the desktop effects?
Comment 3 Rosetzky Cedric 2008-02-22 18:00:00 UTC
No, I'm using default settings of Kwin. After the change to QT-4.4, I have done a completely fresh compilation.
Comment 4 Lubos Lunak 2008-02-24 23:01:16 UTC
The backtrace is completely useless. Is there any error message in ~/.xsession-errors?
Comment 5 Rosetzky Cedric 2008-02-25 00:17:33 UTC
The only error I can find there is this one :

X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  20
  Minor opcode:  0
  Resource id:  0xc0e796
Comment 6 Rosetzky Cedric 2008-02-25 11:31:02 UTC
Created attachment 23706 [details]
Console log of the crash

This is the console output while launching KDE4 via a shell.
Comment 7 Rosetzky Cedric 2008-03-03 13:44:51 UTC
I'm wondering something... It's maybe a mistake but I'm trying to find out what could be the problem. Here is my idea :

I installed QT-4.4 from qt-copy, and it's installed in my ~/ directory. So, there maybe is a part of kwin which doesn't use $PATH or $LD_LIBRARY_PATH variables, and uses an absolute path instead?

It could explain numerous things, like the lack of usable backtrace, and the fact that everything else works.

But as I said, it's just an idea, and I'm not a coder.
Comment 8 Lubos Lunak 2008-03-09 14:39:12 UTC
It is not just KWin crashing, there are more crashes in the log. Looks like your specific problem. I suggest recompiling and making sure you use only one Qt version (temporarily move away the other).
Comment 9 Rosetzky Cedric 2008-03-09 19:47:46 UTC
Do you mean moving Qt-3 too? I'm using KDE-3.5.x as my main DE...

Also, everything worked well before the switch to Qt-4.4. Of course, Qt-4.4 (from qt-copy) is the only Qt-4 version I use.

Kwin is not the only app crashing when I launch KDE-4, but it's the only app I can't launch "alone" without a crash. Plasma, dolphin, konqueror, applets, klipper... they all work fine. So I was thinking that Kwin was somehow causing all those crashes (it's also the first app crashing). But I don't know if it's related to some external parameter (compiler, the way Qt is installed...)

Anyways, thanks to care about this crash. (also, sorry if I did any grammatical mistake, my english isn't perfect yet :P)
Comment 10 Rosetzky Cedric 2008-03-19 18:37:16 UTC
I tried everything from the beginning. Rewriting ~/.bashrc configs for KDE-4, recompiling qt-copy, then recompiling KDE-4 and trying to use it, but it still crashed at launch.
Comment 11 Lubos Lunak 2008-03-20 18:47:44 UTC
That still unfortunately doesn't change anything about the fact that the backtrace is useless and there's not much to do without further info. I suggest running the applications separately or to use valgrind to find out more about the crashes.
Comment 12 Rosetzky Cedric 2008-03-23 11:57:39 UTC
I've seen it's a debugger. I'm sorry but I don't know how to use this.

I gave all the informations I could give about this problem.

Recently I managed to start KDE4's Kwin from KDE3 a few seconds before it crashed. It has many bugs while changing the size of the window (redraw bugs I think).

For now I'll stop wasting my time trying to make it work. Compiling is long and since that's for nothing...

I don't mean it's your fault, but it's boring. And when I see, besides that, that I have reported bugs that have been made monthes ago, and never been adressed (specially for konqueror), it makes me think that we, bug reporters, are more useless and bothering than anything else.
Comment 13 Rosetzky Cedric 2008-05-31 02:35:44 UTC
Doesn't happen anymore... It stopped crashint after reinstalling Debian... I think i'll never know what caused those crashes.