Crash in QString::prepend

Mejdi Anakreon amejdi at i.singular.gr
Thu Sep 20 13:31:40 UTC 2001


The application I am writing crashed when attempted to call
QString::prepend.
This is the output of gdb:

Program received signal SIGSEGV, Segmentation fault.
0x40220095 in QString::insert () from /usr/local/qt/lib/libqt.so.2
Current language:  auto; currently c
(gdb) up
#1  0x4022005b in QString::insert () from /usr/local/qt/lib/libqt.so.2
(gdb) up
#2  0x08060868 in QString::prepend (this=0x80a7780, s=@0xbfffecd0) at
/usr/local/qt/include/qstring.h:678
678     { return insert(0,s); }
Current language:  auto; currently c++
(gdb) up
#3  0x0805c905 in baseException::addToStack (this=0x80a7a60,
fileName=@0xbfffed10, funcName=@0xbfffed20,
    lineNum=100) at baseexception.cpp:53
53                       funcName.latin1(),fileName.latin1(),lineNum));
(gdb) up
#4  0x0805901c in baseFunction::calculate (this=0x80a7188) at
basefunction.cpp:108
108         b->addToStack("basefunction.cpp","calculate()",100); 

It seems to me that is not my mistake for the crash but propably a bug.
Have you got any idea why it crashed?

Anakreon.

I hope someone can help because no help was found at qt mailing list.


-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list