Hi, I am trying to get rc1 up and running on a sarge distro, this gdb session should sum up the problem:
(gdb) run
Starting program: /home/roger/dev/codeblocks-1.0-RC1-1/src/devel/codeblocks.exe
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 10413)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 10413)]
0x404664d2 in wxWindowBase::GetClientSize ()
from /home/roger/dev/wxWidgets-2.6.2/lib/libwx_gtk2_core-2.6.so.0
(gdb) list
70 { wxCMD_LINE_PARAM, _T(""), _T(""), _T("filename(s)"), wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL | wxCMD_LINE_PARAM_MULTIPLE },
71 { wxCMD_LINE_NONE }
72 };
73 #endif // wxUSE_CMDLINE_PARSER
74
75 #ifdef __WXMSW__
76 DDEServer* g_DDEServer = 0L;
77 #endif
78
79 IMPLEMENT_APP(CodeBlocksApp)
(gdb) bt
#0 0x404664d2 in wxWindowBase::GetClientSize ()
from /home/roger/dev/wxWidgets-2.6.2/lib/libwx_gtk2_core-2.6.so.0
#1 0x0805fa84 in MainFrame::CreateIDE (this=0x861ac10) at src/main.cpp:434
#2 0x0805ed96 in MainFrame (this=0x861ac10, parent=0x0) at src/main.cpp:366
#3 0x08058b97 in CodeBlocksApp::InitFrame (this=0x808f6f8) at src/app.cpp:176
#4 0x08059004 in CodeBlocksApp::OnInit (this=0x808f6f8) at src/app.cpp:249
#5 0x0805a370 in wxAppConsole::CallOnInit (this=0x808f6f8) at app.h:87
#6 0x40688d90 in wxEntry ()
from /home/roger/dev/wxWidgets-2.6.2/lib/libwx_base-2.6.so.0
#7 0x08058294 in main (argc=1, argv=0xbffff984) at src/app.cpp:79
(gdb) Quit
(gdb)
Trouble is I do not know where to go from here. Apparently the problem is at a low level in wxWidgets. Now I did compile this myself **but** I have compiled and run the 'controls' demo in the wxWidgets samples directory, and that works fine. Note that codeblocks gets as far as displaying correctly the splash screen before it segfaults.
Tips & tricks anybody?
Thanks.