Crash on loading project

Thierry RAMANAMPANOHARANA thierry_rama at hotmail.com
Tue Mar 11 13:03:04 UTC 2003


Hi,

I traced the crash I experienced as caused by label->setText(...) in 
cppsupportpart.cpp [1113&1282). Seems like setting the label's text multiple 
times has some memory issue. When I commented out these lines, no more crash 
related to

> > #3  0x40eadf8e in operator new(unsigned) (sz=1592) at
> > ../../../../libstdc++-v3/libsupc++/new_op.cc:48
> > #4  0x40c05903 in QFont::QFont(QFontPrivate*, bool) () from
> > /usr/lib/qt-3.1/lib/libqt-mt.so.3
> > #5  0x40c05c87 in QFont::detach() () from 
>/usr/lib/qt-3.1/lib/libqt-mt.so.3
> > #6  0x40c064ba in QFont::setWeight(int) () from
> > /usr/lib/qt-3.1/lib/libqt-mt.so.3
> > #8  0x41e5812b in KeramikStyle::drawControl(QStyle::ControlElement,
> > QPainter*, QWidget const*, QRect const&, QColorGroup const&, unsigned,
> > QStyleOption const&) const () from 
>/usr/lib/kde3/plugins/styles/keramik.so

but now, I have this one
#0  0x42028d69 in sigsuspend () from /lib/i686/libc.so.6
#1  0x410e1108 in __pthread_wait_for_restart_signal () from 
/lib/i686/libpthread.so.0
#2  0x410de04b in pthread_cond_wait () from /lib/i686/libpthread.so.0
#3  0x40e17758 in QWaitCondition::wait(unsigned long) () from 
/usr/lib/qt-3.1/lib/libqt-mt.so.3
#4  0x4429fba7 in CppSupportPart::maybeParse(QString, ClassStore*) 
(this=0x880acc8, fileName=Cannot access memory at address 0x0
) at backgroundparser.h:53
#5  0x4429f3ad in CppSupportPart::parseProject() (this=0x880acc8) at 
cppsupportpart.cpp:1115
#6  0x4429e774 in CppSupportPart::initialParse() (this=0x880acc8) at 
cppsupportpart.cpp:1035
#7  0x442a2403 in CppSupportPart::qt_invoke(int, QUObject*) (this=0x880acc8, 
_id=23, _o=0xbffff63c) at cppsupportpart.moc:200
#8  0x40c40ec6 in QObject::activate_signal(QConnectionList*, QUObject*) () 
from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#9  0x40e88aca in QSignal::signal(QVariant const&) () from 
/usr/lib/qt-3.1/lib/libqt-mt.so.3
#10 0x40c5548d in QSignal::activate() () from 
/usr/lib/qt-3.1/lib/libqt-mt.so.3
#11 0x40c5ac53 in QSingleShotTimer::event(QEvent*) () from 
/usr/lib/qt-3.1/lib/libqt-mt.so.3
#12 0x40bf5a61 in QApplication::internalNotify(QObject*, QEvent*) () from 
/usr/lib/qt-3.1/lib/libqt-mt.so.3
#13 0x40bf5719 in QApplication::notify(QObject*, QEvent*) () from 
/usr/lib/qt-3.1/lib/libqt-mt.so.3
#14 0x408a4d3d in KApplication::notify(QObject*, QEvent*) () from 
/usr/lib/libkdecore.so.4
#15 0x40bd7934 in QEventLoop::activateTimers() () from 
/usr/lib/qt-3.1/lib/libqt-mt.so.3
#16 0x40bbbe2b in QEventLoop::processEvents(unsigned) () from 
/usr/lib/qt-3.1/lib/libqt-mt.so.3
#17 0x40c0566d in QEventLoop::enterLoop() () from 
/usr/lib/qt-3.1/lib/libqt-mt.so.3
#18 0x40c0553f in QEventLoop::exec() () from 
/usr/lib/qt-3.1/lib/libqt-mt.so.3
#19 0x40bf5c14 in QApplication::exec() () from 
/usr/lib/qt-3.1/lib/libqt-mt.so.3
#20 0x080685c3 in main ()
#21 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6
cont
(gdb)

Regards



_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus





More information about the KDevelop-devel mailing list