Code::Blocks

User forums => Help => Topic started by: Commaster on December 04, 2017, 09:28:46 pm

Title: [FIXED] Assert failure on closing C::B
Post by: Commaster on December 04, 2017, 09:28:46 pm
svn 11245, Ubuntu x64 16.04.3, wx3.0.4.

Backtrace:
Code: [Select]
ASSERT INFO:
../../src/common/wincmn.cpp(1517): assert "Assert failure" failed in RemoveEventHandler(): where has the event handler gone?

BACKTRACE:
[1] wxWindowBase::RemoveEventHandler(wxEvtHandler*)
[2] JumpTracker::OnRelease(bool)
[3] BrowseTracker::OnRelease(bool)
[4] cbPlugin::Release(bool)
[5] PluginManager::DetachPlugin(cbPlugin*)
[6] PluginManager::UnloadPlugin(cbPlugin*)
[7] PluginManager::UnloadAllPlugins()
[8] PluginManager::~PluginManager()
[9] PluginManager::~PluginManager()
[10] Manager::Shutdown()
[11] MainFrame::OnApplicationClose(wxCloseEvent&)
[12] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const
[13] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[14] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[15] wxEvtHandler::TryHereOnly(wxEvent&)
[16] wxEvtHandler::DoTryChain(wxEvent&)
[17] wxEvtHandler::ProcessEvent(wxEvent&)
[18] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[19] wxWindowBase::Close(bool)
[20] g_closure_invoke
[21] g_signal_emit_valist
[22] g_signal_emit
[23] gtk_main_do_event
[24] g_main_context_dispatch
[25] g_main_loop_run
[26] gtk_main
[27] wxGUIEventLoop::DoRun()
[28] wxEventLoopBase::Run()
[29] wxAppConsoleBase::MainLoop()
[30] CodeBlocksApp::OnRun()
[31] wxEntry(int&, wchar_t**)
[32] main
[33] __libc_start_main
[34] _start

Reproduced so far 100% of the times. Not sure what started causing it.

UPD. Downgrading to 11244 fixes it.
Title: Re: Assert failure on closing C::B
Post by: Pecan on December 06, 2017, 05:44:46 pm
I'll look into this.
Title: Re: Assert failure on closing C::B
Post by: liyishan1314@163.com on December 07, 2017, 07:11:32 am
me too
My system environment Windows 7 64
Title: Re: Assert failure on closing C::B
Post by: Pecan on December 07, 2017, 08:36:33 pm
Fixed svn 11246
Title: Re: Assert failure on closing C::B
Post by: Commaster on December 08, 2017, 07:55:53 am
Thank you, works just fine!