andrejv/wxmaxima — Issue #200: Assertion Failed -- Linux build with wxWidgets 2.9.3
Author: DemiReticent
Created: 2011-12-18 03:39:28+00:00
State: open

Build info

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.3 LTS"

wx-config --version
2.9.3

Built from latest master i.e.

commit 27ee232201ca9611d88a39b0c3a2cfc253fe87a9
Author: Andrej Vodopivec
Date: Fri Dec 16 21:44:53 2011 +0100

Probably related to the issue on Windows with wx 2.9.3

```
ASSERT INFO:
../src/unix/fontutil.cpp(237): assert "Assert failure" failed in SetStyle(): unknown font style

BACKTRACE:
[1] wxOnAssert(char const*, int, char const*, char const*, char const*)
[2] wxNativeFontInfo::SetStyle(wxFontStyle)
[3] wxFont::Create(int, wxFontFamily, wxFontStyle, wxFontWeight, bool, wxString const&, wxFontEncoding)
[4] wxDC::SetFont(wxFont const&) /usr/local/include/wx-2.9/wx/dc.h:862
[5] GroupCell::RecalculateAppended(CellParser&) /media/C6885BF2885BE00B/linux/src/wxmaxima-2.9/src/GroupCell.cpp:398
[6] MathCtrl::InsertLine(MathCell*, bool) /media/C6885BF2885BE00B/linux/src/wxmaxima-2.9/src/MathCtrl.cpp:382
[7] wxMaxima::DoConsoleAppend(wxString, int, bool, bool) /media/C6885BF2885BE00B/linux/src/wxmaxima-2.9/src/wxMaxima.cpp:400
[8] wxMaxima::ConsoleAppend(wxString, int) /media/C6885BF2885BE00B/linux/src/wxmaxima-2.9/src/wxMaxima.cpp:354
[9] wxMaxima::ReadMath() /media/C6885BF2885BE00B/linux/src/wxmaxima-2.9/src/wxMaxima.cpp:853
[10] wxMaxima::ClientEvent(wxSocketEvent&) /media/C6885BF2885BE00B/linux/src/wxmaxima-2.9/src/wxMaxima.cpp:560
[11] wxAppConsoleBase::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) cons)
[12] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) cons)
[13] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[14] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[15] wxEvtHandler::TryHereOnly(wxEvent&)
[16] wxEvtHandler::ProcessEventLocally(wxEvent&)
[17] wxEvtHandler::ProcessEvent(wxEvent&)
[18] wxEvtHandler::ProcessPendingEvents()
[19] wxAppConsoleBase::ProcessPendingEvents()
[20] wxApp::DoIdle()
[21] g_main_context_dispatch()
[22] g_main_loop_run()
[23] gtk_main()
[24] wxGUIEventLoop::Run()
[25] wxAppConsoleBase::MainLoop()
[26] wxAppConsoleBase::OnRun()
```