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

List:       kde-core-devel
Subject:    KIconLoader / QImage crash
From:       Christian Gebauer <gebauer () bigfoot ! com>
Date:       2000-09-29 19:19:18
[Download RAW message or body]

Hi,

I have a serious problem since Tackat commited a load of icons yesterday.
All programs that use icons like
/kdelibs/pics/locolor/lo16-action-2rightarrow.png
crash with a backtrace like this one: 

Program received signal SIGSEGV, Segmentation fault.
chunk_alloc (ar_ptr=0x412891a0, nb=72) at malloc.c:2814
2814    malloc.c: No such file or directory.
(gdb) bt
#0  chunk_alloc (ar_ptr=0x412891a0, nb=72) at malloc.c:2814
#1  0x411fddbc in malloc () at malloc.c:2181
#2  0x4116e1b9 in __builtin_new () at ./cp/new1.cc:88
#3  0x40bdcd81 in QImage::init ()
   from /home/christian/sources/qt-copy/lib/libqt.so.2
#4  0x40bdba40 in QImage::QImage ()
   from /home/christian/sources/qt-copy/lib/libqt.so.2
#5  0x40bdf824 in QImage::convertDepth ()
   from /home/christian/sources/qt-copy/lib/libqt.so.2
#6  0x40b98258 in QPixmap::convertFromImage ()
   from /home/christian/sources/qt-copy/lib/libqt.so.2
#7  0x40c3e076 in QPixmap::convertFromImage ()
   from /home/christian/sources/qt-copy/lib/libqt.so.2
#8  0x408331a5 in KIconLoader::loadIcon () from /opt/kde/lib/libkdecore.so.3
#9  0x408386b4 in SmallIcon () from /opt/kde/lib/libkdecore.so.3
#10 0x4083877c in SmallIconSet () from /opt/kde/lib/libkdecore.so.3
#11 0x405b8b6b in KAction::setIcon () from /opt/kde/lib/libkdeui.so.3
#12 0x405b5590 in KAction::KAction () from /opt/kde/lib/libkdeui.so.3  

file output for these icons:
lo16-action-2leftarrow.png: PNG image data, 16 x 16, 1-bit colormap, non-interlaced

The crash only happens when "Semi-transparent" is used as icon effect for
disabled icons.

I use a clean rebuild of qt-copy/kdelibs/kdebase and tested -qt-libpng and
-system-libpng (2.1.0, SuSE 6.4), makes no difference.

Christian
-- 
>><< Christian Gebauer >><< gebauer@bigfoot.com >><< ICQ 14916141 >><<

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

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