Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
CB crash when using batchbuild
tiwag:
i'm using the batchbuild feature regularly, since a few revisions CB crashes when trying to batchbuild a workspace
here the commandline, which i use in a batchfile, which was working since half a year or longer ...
"D:\Programme\CodeBlocks\codeblocks.exe" -na -nd -ns -p=batchbld --build "D:\Devel\CodeBlocks\trunk\src\.my.CodeBlocks.workspace"
CB svn rev 2499, wx-widgets 2.6.3 Windows, unicode
and here the RPT file attached
[attachment deleted by admin]
tiwag:
here a call-stack trace,
might be better than the previous crash report.
[attachment deleted by admin]
MortenMacFly:
Mmmmh... it's the bold line in the following code (sdk/messagemanager.cpp:443):
if (dlg->m_pText)
{
dlg->m_pText->AppendText(tmp + _T('\n')); // log to build log window
dlg->m_pText->ScrollLines(-1);
Manager::ProcessPendingEvents();
}
I don't see an issue here since dlg->m_pText is veriffeied before...?! Could you have a look if it points to the same construct the sources you've used?
tiwag:
i couldn't analyse the problem till now, but since my last installed "good" version, where everything was working ok for me, was rev 2472,
it has to do something with any modifications that happened later.
obviously the crash has something to do with the logging feature,
one of the suspect changes is in rev 2482, the commit descriptions says :
" * Cleaned up some logging code in compiler plugin. "
tiwag:
--- Quote from: MortenMacFly on May 24, 2006, 10:15:01 pm ---I don't see an issue here since dlg->m_pText is veriffeied before...
--- End quote ---
it happened more than once in history of menkind, that a pointer isn't set to zero
and isn't valid any more at the same time ...
Navigation
[0] Message Index
[#] Next page
Go to full version