crash with codecompletion

Harald Fernengel harry at kdevelop.org
Fri Mar 1 03:26:03 UTC 2002


On Friday 01 March 2002 03:15, Harald Fernengel wrote:
> It crashes in Simpleparser.h:71 (KDE2 as well as KDE3):
>
> void add( const SimpleVariable& v )
>         { qDebug( "before crash" ); m_vars.append( v ); qDebug( "never
> arrives here" );}

Argh... sorry, ignore my last mail. In cppcodecompletion.cpp:916 an invalid 
pointer got returned so it crashed on the first access to one of the object's 
members. Since this function was inline, gdb got a bit confused :(

Anyways, it is fixed now (Roberto, can you please take a look at my fix in 
cppcodecompletion.cpp:916 and why the pointer isn't ok?).

03:23, really time to get some sleep :)

Happy Hacking,
Harry




More information about the KDevelop-devel mailing list