Reed Hedges wrote:
> Currently however TerAngreal is crashing on me. I am halfway into a few
> improvements to preferences/saving your avatar, but I need to figure out
> this crash first.
[New Thread -1224789888 (LWP 6787)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1224789888 (LWP 6787)]
0xb74559b0 in mallopt () from /lib/tls/libc.so.6
(gdb) bt
#0 0xb74559b0 in mallopt () from /lib/tls/libc.so.6
#1 0xb7454c43 in malloc () from /lib/tls/libc.so.6
#2 0xb717714b in g_malloc () from /usr/lib/libglib-1.2.so.0
#3 0xb7180484 in g_strdup () from /usr/lib/libglib-1.2.so.0
#4 0xb72d07f7 in gtk_type_unique () from /usr/lib/libgtk-1.2.so.0
#5 0xb723495c in gtk_editable_get_type () from /usr/lib/libgtk-1.2.so.0
#6 0xb7236caa in gtk_entry_get_type () from /usr/lib/libgtk-1.2.so.0
#7 0xb7237029 in gtk_entry_new () from /usr/lib/libgtk-1.2.so.0
#8 0xb787f3b5 in wxTextCtrl::Create () from /usr/lib/libwx_gtk-2.4.so.0
#9 0xb787ec73 in wxTextCtrl::wxTextCtrl () from /usr/lib/libwx_gtk-2.4.so.0
#10 0x080bc34c in TerWxMainFrame::constructMain (this=0x8571c10,
object_reg=0x85710a8)
at string.h:311
#11 0x080bdd74 in TerWxMainFrame (this=0x8571c10, object_reg=0x85710a8,
parent=0x0,
id=-1, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED],
style=541068864,
[EMAIL PROTECTED]) at ter_mainframe.cc:76
#12 0x080b6659 in WxTerangreal::OnInit (this=0x856c8e8) at string.h:311
#13 0xb78311d8 in wxEntry () from /usr/lib/libwx_gtk-2.4.so.0
#14 0x080b6539 in main (argc=1, argv=0xbffff724) at wxmain.cc:25
Obviously WxTerangreal::OnInit is not at string.h:311, but that's being
called from a macro so maybe that confused gdb. A theory is that
something is going wrong with passing a wxString into wxTextCtrl but
really I have no ideas yet.
_______________________________________________
vos-d mailing list
[email protected]
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d