Bug 123894 - crashes at start when skinning / png-problem
Summary: crashes at start when skinning / png-problem
Status: RESOLVED FIXED
Alias: None
Product: yakuake
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-19 12:38 UTC by Oliver Heins
Modified: 2007-05-04 03:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
The crashing shin (17.77 KB, application/octet-stream)
2006-03-19 12:41 UTC, Oliver Heins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Heins 2006-03-19 12:38:49 UTC
Version:           2.7.4 (using KDE KDE 3.5.1)
Installed from:    Debian testing/unstable Packages
Compiler:          gcc (GCC) 4.0.3 (Debian 4.0.3-1) 
OS:                Linux

When trying to make a skin for yakuake, I discovered that a special png makes it crash at startup.

You can download the crashing skin from http://sopos.org/yakuake_skin.tar.gz (but caution: I didn't altered the install.sh-script, so it probably won't work).  The offending png is tabs/plus_up.png, another working one is tabs/plus_up.png.works.

olli


Here's what the crashmanager says (apart from loads of "(no debugging symbols found)"):

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[...]
[KCrash handler]
#6  0xb741531a in QPaintDevice::paintingActive () from /usr/lib/libqt-mt.so.3
#7  0xb74db699 in QPixmap::QPixmap () from /usr/lib/libqt-mt.so.3
#8  0xb746b7fc in QBitmap::QBitmap () from /usr/lib/libqt-mt.so.3
#9  0xb742b6e6 in QWidget::setMask () from /usr/lib/libqt-mt.so.3
#10 0x0805bac4 in KMainWindow::readProperties ()
#11 0x0805c1f8 in KMainWindow::readProperties ()
#12 0x08052858 in endl ()
#13 0x080558b2 in endl ()
#14 0x0805210b in ?? ()
#15 0x0811d8e8 in ?? ()
#16 0x00000000 in ?? ()
Comment 1 Oliver Heins 2006-03-19 12:41:09 UTC
Created attachment 15194 [details]
The crashing shin

This is the skin making yakuake crash.	It's the same file I put on my website.
Comment 2 Eike Hein 2006-03-19 13:13:15 UTC
Thanks. The skin parser in generall is unfortunately rather crash-prone, that's something I'll have to take a good hard look at.
Comment 3 Christoph Trassl 2007-04-21 02:02:13 UTC
I can verify this bug with yakuake 2.7.5 from kdebase-3.5.6 .

The problem is in the function setMask() (or with a similar name. Unfortunately I do not have the source code available at the moment to verify the function name). If you use pngs that do not have an alpha channel the function crashes.

As a workaround you can set the alpha value of at least one pixel to 99.
Comment 4 Eike Hein 2007-05-04 03:02:05 UTC
Fixed in SVN rev 660877.