Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: rickg22 on October 11, 2005, 06:56:07 am
-
no 3rd party plugins.
Backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x10134084 in wxFrame::DoGetClientSize ()
from G:\projects\codeblocks\src\devel\wxmsw26_gcc_cb.dll
(gdb) bt
#0 0x10134084 in wxFrame::DoGetClientSize ()
from G:\projects\codeblocks\src\devel\wxmsw26_gcc_cb.dll
#1 0x0045404d in wxWindowBase::GetClientSize (this=0x3e4d98)
at G:/mingw/include/wx/window.h:284
#2 0x0041327c in MainFrame::CreateIDE (this=0x3e4d98) at src/main.cpp:435
#3 0x00411ded in MainFrame::MainFrame (this=0x3e4d98, lang=@0x1302ce4,
parent=0x0) at src/main.cpp:378
#4 0x00402732 in CodeBlocksApp::InitFrame (this=0x1302c90) at src/app.cpp:203
#5 0x0040376d in CodeBlocksApp::OnInit (this=0x1302c90) at src/app.cpp:328
#6 0x0044c0f8 in wxAppConsole::CallOnInit (this=0x1302c90)
at G:/mingw/include/wx/app.h:87
#7 0x10043171 in wxEntryReal ()
from G:\projects\codeblocks\src\devel\wxmsw26_gcc_cb.dll
#8 0x100b077c in wxEntry ()
from G:\projects\codeblocks\src\devel\wxmsw26_gcc_cb.dll
#9 0x0040138a in WinMain (hInstance=0x400000, hPrevInstance=0x0,
lpCmdLine=0x251f10 "", nCmdShow=10) at src/app.cpp:297
#10 0x0044661a in main () at G:/mingw/include/wx/gdicmn.h:389
Any ideas?
-
Um wait i think I compiled with a wrong custom variable... will report after next compile.
:( Still crashes, what am I doing wrong?
-
What wxWidgets version are you using Rick?
It 'd be nice if we tried with the same version, because you 're describing behaviours I don't see. There's probably wrong with something (C::B or not) but we should have a common base.
I 'm using wx2.6.1 with the patch for wxMSW. Before this version, I too got crashes in GetClientSize(). Are you sure you 've applied the patch?
-
no 3rd party plugins.
Backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x10134084 in wxFrame::DoGetClientSize ()
from G:\projects\codeblocks\src\devel\wxmsw26_gcc_cb.dll
(gdb) bt
#0 0x10134084 in wxFrame::DoGetClientSize ()
from G:\projects\codeblocks\src\devel\wxmsw26_gcc_cb.dll
#1 0x0045404d in wxWindowBase::GetClientSize (this=0x3e4d98)
at G:/mingw/include/wx/window.h:284
#2 0x0041327c in MainFrame::CreateIDE (this=0x3e4d98) at src/main.cpp:435
#3 0x00411ded in MainFrame::MainFrame (this=0x3e4d98, lang=@0x1302ce4,
parent=0x0) at src/main.cpp:378
#4 0x00402732 in CodeBlocksApp::InitFrame (this=0x1302c90) at src/app.cpp:203
#5 0x0040376d in CodeBlocksApp::OnInit (this=0x1302c90) at src/app.cpp:328
#6 0x0044c0f8 in wxAppConsole::CallOnInit (this=0x1302c90)
at G:/mingw/include/wx/app.h:87
#7 0x10043171 in wxEntryReal ()
from G:\projects\codeblocks\src\devel\wxmsw26_gcc_cb.dll
#8 0x100b077c in wxEntry ()
from G:\projects\codeblocks\src\devel\wxmsw26_gcc_cb.dll
#9 0x0040138a in WinMain (hInstance=0x400000, hPrevInstance=0x0,
lpCmdLine=0x251f10 "", nCmdShow=10) at src/app.cpp:297
#10 0x0044661a in main () at G:/mingw/include/wx/gdicmn.h:389
Any ideas?
It reminds me backtraces when trying to run on Linux wx2.6. Have You tried to change some compiler settings ? (removing -fno-ppc-struct-return on Linux fixed problem)
-
It reminds me backtraces when trying to run on Linux wx2.6. Have You tried to change some compiler settings ? (removing -fno-ppc-struct-return on Linux fixed problem)
Yeah, that too (good one, byo).
-
Hmmm........ maybe I haven't applied the patch... where was it? (Please bear with me ^^; , changing wxwidgets version is always difficult)
-
Patch? This one? (http://ftp://biolpc22.york.ac.uk/pub/2.6.1/wxWidgets-2.6.1-Patch01.zip)
-
Thanks! :)
-
It works! :D
I also remembered to update the "setup.h" file in the includes, and i could compile and run codeblocks now!
Now I'm able to test and show you the freezes :-P