The crash is the same problem found in the ThreadSearch plugin (use after free), see ticket 777 and the forum
http://forums.codeblocks.org/index.php/topic,23061.0.html (http://forums.codeblocks.org/index.php/topic,23061.0.html)
In ReopenEditor::ShowList() the following line detachs and deletes m_pListLog:
CodeBlocksLogEvent evt1(cbEVT_REMOVE_LOG_WINDOW, m_pListLog);
Manager::Get()->ProcessEvent(evt1);
but inmediately after the code uses the deleted window again:
if(m_IsManaged)
{
CodeBlocksLogEvent evt3(cbEVT_ADD_LOG_WINDOW, m_pListLog, _("Closed files list"),
&m_LogIcon);
Manager::Get()->ProcessEvent(evt3);
CodeBlocksLogEvent evt4(cbEVT_SWITCH_TO_LOG_WINDOW, m_pListLog);
Manager::Get()->ProcessEvent(evt4);
}
else
{
m_pListLog->Reparent(Manager::Get()->GetAppFrame());
m_pListLog->SetSize(wxSize(800,94));
m_pListLog->SetInitialSize(wxSize(800,94));
CodeBlocksDockEvent evt(cbEVT_ADD_DOCK_WINDOW);
evt.name = _T("ReopenEditorListPane");
evt.title = _("Closed file list");
evt.pWindow = m_pListLog;
evt.dockSide = CodeBlocksDockEvent::dsBottom;
evt.shown = true;
evt.hideable = true;
evt.desiredSize.Set(800, 94);
evt.floatingSize.Set(800, 94);
evt.minimumSize.Set(350, 94);
Manager::Get()->ProcessEvent(evt);
}
I created a patch for ThreadSearch that should work here.
EDIT: the closed file list works OK for me.