Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
CVS HEAD (10/10/2005) crashes...
rickg22:
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?
rickg22:
Um wait i think I compiled with a wrong custom variable... will report after next compile.
:( Still crashes, what am I doing wrong?
mandrav:
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?
byo:
--- Quote from: 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?
--- End quote ---
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)
mandrav:
--- Quote ---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)
--- End quote ---
Yeah, that too (good one, byo).
Navigation
[0] Message Index
[#] Next page
Go to full version