Author Topic: [FIXED] Assert failure on closing C::B  (Read 265 times)

Online Commaster

  • Multiple posting newcomer
  • *
  • Posts: 75
[FIXED] Assert failure on closing C::B
« 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.
« Last Edit: December 08, 2017, 07:56:23 am by Commaster »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2068
Re: Assert failure on closing C::B
« Reply #1 on: December 06, 2017, 05:44:46 pm »
I'll look into this.

Offline liyishan1314@163.com

  • Single posting newcomer
  • *
  • Posts: 1
Re: Assert failure on closing C::B
« Reply #2 on: December 07, 2017, 07:11:32 am »
me too
My system environment Windows 7 64

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2068
Re: Assert failure on closing C::B
« Reply #3 on: December 07, 2017, 08:36:33 pm »
Fixed svn 11246

Online Commaster

  • Multiple posting newcomer
  • *
  • Posts: 75
Re: Assert failure on closing C::B
« Reply #4 on: December 08, 2017, 07:55:53 am »
Thank you, works just fine!