Menu

#185 Right click the "Management" title bar and then an assertion failed.

Undefined
fixed
None
Bug_Report
2015-08-08
2015-07-11
holmium
No

I right click the "Management" title bar and then an assertion failed occurs.
I ran Codeblocks on ArchLinux x86_64 after I pacmaned -Syu today.

ASSERT INFO:
./src/common/menucmn.cpp(713): assert "!GetParent()" failed in SetInvokingWindow(): should only be called for top level popup menus

BACKTRACE:
[1] wxMenuBase::SetInvokingWindow(wxWindow)
[2] wxWindowBase::PopupMenu(wxMenu
, int, int)
[3] wxStringTokenizer::~wxStringTokenizer()
[4] wxStringTokenizer::~wxStringTokenizer()
[5] wxAppConsoleBase::CallEventHandler(wxEvtHandler, wxEventFunctor&, wxEvent&) const
[6] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler
, wxEvent&)
[7] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler)
[8] wxEvtHandler::TryHereOnly(wxEvent&)
[9] wxEvtHandler::DoTryChain(wxEvent&)
[10] wxEvtHandler::ProcessEvent(wxEvent&)
[11] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[12] g_closure_invoke
[13] g_signal_emit_valist
[14] g_signal_emit
[15] gtk_propagate_event
[16] gtk_main_do_event
[17] g_main_context_dispatch
[18] g_main_context_iteration
[19] gtk_main_iteration
[20] wxWindow::DoPopupMenu(wxMenu
, int, int)
[21] wxWindowBase::PopupMenu(wxMenu, int, int)
[22] wxStringTokenizer::~wxStringTokenizer()
[23] wxStringTokenizer::~wxStringTokenizer()
[24] wxAppConsoleBase::CallEventHandler(wxEvtHandler
, wxEventFunctor&, wxEvent&) const
[25] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler, wxEvent&)
[26] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler
)
[27] wxEvtHandler::TryHereOnly(wxEvent&)
[28] wxEvtHandler::DoTryChain(wxEvent&)
[29] wxEvtHandler::ProcessEvent(wxEvent&)
[30] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[31] g_closure_invoke
[32] g_signal_emit_valist
[33] g_signal_emit
[34] gtk_propagate_event
[35] gtk_main_do_event
[36] g_main_context_dispatch
[37] g_main_loop_run
[38] gtk_main
[39] wxGUIEventLoop::DoRun()
[40] wxEventLoopBase::Run()
[41] wxAppConsoleBase::MainLoop()
[42] wxEntry(int&, wchar_t**)
[43] __libc_start_main

Discussion

  • bluehazzard

    bluehazzard - 2015-07-11

    Can you please add your wxWidgets version and c::b version?

     
  • Teodor Petrov

    Teodor Petrov - 2015-07-11

    Probably it is wx3.x, this is not the first report for this issue.

     
  • holmium

    holmium - 2015-07-12

    cb13.12 rev 9501
    wx3.0.2(Linux, unicode) - 64bit

     
  • FuzzyToothpaste

    FuzzyToothpaste - 2015-07-12

    I can confirm this on Debian Testing (Stretch) with wxWidgets 3.0. This issue is not specific to Code::Blocks 13.12; this issue is reproducible in the latest trunk version from svn, which is 10357.

     
  • Teodor Petrov

    Teodor Petrov - 2015-07-13

    I'm able to reproduce it and I'm trying to fix it...

     
  • holmium

    holmium - 2015-07-15

    Thanks everyone!!

     
  • Teodor Petrov

    Teodor Petrov - 2015-07-22
    • assigned_to: Teodor Petrov
     
  • Teodor Petrov

    Teodor Petrov - 2015-08-08
    • status: open --> fixed
     
  • Teodor Petrov

    Teodor Petrov - 2015-08-08

    Fixed in rev10384

     

Log in to post a comment.