Crash on loading project

Thierry RAMANAMPANOHARANA thierry_rama at hotmail.com
Fri Mar 7 11:24:03 UTC 2003


Strange, once I put the debug code, no more crash. I forget  how to redirect 
the output to a file.
I typed gideon > debug but nothing is written in. Are you on the IRC?






>From: Roberto Raggi <roberto at kdevelop.org>
>Reply-To: kdevelop-devel at kdevelop.org
>To: kdevelop-devel at kdevelop.org
>Subject: Re: Crash on loading project
>Date: 07 Mar 2003 10:21:41 +0100
>
>On Fri, 2003-03-07 at 10:04, Thierry RAMANAMPANOHARANA wrote:
> > Hi,
> >
> > I am experiencing a 4/5 times crash when loading the gideon project
> > (gideon.kdevprj converted to gideon.kdevelop). Sometimes it crashes at 
>12%
> > when scanning files, and ofent at 41%. Here is a backtrace from kde 
>crash
> > handler:
> >
> > [New Thread 8192 (LWP 5926)]
> > [New Thread 16385 (LWP 5927)]
> > [New Thread 8194 (LWP 5928)]
> > 0x420ae169 in wait4 () from /lib/i686/libc.so.6
> > #0  0x420ae169 in wait4 () from /lib/i686/libc.so.6
> > #1  0x4212a2d0 in __DTOR_END__ () from /lib/i686/libc.so.6
> > #2  0x410e3c63 in waitpid () from /lib/i686/libpthread.so.0
> > #3  0x40906d94 in KCrash::defaultCrashHandler(int) ()
> >    from /usr/lib/libkdecore.so.4
> > #4  <signal handler called>
> > #5  0x40e3a7cb in QString::QString(QString const&) ()
> >    from /usr/lib/qt-3.1/lib/libqt-mt.so.3
> > #6  0x442bf1a3 in Lexer::nextToken(Token&) ()
> >    from /usr/local/kde/lib/kde3/libkdevcppsupport.so
> > #7  0x442bfd79 in Lexer::tokenize() ()
>hmmm, it seems a problem of the lexer ;) please can you replace the
>tokenize method in the lexer with something like
>
>void Lexer::tokenize()
>{
>     m_startLine = true;
>     m_size = 0;
>
>     qDebug( "!!!!!!!!!! START TOKENIZE !!!!!!!!!!!!! %s",
>m_driver->currentFileName().latin1() );
>
>     for( ;; ) {
>         Token tk;
>         nextToken( tk );
>
>         if( tk.type() != -1 ){
>             addToken( tk );
>             qDebug( "added token %d - %s", (int)tk,
>toString(tk).latin1() );
>         }
>
>         if( currentChar().isNull() )
>             break;
>     }
>
>     Token tk = Token( Token_eof, currentPosition(), 0 );
>     tk.setStartPosition( m_currentLine, m_currentColumn );
>     tk.setEndPosition( m_currentLine, m_currentColumn );
>     addToken( tk );
>
>     qDebug( "!!!!!!!!!! TOKENIZED !!!!!!!!!!!!! %s",
>m_driver->currentFileName().latin1() );
>}
>
>
>and send the output to me?
>
>ciao robe
>
>
>
>_______________________________________________
>Kdevelop-devel mailing list
>Kdevelop-devel at barney.cs.uni-potsdam.de
>http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail





More information about the KDevelop-devel mailing list