Author Topic: Crashes anyone??  (Read 17371 times)

daniloz

  • Guest
Crashes anyone??
« on: November 29, 2010, 01:33:23 pm »
Hi All,

I'm using the latest build from trunk on Vista 32bit and I am experiencing freezes from time to time. I cannot yet trace the exact cause of it or how to reproduce it, but it seems to happen during "parsing". This is just an assumption based on the fact that either I have the freeze at start-up, or when I open a new file, or when I start typing something in a file...

Anyone having any similar problem?

@developers: How can I get more information about what's causing C:BB to freeze? In the src\output folder, the file codeblocks.RPT is empty...

Thanks in advance,

Offline xunxun

  • Almost regular
  • **
  • Posts: 187
Re: Crashes anyone??
« Reply #1 on: November 29, 2010, 01:50:24 pm »
Which edition you use?
Did you try the nightly build (http://forums.codeblocks.org/index.php/board,20.0.html)?
Regards,
xunxun

daniloz

  • Guest
Re: Crashes anyone??
« Reply #2 on: November 29, 2010, 01:54:23 pm »
As I said, I'm using the latest build from trunk, right now it is svn r6862...

Offline xunxun

  • Almost regular
  • **
  • Posts: 187
Re: Crashes anyone??
« Reply #3 on: November 29, 2010, 02:22:19 pm »
Did you try disable the CC plugin?
Regards,
xunxun

daniloz

  • Guest
Re: Crashes anyone??
« Reply #4 on: November 29, 2010, 04:46:35 pm »
Not really, because I cannot reproduce the problem easily, it appears quite random to me... It happens normally every 3 or 4 hours, sometimes after just 10 mins...

So, I cannot continue to work without the CC plugin, I just can't... :-(

As an update, C::B just froze now and it's using about 50% of the CPU (I have a dual-core, btw) and about 64M or memory (not increasing)... It has been in this state for about 5 mins now and no reaction whatsoever.

So, I ask again, how can I get a trace of the crash to help me (and you, I hope - please, please, please ;-)) find out the source of the problem?

About the nightly build, I could give it a try, but I have a customized version (adapted to my embedded toolchain), so I'd rather continue using it....

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Crashes anyone??
« Reply #5 on: November 29, 2010, 05:25:01 pm »
Search the forum for backtrace or callstack and you'll find a recent thread, where I've explained what should be done in order to find infinite loops in C::B.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7779
    • My Best Post
Re: Crashes anyone??
« Reply #6 on: November 29, 2010, 08:39:30 pm »
As I said, I'm using the latest build from trunk, right now it is svn r6862...

Self Build or Nightly Download?

If self build, try the Nightly Download.
If nightly Build, try running as Administrator to see if an Code::Blocks report is generated correctly on failure.

Tim S.
« Last Edit: November 29, 2010, 08:41:45 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

daniloz

  • Guest
Re: Crashes anyone??
« Reply #7 on: November 30, 2010, 09:23:49 am »
Ok, I've compiled C::B (latest build from svn) with debug symbols and after a crash (which occurred just after start-up), I've launched gdb and here is the backtrace.

I hop that helps:
Code
Reading symbols from C:\Work\codeblocks_trunk\src\output/codeblocks.exe...done.
Attaching to program `C:\Work\codeblocks_trunk\src\output/codeblocks.exe', process 5532
[New Thread 5532.0xd70]
[New Thread 5532.0x1ae8]
[New Thread 5532.0x1ea4]
[New Thread 5532.0x1e4c]
[New Thread 5532.0xd50]
[New Thread 5532.0x1540]
[New Thread 5532.0x19d4]
[New Thread 5532.0x488]
[New Thread 5532.0x19bc]
[New Thread 5532.0x150c]
[New Thread 5532.0x1ad0]
[New Thread 5532.0x16b4]
[Switching to Thread 5532.0x16b4]
(gdb) bt
#0  0x771c8b2f in ntdll!DbgUiConvertStateChangeStructure ()
   from C:\Windows\system32\ntdll.dll
#1  0x7720c9a0 in ntdll!EtwEventEnabled () from C:\Windows\system32\ntdll.dll
#2  0x6cd2ead7 in ?? ()
#3  0x7731d0e9 in KERNEL32!AcquireSRWLockExclusive ()
   from C:\Windows\system32\kernel32.dll
#4  0x771c19bb in ntdll!RtlInitializeNtUserPfn ()
   from C:\Windows\system32\ntdll.dll
#5  0x771c198e in ntdll!RtlInitializeNtUserPfn ()
   from C:\Windows\system32\ntdll.dll
#6  0x00000000 in ?? ()
(gdb) thread apply all bt

Thread 12 (Thread 5532.0x16b4):
#0  0x771c8b2f in ntdll!DbgUiConvertStateChangeStructure ()
   from C:\Windows\system32\ntdll.dll
#1  0x7720c9a0 in ntdll!EtwEventEnabled () from C:\Windows\system32\ntdll.dll
#2  0x6cd2ead7 in ?? ()
#3  0x7731d0e9 in KERNEL32!AcquireSRWLockExclusive ()
   from C:\Windows\system32\kernel32.dll
#4  0x771c19bb in ntdll!RtlInitializeNtUserPfn ()
   from C:\Windows\system32\ntdll.dll
#5  0x771c198e in ntdll!RtlInitializeNtUserPfn ()
   from C:\Windows\system32\ntdll.dll
#6  0x00000000 in ?? ()

Thread 11 (Thread 5532.0x1ad0):
#0  0x771e5e58 in ntdll!RtlUshortByteSwap ()
   from C:\Windows\system32\ntdll.dll

Thread 10 (Thread 5532.0x150c):
#0  0x773148a3 in KERNEL32!GetSystemDEPPolicy ()
   from C:\Windows\system32\kernel32.dll
#1  0x75c26084 in msvcrt!__crtLCMapStringA ()
   from C:\Windows\system32\msvcrt.dll
#2  0x75c26340 in msvcrt!iswpunct () from C:\Windows\system32\msvcrt.dll
#3  0x75c0adc2 in msvcrt!iswalpha () from C:\Windows\system32\msvcrt.dll
#4  0x65ef1cda in Tokenizer::DoGetToken (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:1025
#5  0x65ef2c0c in Tokenizer::CalcConditionExpression (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:1240
#6  0x65ef39bc in Tokenizer::HandleConditionPreprocessor (this=0x8e765a0,
    type=ptElif)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:1514
#7  0x65ef179a in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:906
#8  0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#9  0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#10 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#11 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#12 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#13 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#14 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#15 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#16 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#17 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#18 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#19 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#20 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#21 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#22 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#23 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#24 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#25 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#26 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#27 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#28 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#29 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#30 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#31 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#32 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#33 0x65ef190d in Tokenizer::SkipUnwanted (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#34 0x65ef19d6 in Tokenizer::GetToken (this=0x8e765a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:967
#35 0x65edae26 in ParserThread::DoParse (this=0x8e76598)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\parserthread.cpp:503
#36 0x65edabd1 in ParserThread::Parse (this=0x8e76598)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\parserthread.cpp:467
#37 0x65f06b25 in ParserThread::Execute (this=0x8e76598)
    at C:/Work/codeblocks_trunk/src/plugins/codecompletion/parser/parserthread.h:137
#38 0x00e40802 in cbThreadPool::cbWorkerThread::Entry (this=0x92196b0)
    at C:\Work\codeblocks_trunk\src\sdk\cbthreadpool.cpp:228
#39 0x6277db48 in wxmsw28u_gcc_custom!_ZN11wxCondition6SignalEv ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#40 0x6277dc7c in wxmsw28u_gcc_custom!_ZN11wxCondition6SignalEv ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#41 0x75c22599 in wcstombs () from C:\Windows\system32\msvcrt.dll
#42 0x75c226b3 in msvcrt!_beginthreadex () from C:\Windows\system32\msvcrt.dll
#43 0x7731d0e9 in KERNEL32!AcquireSRWLockExclusive ()
   from C:\Windows\system32\kernel32.dll
#44 0x771c19bb in ntdll!RtlInitializeNtUserPfn ()
   from C:\Windows\system32\ntdll.dll
#45 0x771c198e in ntdll!RtlInitializeNtUserPfn ()
   from C:\Windows\system32\ntdll.dll
#46 0x00000000 in ?? ()

Thread 9 (Thread 5532.0x19bc):
#0  0x771e5e74 in ntdll!LdrAccessResource ()
   from C:\Windows\system32\ntdll.dll
#1  0x771e5620 in ntdll!ZwWaitForSingleObject ()
   from C:\Windows\system32\ntdll.dll
#2  0x77319884 in WaitForSingleObjectEx ()
   from C:\Windows\system32\kernel32.dll
#3  0x0000022c in ?? ()
    at C:/Work/codeblocks_trunk/src/src/scriptingsettingsdlg.h:30
#4  0x00000000 in ?? ()

Thread 8 (Thread 5532.0x488):
#0  0x771e5e74 in ntdll!LdrAccessResource ()
   from C:\Windows\system32\ntdll.dll
#1  0x771e5620 in ntdll!ZwWaitForSingleObject ()
   from C:\Windows\system32\ntdll.dll
#2  0x77319884 in WaitForSingleObjectEx ()
   from C:\Windows\system32\kernel32.dll
#3  0x000001e0 in ?? ()
    at C:/Work/codeblocks_trunk/src/src/scriptingsettingsdlg.h:29
#4  0x00000000 in ?? ()

Thread 7 (Thread 5532.0x19d4):
#0  0x771e5e74 in ntdll!LdrAccessResource ()
   from C:\Windows\system32\ntdll.dll
#1  0x771e5620 in ntdll!ZwWaitForSingleObject ()
   from C:\Windows\system32\ntdll.dll
#2  0x77319884 in WaitForSingleObjectEx ()
   from C:\Windows\system32\kernel32.dll
#3  0x0000016c in ?? ()
    at C:/Work/codeblocks_trunk/src/src/scriptingsettingsdlg.h:27
#4  0x00000000 in ?? ()

Thread 6 (Thread 5532.0x1540):
#0  0x771e5e74 in ntdll!LdrAccessResource ()
   from C:\Windows\system32\ntdll.dll
#1  0x771e5620 in ntdll!ZwWaitForSingleObject ()
   from C:\Windows\system32\ntdll.dll
#2  0x77319884 in WaitForSingleObjectEx ()
   from C:\Windows\system32\kernel32.dll
#3  0x00000164 in ?? ()
    at C:/Work/codeblocks_trunk/src/src/scriptingsettingsdlg.h:27
#4  0x00000000 in ?? ()

Thread 5 (Thread 5532.0xd50):
#0  0x771e5e74 in ntdll!LdrAccessResource ()
   from C:\Windows\system32\ntdll.dll
#1  0x771e5620 in ntdll!ZwWaitForSingleObject ()
   from C:\Windows\system32\ntdll.dll
#2  0x77319884 in WaitForSingleObjectEx ()
   from C:\Windows\system32\kernel32.dll
#3  0x0000015c in ?? ()
    at C:/Work/codeblocks_trunk/src/src/scriptingsettingsdlg.h:27
#4  0x00000000 in ?? ()

Thread 4 (Thread 5532.0x1e4c):
#0  0x771e5e74 in ntdll!LdrAccessResource ()
   from C:\Windows\system32\ntdll.dll
#1  0x771e5620 in ntdll!ZwWaitForSingleObject ()
   from C:\Windows\system32\ntdll.dll
#2  0x77319884 in WaitForSingleObjectEx ()
   from C:\Windows\system32\kernel32.dll
#3  0x00000158 in ?? ()
    at C:/Work/codeblocks_trunk/src/src/scriptingsettingsdlg.h:27
#4  0x00000000 in ?? ()

Thread 3 (Thread 5532.0x1ea4):
#0  0x771e5e74 in ntdll!LdrAccessResource ()
   from C:\Windows\system32\ntdll.dll
#1  0x771e5620 in ntdll!ZwWaitForSingleObject ()
   from C:\Windows\system32\ntdll.dll
#2  0x77319884 in WaitForSingleObjectEx ()
   from C:\Windows\system32\kernel32.dll
#3  0x00000148 in ?? ()
    at C:/Work/codeblocks_trunk/src/src/scriptingsettingsdlg.h:27
#4  0x00000001 in ?? ()
    at c:/mingw32/bin/../lib/gcc/mingw32/4.5.1/include/c++/ext/new_allocator.h:94
#5  0x6a6956ac in ?? ()
#6  0x77319800 in WaitForSingleObject () from C:\Windows\system32\kernel32.dll
#7  0xffffffff in ?? ()
#8  0x76067581 in ole32!CoDosDateTimeToFileTime ()
   from C:\Windows\system32\ole32.dll

Thread 2 (Thread 5532.0x1ae8):
#0  0x771e5e74 in ntdll!LdrAccessResource ()
   from C:\Windows\system32\ntdll.dll
#1  0x771e50b0 in ntdll!ZwRemoveIoCompletion ()
   from C:\Windows\system32\ntdll.dll
#2  0x7731d11e in KERNEL32!GetQueuedCompletionStatusEx ()
   from C:\Windows\system32\kernel32.dll
#3  0x75f903c8 in RPCRT4!NdrTypeFree () from C:\Windows\system32\rpcrt4.dll
#4  0x00000120 in ?? ()
#5  0x06d3fed8 in ?? ()
#6  0x75f904fd in RPCRT4!NdrTypeFree () from C:\Windows\system32\rpcrt4.dll
#7  0xffffffff in ?? ()
#8  0x06d3ff44 in ?? ()
#9  0x75f9011c in RPCRT4!NdrTypeFree () from C:\Windows\system32\rpcrt4.dll
#10 0x06d3ff7c in ?? ()
#11 0x75f900e3 in RPCRT4!NdrTypeFree () from C:\Windows\system32\rpcrt4.dll
#12 0x0032f028 in ?? ()
#13 0x75f90166 in RPCRT4!NdrTypeFree () from C:\Windows\system32\rpcrt4.dll
#14 0x0032e2b0 in ?? ()
#15 0x7731d0e9 in KERNEL32!AcquireSRWLockExclusive ()
   from C:\Windows\system32\kernel32.dll
#16 0x771c19bb in ntdll!RtlInitializeNtUserPfn ()
   from C:\Windows\system32\ntdll.dll
#17 0x771c198e in ntdll!RtlInitializeNtUserPfn ()
   from C:\Windows\system32\ntdll.dll
#18 0x00000000 in ?? ()

Thread 1 (Thread 5532.0xd70):
#0  0x771e5e74 in ntdll!LdrAccessResource ()
   from C:\Windows\system32\ntdll.dll
#1  0x771e5620 in ntdll!ZwWaitForSingleObject ()
   from C:\Windows\system32\ntdll.dll
#2  0x771be16a in ntdll!RtlAddAccessDeniedObjectAce ()
   from C:\Windows\system32\ntdll.dll
#3  0x771be04d in ntdll!RtlAddAccessDeniedObjectAce ()
   from C:\Windows\system32\ntdll.dll
#4  0x6277baad in wxmsw28u_gcc_custom!_ZN17wxCriticalSection5EnterEv ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#5  0x65f0c311 in wxCriticalSectionLocker (this=0x22f47c, cs=...)
    at C:/Work/wxWidgets-2.8.11/include/wx/thread.h:286
#6  0x65ed9b79 in ParserThread::ParseBufferForNamespaces (this=0x22f524,
    buffer=..., result=...)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\parserthread.cpp:261
#7  0x65ed59f1 in Parser::ParseBufferForNamespaces (this=0x41f1140,
    buffer=..., result=...)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\parser.cpp:595
#8  0x65eac52a in CodeCompletion::ParseFunctionsAndFillToolbar (
    this=0x580b490, force=false)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\codecompletion.cpp:2136
#9  0x65ead985 in CodeCompletion::OnStartParsingFunctions (this=0x580b490,
    event=...)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\codecompletion.cpp:2403
#10 0x62783e8c in wxmsw28u_gcc_custom!_ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#11 0x62783fc5 in wxmsw28u_gcc_custom!_ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#12 0x62784390 in wxmsw28u_gcc_custom!_ZN12wxEvtHandler12ProcessEventER7wxEvent () from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#13 0x6288d5a1 in wxmsw28u_gcc_custom!_ZN11wxTimerBase6NotifyEv ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#14 0x627c28a8 in wxmsw28u_gcc_custom!_ZN7wxTimer4InitEv ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#15 0x75acfd72 in USER32!GetWindowMinimizeRect ()
   from C:\Windows\system32\user32.dll
#16 0x00641526 in ?? ()
#17 0x75acfe4a in USER32!GetWindowMinimizeRect ()
   from C:\Windows\system32\user32.dll
#18 0x627c2830 in wxmsw28u_gcc_custom!_ZN7wxTimer4InitEv ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#19 0x75ad018d in USER32!GetMonitorInfoA ()
   from C:\Windows\system32\user32.dll
#20 0x75ad022b in USER32!DisplayExitWindowsWarnings ()
   from C:\Windows\system32\user32.dll
#21 0x75ac51f5 in USER32!IsWindowInDestroy ()
   from C:\Windows\system32\user32.dll
#22 0x0022fb94 in ?? ()
#23 0x627b0b50 in wxmsw28u_gcc_custom!_ZN11wxEventLoop17PreProcessMessageEP6tagMSG () from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#24 0x627b070d in wxmsw28u_gcc_custom!_ZN11wxEventLoop14ProcessMessageEP6tagMSG () from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#25 0x627b08ff in wxmsw28u_gcc_custom!_ZN11wxEventLoop8DispatchEv ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#26 0x62845200 in wxmsw28u_gcc_custom!_ZN17wxEventLoopManual3RunEv ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#27 0x62824815 in wxmsw28u_gcc_custom!_ZN9wxAppBase8MainLoopEv ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#28 0x00405700 in CodeBlocksApp::OnRun (this=0x41f8b28)
    at C:\Work\codeblocks_trunk\src\src\app.cpp:780
#29 0x62731560 in wxmsw28u_gcc_custom!_Z14wxUninitializev ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#30 0x62789906 in wxmsw28u_gcc_custom!_Z7wxEntryP11HINSTANCE__S0_Pci ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#31 0x00401c95 in WinMain@16 (hInstance=0x400000, hPrevInstance=0x0,
    lpCmdLine=0x2f3ed5 "", nCmdShow=5)
    at C:\Work\codeblocks_trunk\src\src\app.cpp:260
#32 0x0045f046 in main ()
(gdb) warning: (Internal error: pc 0x22b in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x22b in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x22b in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x22b in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x1df in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x1df in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x1df in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x1df in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x1df in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x16b in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x16b in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x16b in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x16b in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x16b in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x163 in read in psymtab, but not in symtab.)
[...]
warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

[...]
Cannot access memory at address 0xee1e5d04
[...]

daniloz

  • Guest
Re: Crashes anyone??
« Reply #8 on: December 01, 2010, 11:05:02 am »
I catch another freeze, this time after several hours of C::B open. I switched to Visio to do some documentation and when I clicked on the task bar to get C::B back, it returned frozen...

Here is the bt trace (from gdb):
Code
Reading symbols from C:\Work\codeblocks_trunk\src\output/codeblocks.exe...done.
Attaching to program `C:\Work\codeblocks_trunk\src\output/codeblocks.exe', process 3208
[New Thread 3208.0x97c]
[New Thread 3208.0x17ac]
[New Thread 3208.0x14f8]
[New Thread 3208.0x1f50]
[New Thread 3208.0x1950]
[New Thread 3208.0x1a70]
[New Thread 3208.0x1bd0]
[New Thread 3208.0x16b4]
[New Thread 3208.0x1af4]
[New Thread 3208.0x1e68]
[New Thread 3208.0x1ae0]
[Switching to Thread 3208.0x1ae0]
(gdb) bt
#0  0x771c8b2f in ntdll!DbgUiConvertStateChangeStructure () from C:\Windows\system32\ntdll.dll
#1  0x7720c9a0 in ntdll!EtwEventEnabled () from C:\Windows\system32\ntdll.dll
#2  0x60e6dcee in ?? ()
#3  0x00000000 in ?? ()

And the "thread apply all bt":
Code
(gdb) thread apply all bt

Thread 11 (Thread 3208.0x1ae0):
#0  0x771c8b2f in ntdll!DbgUiConvertStateChangeStructure () from C:\Windows\system32\ntdll.dll
#1  0x7720c9a0 in ntdll!EtwEventEnabled () from C:\Windows\system32\ntdll.dll
#2  0x60e6dcee in ?? ()
#3  0x00000000 in ?? ()

Thread 10 (Thread 3208.0x1e68):
#0  0x771e5e74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x771e50b0 in ntdll!ZwRemoveIoCompletion () from C:\Windows\system32\ntdll.dll
#2  0x7731d11e in KERNEL32!GetQueuedCompletionStatusEx () from C:\Windows\system32\kernel32.dll
#3  0x75f903c8 in RPCRT4!NdrTypeFree () from C:\Windows\system32\rpcrt4.dll
warning: (Internal error: pc 0x12b in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x12b in read in psymtab, but not in symtab.)

#4  0x0000012c in ?? (warning: (Internal error: pc 0x12b in read in psymtab, but not in symtab.)

) at C:/Work/codeblocks_trunk/src/src/scriptingsettingsdlg.h:26
warning: (Internal error: pc 0x12b in read in psymtab, but not in symtab.)

#5  0x0ab8fed8 in ?? ()
#6  0x75f904fd in RPCRT4!NdrTypeFree () from C:\Windows\system32\rpcrt4.dll
#7  0xffffffff in ?? ()
#8  0x0ab8ff44 in ?? ()
#9  0x75f9011c in RPCRT4!NdrTypeFree () from C:\Windows\system32\rpcrt4.dll
#10 0x0ab8ff7c in ?? ()
#11 0x75f900e3 in RPCRT4!NdrTypeFree () from C:\Windows\system32\rpcrt4.dll
#12 0x00c5f098 in ?? ()
#13 0x75f90166 in RPCRT4!NdrTypeFree () from C:\Windows\system32\rpcrt4.dll
#14 0x06e297b0 in ?? ()
#15 0x7731d0e9 in KERNEL32!AcquireSRWLockExclusive () from C:\Windows\system32\kernel32.dll
#16 0x771c19bb in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll.dll
#17 0x771c198e in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll.dll
#18 0x00000000 in ?? ()

Thread 9 (Thread 3208.0x1af4):
#0  0x771e5e58 in ntdll!RtlUshortByteSwap () from C:\Windows\system32\ntdll.dll

Thread 8 (Thread 3208.0x16b4):
#0  0x62b1d925 in wxmsw28u_gcc_custom!_ZNK12wxStringBase13GetStringDataEv ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#1  0x62b1da21 in wxmsw28u_gcc_custom!_ZNK12wxStringBase6lengthEv ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#2  0x6274c67d in wxmsw28u_gcc_custom!_ZNK8wxString3MidEjj ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#3  0x65ef1ee0 in Tokenizer::DoGetToken (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:1057
#4  0x65ef2c0c in Tokenizer::CalcConditionExpression (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:1240
#5  0x65ef39bc in Tokenizer::HandleConditionPreprocessor (this=0x94223a8, type=ptElif)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:1514
#6  0x65ef179a in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:906
#7  0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#8  0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#9  0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#10 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#11 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#12 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#13 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#14 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#15 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#16 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#17 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#18 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#19 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#20 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#21 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#22 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#23 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#24 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#25 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#26 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#27 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#28 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#29 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#30 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#31 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#32 0x65ef190d in Tokenizer::SkipUnwanted (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:947
#33 0x65ef19d6 in Tokenizer::GetToken (this=0x94223a8)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\tokenizer.cpp:967
#34 0x65edae26 in ParserThread::DoParse (this=0x94223a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\parserthread.cpp:503
#35 0x65edabd1 in ParserThread::Parse (this=0x94223a0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\parser\parserthread.cpp:467
#36 0x65f06b25 in ParserThread::Execute (this=0x94223a0)
    at C:/Work/codeblocks_trunk/src/plugins/codecompletion/parser/parserthread.h:137
#37 0x010d0802 in cbThreadPool::cbWorkerThread::Entry (this=0xcbd0d78)
    at C:\Work\codeblocks_trunk\src\sdk\cbthreadpool.cpp:228
#38 0x6277db48 in wxmsw28u_gcc_custom!_ZN11wxCondition6SignalEv ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#39 0x6277dc7c in wxmsw28u_gcc_custom!_ZN11wxCondition6SignalEv ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#40 0x75c22599 in wcstombs () from C:\Windows\system32\msvcrt.dll
#41 0x75c226b3 in msvcrt!_beginthreadex () from C:\Windows\system32\msvcrt.dll
#42 0x7731d0e9 in KERNEL32!AcquireSRWLockExclusive () from C:\Windows\system32\kernel32.dll
#43 0x771c19bb in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll.dll
#44 0x771c198e in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll.dll
#45 0x00000000 in ?? ()

Thread 7 (Thread 3208.0x1bd0):
#0  0x771e5e74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x75ac8e7d in USER32!InitializeLpkHooks () from C:\Windows\system32\user32.dll
#2  0x75ad0b36 in USER32!SendNotifyMessageA () from C:\Windows\system32\user32.dll
#3  0x6281c4b9 in wxmsw28u_gcc_custom!_ZN10wxTreeCtrl15SetAnyImageListEP11wxImageListi ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#4  0x6281c55f in wxmsw28u_gcc_custom!_ZN10wxTreeCtrl12SetImageListEP11wxImageList ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#5  0x65e9a15c in ClassBrowserBuilderThread::BuildTree (this=0x5bd96f0, useLock=true)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\classbrowserbuilderthread.cpp:329
#6  0x65e99ef2 in ClassBrowserBuilderThread::Entry (this=0x5bd96f0)
    at C:\Work\codeblocks_trunk\src\plugins\codecompletion\classbrowserbuilderthread.cpp:275
#7  0x6277db48 in wxmsw28u_gcc_custom!_ZN11wxCondition6SignalEv ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#8  0x6277dc7c in wxmsw28u_gcc_custom!_ZN11wxCondition6SignalEv ()
   from C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll
#9  0x75c22599 in wcstombs () from C:\Windows\system32\msvcrt.dll
#10 0x75c226b3 in msvcrt!_beginthreadex () from C:\Windows\system32\msvcrt.dll
#11 0x7731d0e9 in KERNEL32!AcquireSRWLockExclusive () from C:\Windows\system32\kernel32.dll
#12 0x771c19bb in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll.dll
#13 0x771c198e in ntdll!RtlInitializeNtUserPfn () from C:\Windows\system32\ntdll.dll
#14 0x00000000 in ?? ()

Thread 6 (Thread 3208.0x1a70):
#0  0x771e5e74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x771e5620 in ntdll!ZwWaitForSingleObject () from C:\Windows\system32\ntdll.dll
#2  0x77319884 in WaitForSingleObjectEx () from C:\Windows\system32\kernel32.dll
warning: (Internal error: pc 0x1e3 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x1e3 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x1e3 in read in psymtab, but not in symtab.)

#3  0x000001e4 in ?? (warning: (Internal error: pc 0x1e3 in read in psymtab, but not in symtab.)

) at C:/Work/codeblocks_trunk/src/src/scriptingsettingsdlg.h:29
warning: (Internal error: pc 0x1e3 in read in psymtab, but not in symtab.)

#4  0x00000000 in ?? ()

Thread 5 (Thread 3208.0x1950):
#0  0x771e5e74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x771e5620 in ntdll!ZwWaitForSingleObject () from C:\Windows\system32\ntdll.dll
#2  0x77319884 in WaitForSingleObjectEx () from C:\Windows\system32\kernel32.dll
warning: (Internal error: pc 0x16f in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x16f in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x16f in read in psymtab, but not in symtab.)

#3  0x00000170 in ?? (warning: (Internal error: pc 0x16f in read in psymtab, but not in symtab.)

) at C:/Work/codeblocks_trunk/src/src/scriptingsettingsdlg.h:27
warning: (Internal error: pc 0x16f in read in psymtab, but not in symtab.)

#4  0x00000000 in ?? ()

Thread 4 (Thread 3208.0x1f50):
#0  0x771e5e74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x771e5620 in ntdll!ZwWaitForSingleObject () from C:\Windows\system32\ntdll.dll
#2  0x77319884 in WaitForSingleObjectEx () from C:\Windows\system32\kernel32.dll
warning: (Internal error: pc 0x163 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x163 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x163 in read in psymtab, but not in symtab.)

#3  0x00000164 in ?? (warning: (Internal error: pc 0x163 in read in psymtab, but not in symtab.)

) at C:/Work/codeblocks_trunk/src/src/scriptingsettingsdlg.h:27
warning: (Internal error: pc 0x163 in read in psymtab, but not in symtab.)

#4  0x00000000 in ?? ()

Thread 3 (Thread 3208.0x14f8):
#0  0x771e5e74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x771e5620 in ntdll!ZwWaitForSingleObject () from C:\Windows\system32\ntdll.dll
#2  0x77319884 in WaitForSingleObjectEx () from C:\Windows\system32\kernel32.dll
warning: (Internal error: pc 0x15b in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x15b in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x15b in read in psymtab, but not in symtab.)

#3  0x0000015c in ?? (warning: (Internal error: pc 0x15b in read in psymtab, but not in symtab.)

) at C:/Work/codeblocks_trunk/src/src/scriptingsettingsdlg.h:27
warning: (Internal error: pc 0x15b in read in psymtab, but not in symtab.)

#4  0x00000000 in ?? ()

Thread 2 (Thread 3208.0x17ac):
#0  0x771e5e74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x771e5620 in ntdll!ZwWaitForSingleObject () from C:\Windows\system32\ntdll.dll
#2  0x77319884 in WaitForSingleObjectEx () from C:\Windows\system32\kernel32.dll
warning: (Internal error: pc 0x157 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x157 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x157 in read in psymtab, but not in symtab.)

#3  0x00000158 in ?? (warning: (Internal error: pc 0x157 in read in psymtab, but not in symtab.)

) at C:/Work/codeblocks_trunk/src/src/scriptingsettingsdlg.h:27
warning: (Internal error: pc 0x157 in read in psymtab, but not in symtab.)

#4  0x00000000 in ?? ()

Thread 1 (Thread 3208.0x97c):
#0  0x771e5e74 in ntdll!LdrAccessResource () from C:\Windows\system32\ntdll.dll
#1  0x771e4780 in ntdll!ZwDelayExecution () from C:\Windows\system32\ntdll.dll
#2  0x77319990 in SleepEx () from C:\Windows\system32\kernel32.dll
#3  0x00000000 in ?? ()

The interesting thing I figured out is there seems to be a recursion (also present in my other post) from tokenizer.cpp:947 (thread #8) . However, a quick look at the code shows that this recursion is intended there...

So, I'm lost here....

Any of the devs can help here?

Thanks in advance....

daniloz

  • Guest
Re: Crashes anyone??
« Reply #9 on: December 07, 2010, 01:48:49 pm »
Hey, can anyone help me here?
I got another two crashes this time, no freeze, just completely crashed... Here is the RPT file:
[edit]
now with some more information... :-)
[/edit]
Code
-------------------

Error occured on Tuesday, December 7, 2010 at 07:49:52.

C:\Work\codeblocks_trunk\src\output\codeblocks.exe caused an Access Violation at location 771e6739 in module C:\Windows\system32\ntdll.dll Reading from location 07e10cea.

Registers:
eax=0000000d ebx=09724b38 ecx=00020000 edx=09724b38 esi=07e10ce6 edi=09724b30
eip=771e6739 esp=0022ef74 ebp=0022efa8 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010202

Call stack:
771E6739  C:\Windows\system32\ntdll.dll:771E6739  RtlFreeHeap
771E66EA  C:\Windows\system32\ntdll.dll:771E66EA  RtlFreeHeap
77319A26  C:\Windows\system32\kernel32.dll:77319A26  HeapFree
75C09C03  C:\Windows\system32\msvcrt.dll:75C09C03  free
6272486E  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:6272486E  _ZN10wxFileName11SplitVolumeERK8wxStringPS0_S3_12wxPathFormat
627249AB  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:627249AB  _ZN10wxFileName7SetPathERK8wxString12wxPathFormat
62724D90  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:62724D90  _ZN10wxFileName6AssignERK8wxStringS2_S2_S2_b12wxPathFormat
62725C24  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:62725C24  _ZN10wxFileName6AssignERK8wxString12wxPathFormat
01220C6F  C:\Work\codeblocks_trunk\src\output\codeblocks.dll:01220C6F  _ZN10wxFileNameC1ERK8wxString12wxPathFormat
01104C6B  C:\Work\codeblocks_trunk\src\output\codeblocks.dll:01104C6B  _ZN17EditorLexerLoader4LoadEP10LoaderBase
010F1AAB  C:\Work\codeblocks_trunk\src\output\codeblocks.dll:010F1AAB  _ZN15EditorColourSet17LoadAvailableSetsEv
010F0E5F  C:\Work\codeblocks_trunk\src\output\codeblocks.dll:010F0E5F  _ZN15EditorColourSetC1ERK8wxString
69D5D26F  C:\Work\codeblocks_trunk\src\output\share\codeblocks\plugins\ThreadSearch.dll:69D5D26F -> ThreadSearchView.cpp:462
69D544DD  C:\Work\codeblocks_trunk\src\output\share\codeblocks\plugins\ThreadSearch.dll:69D544DD -> ThreadSearchLoggerList.cpp:218
69D5E716  C:\Work\codeblocks_trunk\src\output\share\codeblocks\plugins\ThreadSearch.dll:69D5E716 -> ThreadSearchView.cpp:768
62783E8C  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:62783E8C  _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
62783FC5  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:62783FC5  _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
62784390  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:62784390  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6288D5A1  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:6288D5A1  _ZN11wxTimerBase6NotifyEv
627C28A8  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:627C28A8  _ZN7wxTimer4InitEv
75ACFD72  C:\Windows\system32\USER32.dll:75ACFD72  GetWindowLongW
75ACFE4A  C:\Windows\system32\USER32.dll:75ACFE4A  GetWindowLongW
75AD018D  C:\Windows\system32\USER32.dll:75AD018D  GetMessageW
75AD022B  C:\Windows\system32\USER32.dll:75AD022B  DispatchMessageW
75AC51F5  C:\Windows\system32\USER32.dll:75AC51F5  IsWindowEnabled
627B0B50  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:627B0B50  _ZN11wxEventLoop17PreProcessMessageEP6tagMSG
627B070D  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:627B070D  _ZN11wxEventLoop14ProcessMessageEP6tagMSG
627B08FF  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:627B08FF  _ZN11wxEventLoop8DispatchEv
62845200  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:62845200  _ZN17wxEventLoopManual3RunEv
62824815  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:62824815  _ZN9wxAppBase8MainLoopEv
00405700  C:\Work\codeblocks_trunk\src\output\codeblocks.exe:00405700-------------------

Error occured on Tuesday, December 7, 2010 at 13:35:18.

C:\Work\codeblocks_trunk\src\output\codeblocks.exe caused an Access Violation at location 65e9b9c1 in module C:\Work\codeblocks_trunk\src\output\share\codeblocks\plugins\codecompletion.dll Reading from location 0dc4abb8.

Registers:
eax=0dc4ab80 ebx=00000000 ecx=75c09c10 edx=0073a288 esi=00000430 edi=0022e6c8
eip=65e9b9c1 esp=0022e1f8 ebp=0022e2f0 iopl=0         nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010246

Call stack:
65E9B9C1  C:\Work\codeblocks_trunk\src\output\share\codeblocks\plugins\codecompletion.dll:65E9B9C1 -> classbrowserbuilderthread.cpp:830
65E9D70E  C:\Work\codeblocks_trunk\src\output\share\codeblocks\plugins\codecompletion.dll:65E9D70E -> classbrowserbuilderthread.cpp:1058
65E981A8  C:\Work\codeblocks_trunk\src\output\share\codeblocks\plugins\codecompletion.dll:65E981A8 -> classbrowser.cpp:784
62783E8C  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:62783E8C  _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
62783FC5  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:62783FC5  _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
62784390  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:62784390  _ZN12wxEvtHandler12ProcessEventER7wxEvent
62892CF3  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:62892CF3  _ZN12wxWindowBase9TryParentER7wxEvent
62892CF3  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:62892CF3  _ZN12wxWindowBase9TryParentER7wxEvent
62892CF3  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:62892CF3  _ZN12wxWindowBase9TryParentER7wxEvent
6281DAF1  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:6281DAF1  _ZN10wxTreeCtrl11MSWOnNotifyEilPl
627D1C8E  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:627D1C8E  _ZN8wxWindow13MSWWindowProcEjjl
627CB97A  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:627CB97A  _Z9wxWndProcP6HWND__jjl@16
75ACFD72  C:\Windows\system32\USER32.dll:75ACFD72  GetWindowLongW
75ACFE4A  C:\Windows\system32\USER32.dll:75ACFE4A  GetWindowLongW
75AC9D6A  C:\Windows\system32\USER32.dll:75AC9D6A  ReleaseDC
75AC9F8D  C:\Windows\system32\USER32.dll:75AC9F8D  WCSToMBEx
771E5DAE  C:\Windows\system32\ntdll.dll:771E5DAE  KiUserCallbackDispatcher
75AD0B36  C:\Windows\system32\USER32.dll:75AD0B36  SendMessageW
742570E2  C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.18005_none_5cb72f96088b0de0\COMCTL32.DLL:742570E2  DSA_SetItem
742526F6  C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.18005_none_5cb72f96088b0de0\COMCTL32.DLL:742526F6  ImageList_GetBkColor
742524E8  C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.18005_none_5cb72f96088b0de0\COMCTL32.DLL:742524E8  ImageList_GetBkColor
7426D8BD  C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.18005_none_5cb72f96088b0de0\COMCTL32.DLL:7426D8BD  _TrackMouseEvent
742C017A  C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.18005_none_5cb72f96088b0de0\COMCTL32.DLL:742C017A  ImageList_SetBkColor
742B9D33  C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.18005_none_5cb72f96088b0de0\COMCTL32.DLL:742B9D33  ImageList_Draw
75ACFD72  C:\Windows\system32\USER32.dll:75ACFD72  GetWindowLongW
75ACFE4A  C:\Windows\system32\USER32.dll:75ACFE4A  GetWindowLongW
75AD09D3  C:\Windows\system32\USER32.dll:75AD09D3  CallWindowProcW
75AD0979  C:\Windows\system32\USER32.dll:75AD0979  CallWindowProcW
627C8436  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:627C8436  _ZN8wxWindow16MSWDefWindowProcEjjl
627D175F  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:627D175F  _ZN8wxWindow13MSWWindowProcEjjl
6281EE73  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:6281EE73  _ZN10wxTreeCtrl13MSWWindowProcEjjl
627CB97A  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:627CB97A  _Z9wxWndProcP6HWND__jjl@16
75ACFD72  C:\Windows\system32\USER32.dll:75ACFD72  GetWindowLongW
75ACFE4A  C:\Windows\system32\USER32.dll:75ACFE4A  GetWindowLongW
75AC9D6A  C:\Windows\system32\USER32.dll:75AC9D6A  ReleaseDC
75AC9F8D  C:\Windows\system32\USER32.dll:75AC9F8D  WCSToMBEx
771E5DAE  C:\Windows\system32\ntdll.dll:771E5DAE  KiUserCallbackDispatcher
627B083A  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:627B083A  _ZN11wxEventLoop8DispatchEv
62845200  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:62845200  _ZN17wxEventLoopManual3RunEv
62824815  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:62824815  _ZN9wxAppBase8MainLoopEv
00405700  C:\Work\codeblocks_trunk\src\output\codeblocks.exe:00405700
62731560  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:62731560  _Z14wxUninitializev
62789906  C:\Work\codeblocks_trunk\src\output\wxmsw28u_gcc_custom.dll:62789906  _Z7wxEntryP11HINSTANCE__S0_Pci
00401C95  C:\Work\codeblocks_trunk\src\output\codeblocks.exe:00401C95  WinMain@16  C:/Work/codeblocks_trunk/src/src/app.cpp:260
0045F046  C:\Work\codeblocks_trunk\src\output\codeblocks.exe:0045F046
004010DB  C:\Work\codeblocks_trunk\src\output\codeblocks.exe:004010DB
00401158  C:\Work\codeblocks_trunk\src\output\codeblocks.exe:00401158
7731D0E9  C:\Windows\system32\kernel32.dll:7731D0E9  BaseThreadInitThunk
771C19BB  C:\Windows\system32\ntdll.dll:771C19BB  RtlInitializeExceptionChain
771C198E  C:\Windows\system32\ntdll.dll:771C198E  RtlInitializeExceptionChain
« Last Edit: December 07, 2010, 01:58:43 pm by daniloz »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9720
Re: Crashes anyone??
« Reply #10 on: December 07, 2010, 01:53:07 pm »
Here is the RPT file:
I think generally the report files are of no help if you don't have the related compiled version of C::B that includes the debugging symbols. If you do so, you can try to apply this tool:

http://forums.codeblocks.org/index.php/topic,13129.msg88254.html#msg88254

...and report the de-mangeled output here. Than we can really trace to the root of the crashes. From the log I'd say it's ThreadSearch and CC.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

daniloz

  • Guest
Re: Crashes anyone??
« Reply #11 on: December 07, 2010, 02:11:13 pm »
Thanks for the reply Morten... I've just edited my post and included some more information (file name and lines) for the ThreadSearch and CC plugins...

Interesting is that I was working on another software and C::B was just running in the background when the crash occurred....

Btw, I'm using wxWidgets 2.8.11. Could it be the cause?


Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Crashes anyone??
« Reply #12 on: December 07, 2010, 02:53:03 pm »
The ThreadSearchEvent is timer-driven, so it can occur without user-action, the classbrowser event is (most likely) a selection-change event in classbrowser (I'm not absolutely sure, because you either have different sources, or the debugger spits out incorrect line-numbers, maybe due to conditional compiling).

Are you absolutely sure, your sources and your object directory have been really clean, before building C::B ?
No devel-, output- and .objs-subdirectory no include/*.gch ?

Did you try it with wx2.8.11 ?
There have been some changes between 10 and 11, if I remember correctly.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9720
Re: Crashes anyone??
« Reply #13 on: December 07, 2010, 02:59:00 pm »
Thanks for the reply Morten... I've just edited my post and included some more information (file name and lines) for the ThreadSearch and CC plugins...
Good to see, however, where I am currently I don't access to my sources... ;-)

However...
Btw, I'm using wxWidgets 2.8.11. Could it be the cause?
...this could indeed be a reason. Several users have reported issues (a.k.a. crashes) with his version of wxWidgets. There were some patches in the forums addressing these, so if you don't have them applied you should try these. BTW: If I remember Correctly, then this was actually a wx error. Any chance you try 2.8.10?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Crashes anyone??
« Reply #14 on: December 09, 2010, 05:01:59 am »
Please trying rev6877, and feedback?