Bug #12706 2007-12-13 11:32

oswaldmi

Crash on startup

Code::Blocks SVN 4729
System: SuSE Linux Enterprise Server 9, gcc 3.3.3

A quick investigation didn't show up something, so maybe someone of the developers can have a look on this.

Valgrind reports this:

Passing list of files to parse
Starting batch parsing
==18893== Thread 6:
==18893== Conditional jump or move depends on uninitialised value(s)
==18893==    at 0xA23255E: Tokenizer::SkipToOneOfChars(char const*, bool) (tokenizer.h:122)
==18893==    by 0xA232B53: Tokenizer::SkipUnwanted() (tokenizer.cpp:448)
==18893==    by 0xA232CF8: Tokenizer::DoGetToken() (tokenizer.h:106)
==18893==    by 0xA233721: Tokenizer::GetToken() (tokenizer.cpp:481)
==18893==    by 0xA217F12: ParserThread::HandlePreprocessorBlocks(wxString const&) (string.h:1026)
==18893==    by 0xA21BAF7: ParserThread::DoParse() (parserthread.cpp:484)
==18893==    by 0xA21ED1D: ParserThread::Parse() (parserthread.cpp:348)
==18893==    by 0xA2222AB: ParserThread::Execute() (parserthread.h:70)
==18893==    by 0x488A070: cbWorkerThread::Entry() (cbthreadpool.cpp:219)
==18893==    by 0x5319950: wxThreadInternal::PthreadStart(wxThread*) (in /opt/gtk2/lib/libwx_base-2.8.so.0.1.1)
==18893==    by 0x53199BB: wxPthreadStart (in /opt/gtk2/lib/libwx_base-2.8.so.0.1.1)
==18893==    by 0x535ACF6: start_thread (in /lib/tls/libpthread.so.0)
==18893==
==18893== Conditional jump or move depends on uninitialised value(s)
==18893==    at 0xA232566: Tokenizer::SkipToOneOfChars(char const*, bool) (tokenizer.h:122)
==18893==    by 0xA232B53: Tokenizer::SkipUnwanted() (tokenizer.cpp:448)
==18893==    by 0xA232CF8: Tokenizer::DoGetToken() (tokenizer.h:106)
==18893==    by 0xA233721: Tokenizer::GetToken() (tokenizer.cpp:481)
==18893==    by 0xA217F12: ParserThread::HandlePreprocessorBlocks(wxString const&) (string.h:1026)
==18893==    by 0xA21BAF7: ParserThread::DoParse() (parserthread.cpp:484)
==18893==    by 0xA21ED1D: ParserThread::Parse() (parserthread.cpp:348)
==18893==    by 0xA2222AB: ParserThread::Execute() (parserthread.h:70)
==18893==    by 0x488A070: cbWorkerThread::Entry() (cbthreadpool.cpp:219)
==18893==    by 0x5319950: wxThreadInternal::PthreadStart(wxThread*) (in /opt/gtk2/lib/libwx_base-2.8.so.0.1.1)
==18893==    by 0x53199BB: wxPthreadStart (in /opt/gtk2/lib/libwx_base-2.8.so.0.1.1)
==18893==    by 0x535ACF6: start_thread (in /lib/tls/libpthread.so.0)
==18893==
==18893== Conditional jump or move depends on uninitialised value(s)
==18893==    at 0xA23256E: Tokenizer::SkipToOneOfChars(char const*, bool) (tokenizer.h:122)
==18893==    by 0xA232B53: Tokenizer::SkipUnwanted() (tokenizer.cpp:448)
==18893==    by 0xA232CF8: Tokenizer::DoGetToken() (tokenizer.h:106)
==18893==    by 0xA233721: Tokenizer::GetToken() (tokenizer.cpp:481)
==18893==    by 0xA217F12: ParserThread::HandlePreprocessorBlocks(wxString const&) (string.h:1026)
==18893==    by 0xA21BAF7: ParserThread::DoParse() (parserthread.cpp:484)
==18893==    by 0xA21ED1D: ParserThread::Parse() (parserthread.cpp:348)
==18893==    by 0xA2222AB: ParserThread::Execute() (parserthread.h:70)
==18893==    by 0x488A070: cbWorkerThread::Entry() (cbthreadpool.cpp:219)
==18893==    by 0x5319950: wxThreadInternal::PthreadStart(wxThread*) (in /opt/gtk2/lib/libwx_base-2.8.so.0.1.1)
==18893==    by 0x53199BB: wxPthreadStart (in /opt/gtk2/lib/libwx_base-2.8.so.0.1.1)
==18893==    by 0x535ACF6: start_thread (in /lib/tls/libpthread.so.0)
Parsing stage done (6001 total parsed files, 103821 tokens in 20 minute(s), 9.908 seconds).
Category
Application::Crash
Group
 
Status
Closed
Close date
2008-01-10 11:22
Assigned to
 
mandrav 2008-01-10 11:22

That's no crash on startup but a crash while parsing a project for symbols.

Disable code-completion plugin or pin-point which file causes it to crash and, if possible, compress it and post it here so we can see what's going wrong.

Re-open this bug report if you have helpful news to add.