Author Topic: CVS HEAD (10/10/2005) crashes...  (Read 6850 times)

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
CVS HEAD (10/10/2005) crashes...
« 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?

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: CVS HEAD (10/10/2005) crashes...
« Reply #1 on: October 11, 2005, 06:58:58 am »
Um wait i think I compiled with a wrong custom variable... will report after next compile.

:( Still crashes, what am I doing wrong?
« Last Edit: October 11, 2005, 07:39:35 am by rickg22 »

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: CVS HEAD (10/10/2005) crashes...
« Reply #2 on: October 11, 2005, 08:49:33 am »
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?
Be patient!
This bug will be fixed soon...

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: CVS HEAD (10/10/2005) crashes...
« Reply #3 on: October 11, 2005, 10:46:31 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?

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)

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: CVS HEAD (10/10/2005) crashes...
« Reply #4 on: October 11, 2005, 11:28:14 am »
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)

Yeah, that too (good one, byo).
Be patient!
This bug will be fixed soon...

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: CVS HEAD (10/10/2005) crashes...
« Reply #5 on: October 11, 2005, 05:40:05 pm »
Hmmm........ maybe I haven't applied the patch... where was it? (Please bear with me ^^; , changing wxwidgets version is always difficult)

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: CVS HEAD (10/10/2005) crashes...
« Reply #6 on: October 11, 2005, 06:02:23 pm »
Patch? This one?

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: CVS HEAD (10/10/2005) crashes...
« Reply #7 on: October 11, 2005, 07:00:17 pm »
Thanks! :)

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: CVS HEAD (10/10/2005) crashes...
« Reply #8 on: October 12, 2005, 05:27:21 am »
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