Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Batch builds currently broken in SVN
MortenMacFly:
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:
--- Code: ---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...)
--- End code ---
Can someone confirm the issue?
With regards, Morten.
MortenMacFly:
...OK - they *are* broken as "control" is zero in the code pointed to in the previous post. :-(
killerbot:
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
--- Code: ---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
--- End code ---
MortenMacFly:
--- Quote from: killerbot on December 21, 2007, 02:57:48 pm ---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)
--- End quote ---
I have just realised this, too after...
--- Quote from: killerbot on December 21, 2007, 02:57:48 pm ---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
--- End quote ---
...I have fixed this crash. Seems like the layout mechanism is broken. If you manually resize the log window the loggers appear but they are *not* present (means the UI is not instantiated) if you don't -> thus, the crash.
Seems there was aleady a guy who reported this, too:
http://forums.codeblocks.org/index.php/topic,7478.msg56788.html#msg56788
I'm afraid I don't geht why the logger UI is not working. I introduced a m_pBatchBuildDialog->FitInside() in MainFrame::SetupGUILogging() for the batch build dialog but this made things worse: The logs are visible but the whole dialog is damn small. How I love siizers... ;-) For now I need to stop to go home but I believe Yiannis can fix this in a second so when I'm home it may already been resolved. ;-)
As for the crash I simply added an if (control) check in void CompilerMessages::FocusError(int nr).
With regards, Morten.
thomas:
Please don't blame the logging system. You're just getting what everyone wanted.
The new logging system was made mainly to remove all these hacks, and to make it possible to write easy code with no frills and workarounds.
Instead, the code is now more queer than ever. Inserting that if(control) may prevent the crash, but it doesn't really fix anything, it's still all screwed up. You cannot even tell for sure what is added to which window when.
Navigation
[0] Message Index
[#] Next page
Go to full version