Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
crashes, when loading a workspace and then closing CB
Jenna:
If I am correct, the cause is, that some of the plugins or the core app do not delete the notebookpages from infopane on close (when app is shutting down), but the associated windows (loggers, lists, whatever) are destroyed.
wxAuiNotebook tries to delete all pages until the notebook is empty and that is what leads to a crash (most likely).
I moved the destroying of infopane after the destroying of managers and plugins, to keep the loggers valid as long as the logmanager might use it.
This was to fix a crash with debug-messages of C::B under wx2.9, that occured after destroying the infopane.
The problem is, that the logger do not write anything into the logwindow, if IsAppShuttingDown() returns true, but the appropriate flag was set after the infopane was destroyed.
A probably better solution would be to explicitely set the m_AppShuttingDown-flag in the manager directly after or even just before sending cbEVT_APP_START_SHUTDOWN.
Jenna:
This crash, and probably others (related to loggers) should be fixed with svn r8395.
After this commit it seems a long standing issue when shutting down the app is also fixed.
Knock on wood!
killerbot:
I can confirm that the crash I mentioned is solved by your commit Jens. Well done :D
MortenMacFly:
--- Quote from: killerbot on September 16, 2012, 11:02:26 pm ---I can confirm that the crash I mentioned is solved by your commit Jens. Well done :D
--- End quote ---
It also fixes a bug newly introduced: C::B remained invisible in memory on shut-down if not run in batch mode. I was just on my way to track that down...
dmoore:
--- Quote from: jens on September 16, 2012, 07:37:02 pm ---If I open the C::B workspace and start compiling before CC has finished parsing it hangs in almost every case and has to be killed with kill -9
On fedora 64bit.
--- End quote ---
Assume this is separate issue, but got bit by this recently. Any word on a fix?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version