Crash on loading project

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


Got a crash at first attempt. I've run it 5 times without crash before. Here 
is the output. I just include the output of the file for which it crashed:
!!!!!!!!!! START TOKENIZE !!!!!!!!!!!!! 
/home/thierry/kde3src/kdevelop/parts/astyle/ASFormatter.cpp
added token 2084 - using
added token 2054 - namespace
added token 1000 - std
added token 59 - ;
added token 2054 - namespace
added token 1000 - astyle
added token 123 - {
added token 2024 - bool
added token 1000 - ASFormatter
added token 2003 - ::
added token 1000 - calledInitStatic
added token 61 - =
added token 1000 - false
added token 59 - ;
added token 1000 - vector
added token 60 - <
added token 2031 - const
added token 1000 - string
added token 42 - *
added token 62 - >
added token 1000 - ASFormatter
added token 2003 - ::
added token 1000 - headers
added token 59 - ;
added token 1000 - vector
added token 60 - <
added token 2031 - const
added token 1000 - string
added token 42 - *
added token 62 - >
added token 1000 - ASFormatter
added token 2003 - ::
added token 1000 - nonParenHeaders
added token 59 - ;
added token 1000 - vector
added token 60 - <
added token 2031 - const
added token 1000 - string
added token 42 - *
added token 62 - >
added token 1000 - ASFormatter
added token 2003 - ::
added token 1000 - preprocessorHeaders
added token 59 - ;
added token 1000 - vector
added token 60 - <
added token 2031 - const
added token 1000 - string
added token 42 - *
added token 62 - >
added token 1000 - ASFormatter
added token 2003 - ::
added token 1000 - preDefinitionHeaders
added token 59 - ;
added token 1000 - vector
added token 60 - <
added token 2031 - const
added token 1000 - string
added token 42 - *
added token 62 - >
added token 1000 - ASFormatter
added token 2003 - ::
added token 1000 - preCommandHeaders
added token 59 - ;
added token 1000 - vector
added token 60 - <
added token 2031 - const
added token 1000 - string
added token 42 - *
added token 62 - >
added token 1000 - ASFormatter
added token 2003 - ::
added token 1000 - operators
added token 59 - ;
added token 1000 - vector
added token 60 - <
added token 2031 - const
added token 1000 - string
added token 42 - *
added token 62 - >
added token 1000 - ASFormatter
added token 2003 - ::
added token 1000 - assignmentOperators
added token 59 - ;
added token 1000 - ASFormatter
added token 2003 - ::
added token 1000 - ASFormatter
added token 40 - (
added token 41 - )
added token 123 - {
added token 1000 - staticInit
added token 40 - (
added token 41 - )
added token 59 - ;
added token 1000 - preBracketHeaderStack
added token 61 - =
added token 1000 - NULL
added token 59 - ;
added token 1000 - bracketTypeStack
added token 61 - =
added token 1000 - NULL
added token 59 - ;
added token 1000 - parenStack
added token 61 - =
added token 1000 - NULL
added token 59 - ;
added token 1000 - sourceIterator
added token 61 - =
added token 1000 - NULL
added token 59 - ;
added token 1000 - bracketFormatMode
added token 61 - =
added token 1000 - NONE_MODE
added token 59 - ;
added token 1000 - shouldPadOperators
added token 61 - =
added token 1000 - false
added token 59 - ;
added token 1000 - shouldPadParenthesies
added token 61 - =
added token 1000 - false
added token 59 - ;
added token 1000 - shouldBreakOneLineBlocks
added token 61 - =
added token 1000 - true
added token 59 - ;
added token 1000 - shouldBreakOneLineStatements
added token 61 - =
added token 1000 - true
added token 59 - ;
added token 1000 - shouldConvertTabs
added token 61 - =
added token 1000 - false
added token 59 - ;
added token 1000 - shouldBreakBlocks
added token 61 - =
added token 1000 - false
added token 59 - ;
added token 1000 - shouldBreakClosingHeaderBlocks
added token 61 - =
added token 1000 - false
added token 59 - ;
added token 1000 - shouldBreakClosingHeaderBrackets
added token 61 - =
added token 1000 - false
added token 59 - ;
added token 1000 - shouldBreakElseIfs
added token 61 - =
added token 1000 - false
added token 59 - ;
added token 125 - }
added token 1000 - ASFormatter
added token 2003 - ::
added token 126 - ~
added token 1000 - ASFormatter
added token 40 - (
added token 41 - )
added token 123 - {







>From: "Thierry RAMANAMPANOHARANA" <thierry_rama at hotmail.com>
>Reply-To: kdevelop-devel at kdevelop.org
>To: kdevelop-devel at kdevelop.org
>Subject: Re: Crash on loading project
>Date: Fri, 07 Mar 2003 10:34:28 +0000
>
>I put back to normal and crash is back at third attempt. I'll put the de 
>bug and try many times to catch the bug
>
>
>
>
>
>
>>From: "Thierry RAMANAMPANOHARANA" <thierry_rama at hotmail.com>
>>Reply-To: kdevelop-devel at kdevelop.org
>>To: kdevelop-devel at kdevelop.org
>>Subject: Re: Crash on loading project
>>Date: Fri, 07 Mar 2003 10:23:33 +0000
>>
>>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
>>
>>
>>_______________________________________________
>>Kdevelop-devel mailing list
>>Kdevelop-devel at barney.cs.uni-potsdam.de
>>http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
>_________________________________________________________________
>Add photos to your messages with MSN 8. Get 2 months FREE*.  
>http://join.msn.com/?page=features/featuredemail
>
>
>_______________________________________________
>Kdevelop-devel mailing list
>Kdevelop-devel at barney.cs.uni-potsdam.de
>http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963





More information about the KDevelop-devel mailing list