I just realised that batch builds seem to be broken in SVN (r4741). If I try I see a window, then a message box and if I hit OK C::B just crashes. The log is here:
6286B5C7 C:\WINDOWS\system32\wxmsw28u_gcc_custom.dll:6286B5C7 _ZN10wxListCtrl12SetItemStateElll
64BFF63D C:\Devel\CodeBlocks\src\devel\share\codeblocks\plugins\compiler.dll:64BFF63D CompilerMessages::FocusError(int) C:/Devel/CodeBlocks/src/plugins/compilergcc/compilermessages.cpp:55
64BFCA44 C:\Devel\CodeBlocks\src\devel\share\codeblocks\plugins\compiler.dll:64BFCA44 CompilerGCC::OnJobEnd(unsigned, int) C:/Devel/CodeBlocks/src/plugins/compilergcc/compilergcc.cpp:3568
64BFBD7A C:\Devel\CodeBlocks\src\devel\share\codeblocks\plugins\compiler.dll:64BFBD7A CompilerGCC::OnGCCTerminated(CodeBlocksEvent&) C:/Devel/CodeBlocks/src/plugins/compilergcc/compilergcc.cpp:3454
(...more follow...)
Can someone confirm the issue?
With regards, Morten.
yes, several issues. On WINDOWS :
1) right click in explorer on a cbp and for example choose rebuild --> grey panel (no logs showing in it), and then the message box saying it finished)
2) I call CB with command line options for a nightly build system --> since I updated to a post 'new' log mechanism a few days ago, each night CRASH
Error occured on Thursday, December 20, 2007 at 20:09:41.
C:\CodeBlocks\src\output\codeblocks.exe caused an Access Violation at location 1016bb17 in module C:\CodeBlocks\src\output\wxmsw28u_gcc_cb.dll Reading from location 000000cd.
Registers:
eax=00000006 ebx=00000006 ecx=0022f348 edx=00000000 esi=0022f348 edi=0022f37c
eip=1016bb17 esp=0022f328 ebp=0022f3a0 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:
1016BB17 C:\CodeBlocks\src\output\wxmsw28u_gcc_cb.dll:1016BB17 _ZN10wxListCtrl12SetItemStateElll
64BF870D C:\CodeBlocks\src\output\share\codeblocks\plugins\compiler.dll:64BF870D
64BF5B12 C:\CodeBlocks\src\output\share\codeblocks\plugins\compiler.dll:64BF5B12
64BF4E48 C:\CodeBlocks\src\output\share\codeblocks\plugins\compiler.dll:64BF4E48
100C7F55 C:\CodeBlocks\src\output\wxmsw28u_gcc_cb.dll:100C7F55 _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
100C82AC C:\CodeBlocks\src\output\wxmsw28u_gcc_cb.dll:100C82AC _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
100C9279 C:\CodeBlocks\src\output\wxmsw28u_gcc_cb.dll:100C9279 _ZN12wxEvtHandler12ProcessEventER7wxEvent
100C9099 C:\CodeBlocks\src\output\wxmsw28u_gcc_cb.dll:100C9099 _ZN12wxEvtHandler20ProcessPendingEventsEv
10001BF4 C:\CodeBlocks\src\output\wxmsw28u_gcc_cb.dll:10001BF4 _ZN12wxAppConsole20ProcessPendingEventsEv
105C3C75 C:\CodeBlocks\src\output\wxmsw28u_gcc_cb.dll:105C3C75 _ZN18wxHtmlSearchEngineD1Ev
7E41F84A C:\WINDOWS\system32\USER32.dll:7E41F84A EnableMenuItem
7E41F7F6 C:\WINDOWS\system32\USER32.dll:7E41F7F6 EnableMenuItem
7E41F94B C:\WINDOWS\system32\USER32.dll:7E41F94B CallNextHookEx
7C90EAE3 C:\WINDOWS\system32\ntdll.dll:7C90EAE3 KiUserCallbackDispatcher
1010EBC4 C:\CodeBlocks\src\output\wxmsw28u_gcc_cb.dll:1010EBC4 _ZN11wxEventLoop8DispatchEv
101E6986 C:\CodeBlocks\src\output\wxmsw28u_gcc_cb.dll:101E6986 _ZN17wxEventLoopManual3RunEv
1015DA8B C:\CodeBlocks\src\output\wxmsw28u_gcc_cb.dll:1015DA8B _ZN8wxDialog9ShowModalEv
00405706 C:\CodeBlocks\src\output\codeblocks.exe:00405706
00403BC6 C:\CodeBlocks\src\output\codeblocks.exe:00403BC6
00462A30 C:\CodeBlocks\src\output\codeblocks.exe:00462A30
1004E2F9 C:\CodeBlocks\src\output\wxmsw28u_gcc_cb.dll:1004E2F9 _Z14wxUninitializev
100D1D7C C:\CodeBlocks\src\output\wxmsw28u_gcc_cb.dll:100D1D7C _Z7wxEntryP11HINSTANCE__S0_Pci
004017DA C:\CodeBlocks\src\output\codeblocks.exe:004017DA
0045EEAA C:\CodeBlocks\src\output\codeblocks.exe:0045EEAA
00401237 C:\CodeBlocks\src\output\codeblocks.exe:00401237
00401288 C:\CodeBlocks\src\output\codeblocks.exe:00401288
7C816FD7 C:\WINDOWS\system32\kernel32.dll:7C816FD7 RegisterWaitForInputIdle
...
In the example of batch build, we have for sure 2 (new?) issues :
...
- the compiler output is not visible, where this use to work in the past (why is that windows plain grey now)
The grey window appears since some releases. I don't know exactly when (but I try to investigate), but I thought it was a problem with my virtual w2k.
The crash does not happen for me.
On linux when I execute codeblocks -ns --no-batch-window-close --build CodeBlocks-unix.cbp
it works without problems, and I have two tabs in the window ("Build Log" and "Script Console").
On windows the same commandline does not work.
Another difference is that that on win the dialog seems to run asynchron, that means after running the commandthe prompt immediately returns and then the dialog opens.
On Linux all output also goes to console and the prompt does not reappear before the dialog is closed.
What I want to say is, that there seems to be a difference between this two OSes and even between different installations and/or versions on/of win.