Skip to content

Instantly share code, notes, and snippets.

@lighth7015
Created March 29, 2020 18:30
Show Gist options
  • Save lighth7015/ef4d4dcda5fb1b19f535c6782158e68d to your computer and use it in GitHub Desktop.
Save lighth7015/ef4d4dcda5fb1b19f535c6782158e68d to your computer and use it in GitHub Desktop.
wxWidgets backtrace
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff69de3e0 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
(gdb) bt
#0 0x00007ffff69de3e0 in () at /usr/lib/libgtk-x11-2.0.so.0
#1 0x00007ffff69e45d0 in gtk_rc_get_style () at /usr/lib/libgtk-x11-2.0.so.0
#2 0x00007ffff77fb256 in wxControl::GetDefaultAttributesFromGTKWidget(_GtkWidget*, bool, int) () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#3 0x00007ffff77fb6e2 in wxControl::GetDefaultAttributes() const () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#4 0x00007ffff7965f8b in wxWindowBase::GetFont() const () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#5 0x00007ffff7834ac5 in wxStaticText::SetFont(wxFont const&) () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#6 0x0000555555561c7c in SignIn::SignIn(wxWindow*, int, wxPoint const&, wxSize const&, long) (this=0x5555555f9b40, parent=0x0, id=10000, pos=..., size=..., style=537401408) at app.cpp:71
#7 0x0000555555564b58 in Application::Application() (this=0x5555555f9110) at main.cpp:65
#8 0x0000555555564a6d in wxCreateApp() () at main.cpp:38
#9 0x00007ffff7317389 in wxEntryStart(int&, wchar_t**) () at /usr/lib/libwx_baseu-3.0.so.0
#10 0x00007ffff731746e in wxInitialize(int, wchar_t**) () at /usr/lib/libwx_baseu-3.0.so.0
#11 0x00007ffff731748e in wxEntry(int&, wchar_t**) () at /usr/lib/libwx_baseu-3.0.so.0
#12 0x0000555555564a30 in main(int, char**) (argc=1, argv=0x7fffffffe3b8) at main.cpp:38
(gdb) frame 6
#6 0x0000555555561c7c in SignIn::SignIn (this=0x5555555f9b40, parent=0x0, id=10000, pos=..., size=..., style=537401408) at app.cpp:71
71 m_staticText2->SetFont(f);
(gdb) print m_staticText2
$1 = (wxStaticText *) 0x5555556230a0
(gdb) print *m_staticText2
$2 = <incomplete type>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment