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

List:       kde-devel
Subject:    kcontrol
From:       John Corey <whoop () mtco ! com>
Date:       1999-08-03 18:16:05
[Download RAW message or body]

This morning I was trying to figure out just why kcontrol insists on
segfaulting here when doing something so simple as setting the font. 
Below is a backtrace.  It seems to get confused at #2, where it gets
confused, and "this" is an unacceptable value.  From there it just goes
downhill, finally trying to copy 203MB of data into there.

Obviously, other programs are able to set the font just fine doing the
same things KControl is trying to do, so I don't think it's in
necessarily in Qt that it blows up.  I do have the "times" font family. 
Does anyone else have trouble with kcontrol?

(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

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

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