Bug #13232 2008-02-28 19:36

bhagabhi

Open Lua-file in Editor, Compile my project - instant crash

Well, as the summary says - I have a project (in C++), also containing lua files. If I have one of the Lua files open when pressing ctrl-F9 to compile (the entire project) CodeBlocks instantly crashes. It is only when I have one of the Lua files open, it doesn't crash if I have one of the c++ files open. The project doesn't contain info for compilation of the lua files in any way, I just edit them in codeblocks (and load them uncompiled in my project). I am sorry I didn't find this before the release... Crash is appearing in both 8.02 and the SVN version before (4893).

codeblocks.RPT gives this if it is any help:

Error occured on Thursday, February 28, 2008 at 20:22:47.

C:\Program Files\CodeBlocks\codeblocks.exe caused an Access Violation at location 64bf6711 in module C:\Program Files\CodeBlocks\share\codeblocks\plugins\compiler.dll Reading from location 435c6467.

Registers:
eax=435c6463 ebx=6d23fe90 ecx=77c2c2e3 edx=0304d5d0 esi=02f88f68 edi=0022fa88
eip=64bf6711 esp=0022f040 ebp=0022f044 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010206

Call stack:
64BF6711  C:\Program Files\CodeBlocks\share\codeblocks\plugins\compiler.dll:64BF6711  _ZN8cbPlugin9OnReleaseEb
64BF66F1  C:\Program Files\CodeBlocks\share\codeblocks\plugins\compiler.dll:64BF66F1  _ZN8cbPlugin9OnReleaseEb
64BF7381  C:\Program Files\CodeBlocks\share\codeblocks\plugins\compiler.dll:64BF7381  _ZNK8cbPlugin9CanDetachEv
64BC9A61  C:\Program Files\CodeBlocks\share\codeblocks\plugins\compiler.dll:64BC9A61
64BCB8E8  C:\Program Files\CodeBlocks\share\codeblocks\plugins\compiler.dll:64BCB8E8
64BCD073  C:\Program Files\CodeBlocks\share\codeblocks\plugins\compiler.dll:64BCD073
64BCEC5C  C:\Program Files\CodeBlocks\share\codeblocks\plugins\compiler.dll:64BCEC5C
64BCED27  C:\Program Files\CodeBlocks\share\codeblocks\plugins\compiler.dll:64BCED27
64BABFEF  C:\Program Files\CodeBlocks\share\codeblocks\plugins\compiler.dll:64BABFEF
64BAC885  C:\Program Files\CodeBlocks\share\codeblocks\plugins\compiler.dll:64BAC885
64BB0939  C:\Program Files\CodeBlocks\share\codeblocks\plugins\compiler.dll:64BB0939
64BA3FE4  C:\Program Files\CodeBlocks\share\codeblocks\plugins\compiler.dll:64BA3FE4
64BA730B  C:\Program Files\CodeBlocks\share\codeblocks\plugins\compiler.dll:64BA730B
64BB0B98  C:\Program Files\CodeBlocks\share\codeblocks\plugins\compiler.dll:64BB0B98
6CCCA4AE  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCA4AEDwarf Error: found dwarf version '16898', this reader only handles version 2 information.  _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
6CCCBA89  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBA89  _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
6CCCBFBF  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBFBF  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CCCBF61  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBF61  _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD99760  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD99760  _ZN11wxFrameBase14ProcessCommandEi
6CD37531  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD37531  _ZN7wxFrame13HandleCommandEttPv
6CD38FB7  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD38FB7  _ZN7wxFrame13MSWWindowProcEjjl
6CD147A1  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD147A1  _Z9wxWndProcP6HWND__jjl@16
7E418724  C:\WINDOWS\system32\USER32.dll:7E418724  GetDC
7E418806  C:\WINDOWS\system32\USER32.dll:7E418806  GetDC
7E41B4B0  C:\WINDOWS\system32\USER32.dll:7E41B4B0  DefWindowProcW
7E41B4FC  C:\WINDOWS\system32\USER32.dll:7E41B4FC  DefWindowProcW
7C90EAE3  C:\WINDOWS\system32\ntdll.dll:7C90EAE3  KiUserCallbackDispatcher
6CD26D8C  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD26D8CDwarf Error: found dwarf version '16898', this reader only handles version 2 information.  _ZNK18wxAcceleratorTable9TranslateEP8wxWindowP6tagMSG
6CD3770C  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD3770C  _ZN7wxFrame21MSWDoTranslateMessageEPS_P6tagMSG
0045B4F1  C:\Program Files\CodeBlocks\codeblocks.exe:0045B4F1  _ZN14cbWizardPlugin9BuildMenuEP9wxMenuBar
6CCFC245  C:\Program Files\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCFC245Dwarf Error: found dwarf version '16897', this reader only handles version 2 information.

Category
Application::Crash
Group
 
Status
Closed
Close date
2008-02-29 14:32
Assigned to
 
bhagabhi 2008-02-28 20:35

You can close this bug - it seems like I had a mixup with previous version confusing the system. After editing the project-files by hand I got rid of the bad behaviour and now everything works fine.