Menu

An assertion failed running wxMaxima v. 17

2018-01-02
2018-01-31
  • Viktor Mileikovskyi

    Dear members! Happy New Year!

    wxMaxima has been built on Ubuntu 16.04 x64.
    Running wxmaxima-17.05.1 or wxmaxima-17.10.1 twice cause "An assertion failed" dialog. After the dialogs wxMaxima works correctly.

    Dialog screenshots are accesible by the following links (username has been rubbed out form pathes):

    https://drive.google.com/open?id=1BSM8jbUWy2sPd-NQQffb3w8cPiA2Q9MK

    https://drive.google.com/open?id=1WWrjU05dO_yqltsA6aOObrq9m6IJMTE8

    What's wrong?

    With best regards.
    Viktor.

     

    Last edit: Viktor Mileikovskyi 2018-01-02
  • Joseph Cusumano

    Joseph Cusumano - 2018-01-31

    I have the same problem with both 17.05.1 and 17.10.1, both compiled under Linux Mint 17.3.

    This happens the very first time I search in the Index tab of help. If I click the "Stop" button, it crashes wxMaxima. If I press the "Continue" button the program continues normally until the next Index search. If in addition I uncheck "Show this dialogue the next time", the program continues without any more notifications for the remainder of the session. There are no assertion failures in the the Contents or Search tabs of help.

    Is this a wxWidget library compatibility issue?

    Here's the backtrace:

    ASSERT INFO:
    ../include/wx/strvararg.h(451): assert "(argtype & (wxFormatStringSpecifier<T>::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type

    BACKTRACE:
    [1] int wxString::Printf<int, unsigned="" long="">(wxFormatString const&, int, unsigned long)
    [2] wxHtmlHelpWindow::DoIndexFind()
    [3] wxAppConsoleBase::CallEventHandler(wxEvtHandler, wxEventFunctor&, wxEvent&) const
    [4] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler
    , wxEvent&)
    [5] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler)
    [6] wxEvtHandler::TryHereOnly(wxEvent&)
    [7] wxEvtHandler::ProcessEventLocally(wxEvent&)
    [8] wxEvtHandler::ProcessEvent(wxEvent&)
    [9] wxWindowBase::TryAfter(wxEvent&)
    [10] wxWindowBase::TryAfter(wxEvent&)
    [11] wxWindowBase::TryAfter(wxEvent&)
    [12] wxWindowBase::TryAfter(wxEvent&)
    [13] wxWindowBase::TryAfter(wxEvent&)
    [14] wxEvtHandler::SafelyProcessEvent(wxEvent&)
    [15] wxTextCtrl::OnChar(wxKeyEvent&)
    [16] wxAppConsoleBase::CallEventHandler(wxEvtHandler
    , wxEventFunctor&, wxEvent&) const
    [17] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler, wxEvent&)
    [18] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler
    )
    [19] wxEvtHandler::TryHereOnly(wxEvent&)
    [20] wxEvtHandler::ProcessEventLocally(wxEvent&)
    [21] wxEvtHandler::ProcessEvent(wxEvent&)
    [22] wxEvtHandler::SafelyProcessEvent(wxEvent&)
    [23] g_closure_invoke
    [24] g_signal_emit_valist
    [25] g_signal_emit
    [26] gtk_window_propagate_key_event
    [27] g_closure_invoke
    [28] g_signal_emit_valist
    [29] g_signal_emit
    [30] gtk_propagate_event
    [31] gtk_main_do_event
    [32] g_main_context_dispatch
    [33] g_main_loop_run
    [34] gtk_main
    [35] wxGUIEventLoop::DoRun()
    [36] wxEventLoopBase::Run()
    [37] wxAppConsoleBase::MainLoop()
    [38] wxEntry(int&, wchar_t**)
    [39] main /home/jpc/Documents/Builds/wxmaxima-Version-17.10.1/src/main.cpp:121
    [40] __libc_start_main
    [41] _start