Bug 58675 - kwin crashs when using aumix
Summary: kwin crashs when using aumix
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-19 09:20 UTC by Tom Gufler
Modified: 2003-11-05 15:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Gufler 2003-05-19 09:20:54 UTC
Version:           Unbekannt (using KDE 3.1.1)
Compiler:          gcc version 3.2.2 20030322 (Gentoo Linux 1.4 3.2.2-r2)
OS:          Linux (i686) release 2.4.20-gaming-r3

I start aumix in a konsole
In aumix I choose 'save to' from the 'file' menu
kwin crashs 

When I restart kwin and try the same again I get the following error message :
akwin: X_GetImage(0x0): BadDrawable (invalid Pixmap or Window parameter)
In file kernel/qpixmap_x11.cpp, line 619: Out of memory
Comment 1 Lubos Lunak 2003-05-20 15:37:02 UTC
Aumix is text based program. I suppose you meant gaumix. Morever, I can't reproduce the 
problem, so please provide more information (backtrace, gaumix version, which kwin 
decoration, etc.). 
 
Comment 2 Tom Gufler 2003-05-20 16:14:30 UTC
When I start aumix in "real" text mode I get a text based program, however if I start 
aumix in a konsole I get a graphical (gtk) program. I can't find a program gaumix on 
my harddisk.  
aumix version 2.8 
 
Backtrace: 
(no debugging symbols found)...0x4dd2a137 in waitpid () 
   from /lib/libpthread.so.0 
#0  0x4dd2a137 in waitpid () from /lib/libpthread.so.0 
#1  0x40628fab in KCrash::defaultCrashHandler(int) () 
   from /usr/kde/3.1/lib/libkdecore.so.4 
#2  <signal handler called> 
#3  0x408e6d96 in QPixmap::convertToImage() const () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#4  0x40609c43 in KWin::icon(unsigned long, int, int, bool) () 
   from /usr/kde/3.1/lib/libkdecore.so.4 
 
Hope this helps. 
Tom 
Comment 3 Lubos Lunak 2003-05-21 11:17:41 UTC
So that I don't forget: The crash happens in the XGetClassHint() part of KWin::icon(), with pm 
not being null, and width==height==32, when the requested width==height==16. I still cannot 
reproduce it, and I fail to see how pm.hd can be NULL in that case. 
 
Comment 4 Tom Gufler 2003-05-21 11:32:16 UTC
Just upgraded from kde-3.1.1a to kde-3.1.2 and from gcc-3.2.2 to gcc-3.2.3, same 
error, compiled with -march=athlon-xp -O2 -pipe 
Comment 5 Tom Gufler 2003-11-05 15:18:21 UTC
Doesn't crash with kde 3.2 beta1 and later for me.