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

List:       kde-devel
Subject:    Re: kpanel breakage
From:       "Dirk A. Mueller" <dmuell () gmx ! net>
Date:       1999-08-04 17:28:59
[Download RAW message or body]

Matthias Ettrich <ettrich@troll.no> wrote:

> The questionable code in kglobal is nonsense. It says "if the font is 
> the default font, then make it helvetica 12 point".

while we're talking about bugs, this reminds me of something. Has the
following bug been fixed already? this is taken from corey, but I also
experience these crashes when using KCharset::setQFont(). the last 7
steps are always the same here:

(gdb) bt
#0  0x408138a7 in memcpy (dstpp=0x408e6008, srcpp=0x6050606,
len=203033626)
    at ../sysdeps/generic/memcpy.c:55
#1  0x403be32a in QString::setLength (this=0xbffff480,
#newLen=101516813)
    at tools/qstring.cpp:10706
#2  0x403bdf96 in QString::real_detach (this=0xbffff480) at
tools/qstring.cpp:10560
#3  0x403c09c1 in QString::lower (this=0x80a031c) at
tools/qstring.cpp:11499
#4  0x403e1dd2 in QFont::key (this=0x80a00c8) at kernel/qfont.cpp:1208
#5  0x403666b2 in QFont::load (this=0x80a00c8) at
kernel/qfont_x11.cpp:724
#6  0x40365426 in QFont::handle (this=0x80a00c8) at
kernel/qfont_x11.cpp:395
#7  0x404357d6 in QWidget::setFont (this=0x80a0060, font=@0xbffff5b8)
    at kernel/qwidget.cpp:1928
#8  0x80534d3 in mainWidget::mainWidget (this=0x809fc60,
parent=0x808acb0, name=0x0)
    at mainwidget.cpp:28


It worked with Qt 2.0, but crashes with Qt 2.0.1


-- 
Dirk A. Mueller

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

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