[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 66550] New: Kicker freezes in drawButton method
From:       Ladislav Strojil <ladislav.strojil () seznam ! cz>
Date:       2003-10-25 12:32:08
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=66550     
           Summary: Kicker freezes in drawButton method
           Product: kicker
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: jfirebaugh@kde.org
        ReportedBy: ladislav.strojil@seznam.cz


Version:           CVS (25. 10. 2003) (using KDE Devel)
Installed from:    Compiled sources
OS:          Linux

My kicker freezes quite a lot. I have tried to debug it myself, but I am not able to \
find the real cause, so here is what I have found so far: The backtrace is always the \
same:  #0  0x41570ec2 in select () from /lib/i686/libc.so.6
#1  0x4132bea4 in _XlcPublicMethods () from /usr/X11R6/lib/libX11.so.6
#2  0x41281a67 in _XRead () from /usr/X11R6/lib/libX11.so.6
#3  0x412825ad in _XReply () from /usr/X11R6/lib/libX11.so.6
#4  0x4126b3d5 in XGetImage () from /usr/X11R6/lib/libX11.so.6
#5  0x40bf47ab in QPixmap::convertToImage() const (this=0x8134ca0) at \
kernel/qpixmap_x11.cpp:737 #6  0x419ebe4c in TaskContainer::drawButton(QPainter*) \
(this=0x8317218, p=0x8317558)  at \
/home/lada/hsrc/kdebase/kicker/taskbar/taskcontainer.cpp:497

The relevant code is (this is drawing faded long text):
	    // blend text into background image
	    QImage img = pm->convertToImage();
	    QImage timg = tpm.convertToImage();
	    KImageEffect::blend( img, timg, blendGradient, KImageEffect::Red );

The first convertToImage freezes.

I have found a way to freeze kicker reproducibly. See \
http://kde.strojil.cz/kicker.png for how Mandrake Control Center is shown in kicker. \
If I click this button, kicker freezes (the caption should read "Ovládací centrum".  \
Native KDE application show Czech chars just fine in kicker, I don't know what is so \
special about drakconf. There are more (I believe all of the GTK) applications that \
behave in this way.

That is all I know now, if you need any help debugging, just point me in the right \
direction.

Cheers,
Láďa


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic