The code for this bug is more than 14 years old as this was when the lines in the code were reformatted that this patch is removing.
If you run C::B with the following parameters (plus others to make C::B batch mode work)
--log-to-file --debug-log-to-file --build
Then you expect to have a app and debug log, but due to the lines in the following code snippet you do NOT get any log files.
if (!Manager::IsBatchBuild()) { *CODE REMOVED* } else { *CODE REMOVED* // setting &g_null_log causes the app to crash on exit for some reason... ** mgr->SetLog(new NullLogger, LogManager::app_log); mgr->SetLog(new NullLogger, LogManager::debug_log); ** }
Patch attaches to remove the two lines.
Does the app crash on exit if you remove them?
I have not had any crashed after removing the lines. I have done a minimum of about 20 batch builds after making the changes.
Applied in [r12712], thank you.
Related
Commit: [r12712]