Author Topic: CB compiled in WinXP crashed in Win2000  (Read 5310 times)

Offline heromyth

  • Multiple posting newcomer
  • *
  • Posts: 98
    • http://
CB compiled in WinXP crashed in Win2000
« on: June 30, 2005, 10:43:54 am »
I have successfully compiled CB obtained from CVS with wxWidgets-2.6.1.  It can be run in WinXP successfully, but crashed when run in Win2000.

Here is the message from codeblocks.RPT:

-------------------

Error occured on Thursday, June 30, 2005 at 15:03:37.

D:\Program Files\CodeBlocks\codeblocks.exe caused an Access Violation at location 71756aa0 in module C:\WINNT\system32\COMCTL32.DLL Reading from location 00080128.

Registers:
eax=00000001 ebx=00000001 ecx=00245314 edx=00080100 esi=ffffffff edi=002419e8
eip=71756aa0 esp=0022e038 ebp=0022e04c iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00010202

Call stack:
71756AA0  C:\WINNT\system32\COMCTL32.DLL:71756AA0  Ordinal413
71756B25  C:\WINNT\system32\COMCTL32.DLL:71756B25  Ordinal413
71714867  C:\WINNT\system32\COMCTL32.DLL:71714867  Ordinal358
71714911  C:\WINNT\system32\COMCTL32.DLL:71714911  Ordinal358
7171364D  C:\WINNT\system32\COMCTL32.DLL:7171364D  Ordinal332
77DF1EF0  C:\WINNT\system32\USER32.DLL:77DF1EF0  MsgWaitForMultipleObjects
77DF3D1E  C:\WINNT\system32\USER32.DLL:77DF3D1E  GetDesktopWindow
77DF3D9A  C:\WINNT\system32\USER32.DLL:77DF3D9A  CallWindowProcA
1015698F  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:1015698F  _ZNK10wxNotebook7HitTestERK7wxPointPl
77DF1EF0  C:\WINNT\system32\USER32.DLL:77DF1EF0  MsgWaitForMultipleObjects
77DF3D1E  C:\WINNT\system32\USER32.DLL:77DF3D1E  GetDesktopWindow
77DF3D9A  C:\WINNT\system32\USER32.DLL:77DF3D9A  CallWindowProcA
10107ED0  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:10107ED0  _ZN8wxWindow16MSWDefWindowProcEjjl
1010FDFC  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:1010FDFC  _ZN8wxWindow13MSWWindowProcEjjl
10108CA0  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:10108CA0  _Z9wxWndProcP6HWND__jjl@16
77DF1EF0  C:\WINNT\system32\USER32.DLL:77DF1EF0  MsgWaitForMultipleObjects
77DF3523  C:\WINNT\system32\USER32.DLL:77DF3523  DefWindowProcW
77DF6015  C:\WINNT\system32\USER32.DLL:77DF6015  SendMessageA
1015786B  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:1015786B  _ZN10wxNotebook6OnSizeER11wxSizeEvent
100A7948  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:100A7948  _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
100A7D0C  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:100A7D0C  _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
100A8CE9  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:100A8CE9  _ZN12wxEvtHandler12ProcessEventER7wxEvent
1010CF95  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:1010CF95  _ZN8wxWindow10HandleSizeEiij
1010FCE1  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:1010FCE1  _ZN8wxWindow13MSWWindowProcEjjl
10108CA0  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:10108CA0  _Z9wxWndProcP6HWND__jjl@16
77DF1EF0  C:\WINNT\system32\USER32.DLL:77DF1EF0  MsgWaitForMultipleObjects
77DF3523  C:\WINNT\system32\USER32.DLL:77DF3523  DefWindowProcW
77DF6015  C:\WINNT\system32\USER32.DLL:77DF6015  SendMessageA
1015794A  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:1015794A  _ZN10wxNotebook6OnSizeER11wxSizeEvent
100A7948  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:100A7948  _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
100A7D0C  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:100A7D0C  _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
100A8CE9  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:100A8CE9  _ZN12wxEvtHandler12ProcessEventER7wxEvent
1010CF95  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:1010CF95  _ZN8wxWindow10HandleSizeEiij
1010FCE1  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:1010FCE1  _ZN8wxWindow13MSWWindowProcEjjl
10108CA0  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:10108CA0  _Z9wxWndProcP6HWND__jjl@16
77DF1EF0  C:\WINNT\system32\USER32.DLL:77DF1EF0  MsgWaitForMultipleObjects
77DF3523  C:\WINNT\system32\USER32.DLL:77DF3523  DefWindowProcW
77DF2FD8  C:\WINNT\system32\USER32.DLL:77DF2FD8  ReleaseDC
77DF343F  C:\WINNT\system32\USER32.DLL:77DF343F  DefWindowProcW
77DF1EF0  C:\WINNT\system32\USER32.DLL:77DF1EF0  MsgWaitForMultipleObjects
77DF3D1E  C:\WINNT\system32\USER32.DLL:77DF3D1E  GetDesktopWindow
77DF3D9A  C:\WINNT\system32\USER32.DLL:77DF3D9A  CallWindowProcA
1015698F  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:1015698F  _ZNK10wxNotebook7HitTestERK7wxPointPl
77DF1EF0  C:\WINNT\system32\USER32.DLL:77DF1EF0  MsgWaitForMultipleObjects
77DF3D1E  C:\WINNT\system32\USER32.DLL:77DF3D1E  GetDesktopWindow
77DF3D9A  C:\WINNT\system32\USER32.DLL:77DF3D9A  CallWindowProcA
10107ED0  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:10107ED0  _ZN8wxWindow16MSWDefWindowProcEjjl
1010FDFC  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:1010FDFC  _ZN8wxWindow13MSWWindowProcEjjl
10108CA0  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:10108CA0  _Z9wxWndProcP6HWND__jjl@16
77DF1EF0  C:\WINNT\system32\USER32.DLL:77DF1EF0  MsgWaitForMultipleObjects
77DF3869  C:\WINNT\system32\USER32.DLL:77DF3869  SetWindowTextW
77DF66E4  C:\WINNT\system32\USER32.DLL:77DF66E4  IsWindowEnabled
77F9FF57  C:\WINNT\system32\ntdll.dll:77F9FF57  KiUserCallbackDispatcher
1010F2E0  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:1010F2E0  _ZN8wxWindow12DoMoveWindowEiiii
1010754A  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:1010754A  _ZN8wxWindow9DoSetSizeEiiiii
0042704D  D:\Program Files\CodeBlocks\codeblocks.exe:0042704D
00427008  D:\Program Files\CodeBlocks\codeblocks.exe:00427008
00408A81  D:\Program Files\CodeBlocks\codeblocks.exe:00408A81
00406F3C  D:\Program Files\CodeBlocks\codeblocks.exe:00406F3C
00418788  D:\Program Files\CodeBlocks\codeblocks.exe:00418788
00419058  D:\Program Files\CodeBlocks\codeblocks.exe:00419058
00425F8C  D:\Program Files\CodeBlocks\codeblocks.exe:00425F8C
10043321  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:10043321  _Z14wxUninitializev
100B091C  D:\Program Files\CodeBlocks\wxmsw26_gcc_custom.dll:100B091C  _Z7wxEntryP11HINSTANCE__S0_Pci
0041760A  D:\Program Files\CodeBlocks\codeblocks.exe:0041760A
004240CA  D:\Program Files\CodeBlocks\codeblocks.exe:004240CA
004011E7  D:\Program Files\CodeBlocks\codeblocks.exe:004011E7
00401238  D:\Program Files\CodeBlocks\codeblocks.exe:00401238
77E71AF6  C:\WINNT\system32\KERNEL32.dll:77E71AF6  OpenEventA

-----------------------------------

What can I do? :roll: Does somebody help me? Thanks firstly!
It seems it's because of wxWidgets. However, I have test some samples of wxWidgets run in win2000 compiled in winXP, and thre is no any problem.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
CB compiled in WinXP crashed in Win2000
« Reply #1 on: June 30, 2005, 01:19:39 pm »
Quote
D:\Program Files\CodeBlocks\codeblocks.exe caused an Access Violation at location 71756aa0 in module

Are you sure you 're running the CVS version and not the one that was previously installed?

Try running C::B from the devel folder, since you 're running CVS code.
This way the stack trace might be more meaningfull ;)

Yiannis.
Be patient!
This bug will be fixed soon...

Offline Lexx

  • Multiple posting newcomer
  • *
  • Posts: 13
    • http://www.glassfish-games.com
CB compiled in WinXP crashed in Win2000
« Reply #2 on: June 30, 2005, 02:56:12 pm »
Hi!

I have compiled and tested the cvs version with wx2.6.1. But i can't see the project tree. (yes, i have the update.bat running). And if i will see my unvisible project properties, crashed:


-------------------

Error occured on Thursday, June 30, 2005 at 14:51:29.

E:\Projects\codeblocks\src\devel\codeblocks.exe caused an Access Violation at location 6058fde6 in module E:\Projects\codeblocks\src\devel\codeblocks.dll Reading from location 00000158.

Registers:
eax=018c076c ebx=01826b90 ecx=ffffffff edx=018c0748 esi=00000000 edi=01826ab0
eip=6058fde6 esp=0022f3dc ebp=0022f494 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010206

Call stack:
6058FDE6  E:\Projects\codeblocks\src\devel\codeblocks.dll:6058FDE6  ProjectOptionsDlg::ProjectOptionsDlg(wxWindow*, cbProject*)  C:/MinGW/wxWindows/include/wx/ctrlsub.h:87
604DE59E  E:\Projects\codeblocks\src\devel\codeblocks.dll:604DE59E  cbProject::ShowOptions()  E:/Projects/codeblocks/src/sdk/cbproject.cpp:867
6058C645  E:\Projects\codeblocks\src\devel\codeblocks.dll:6058C645  ProjectManager::OnProperties(wxCommandEvent&)  E:/Projects/codeblocks/src/sdk/projectmanager.cpp:1414
100E2198  E:\Projects\codeblocks\src\devel\wxmsw26_gcc_custom.dll:100E2198  _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
100E2785  E:\Projects\codeblocks\src\devel\wxmsw26_gcc_custom.dll:100E2785  _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
100E3A07  E:\Projects\codeblocks\src\devel\wxmsw26_gcc_custom.dll:100E3A07  _ZN12wxEvtHandler12ProcessEventER7wxEvent
100E3969  E:\Projects\codeblocks\src\devel\wxmsw26_gcc_custom.dll:100E3969  _ZN12wxEvtHandler12ProcessEventER7wxEvent
100E3969  E:\Projects\codeblocks\src\devel\wxmsw26_gcc_custom.dll:100E3969  _ZN12wxEvtHandler12ProcessEventER7wxEvent
100E3969  E:\Projects\codeblocks\src\devel\wxmsw26_gcc_custom.dll:100E3969  _ZN12wxEvtHandler12ProcessEventER7wxEvent
100E3969  E:\Projects\codeblocks\src\devel\wxmsw26_gcc_custom.dll:100E3969  _ZN12wxEvtHandler12ProcessEventER7wxEvent
100E3969  E:\Projects\codeblocks\src\devel\wxmsw26_gcc_custom.dll:100E3969  _ZN12wxEvtHandler12ProcessEventER7wxEvent
100E3969  E:\Projects\codeblocks\src\devel\wxmsw26_gcc_custom.dll:100E3969  _ZN12wxEvtHandler12ProcessEventER7wxEvent
100E3969  E:\Projects\codeblocks\src\devel\wxmsw26_gcc_custom.dll:100E3969  _ZN12wxEvtHandler12ProcessEventER7wxEvent
100E3969  E:\Projects\codeblocks\src\devel\wxmsw26_gcc_custom.dll:100E3969  _ZN12wxEvtHandler12ProcessEventER7wxEvent
100E3969  E:\Projects\codeblocks\src\devel\wxmsw26_gcc_custom.dll:100E3969  _ZN12wxEvtHandler12ProcessEventER7wxEvent
1021B8C4  E:\Projects\codeblocks\src\devel\wxmsw26_gcc_custom.dll:1021B8C4  _ZN11wxFrameBase14ProcessCommandEi
1018EDF4  E:\Projects\codeblocks\src\devel\wxmsw26_gcc_custom.dll:1018EDF4  _ZN7wxFrame13MSWWindowProcEjjl
1014E210  E:\Projects\codeblocks\src\devel\wxmsw26_gcc_custom.dll:1014E210  _Z9wxWndProcP6HWND__jjl@16
77D48734  C:\WINDOWS\system32\USER32.dll:77D48734  GetDC
77D48816  C:\WINDOWS\system32\USER32.dll:77D48816  GetDC
77D489CD  C:\WINDOWS\system32\USER32.dll:77D489CD  GetWindowLongW
77D496C7  C:\WINDOWS\system32\USER32.dll:77D496C7  DispatchMessageA
10129AB5  E:\Projects\codeblocks\src\devel\wxmsw26_gcc_custom.dll:10129AB5  _ZN11wxEventLoop14ProcessMessageEP6tagMSG
1012A084  E:\Projects\codeblocks\src\devel\wxmsw26_gcc_custom.dll:1012A084  _ZN11wxEventLoop8DispatchEv
10129E20  E:\Projects\codeblocks\src\devel\wxmsw26_gcc_custom.dll:10129E20  _ZN11wxEventLoop3RunEv
101E928C  E:\Projects\codeblocks\src\devel\wxmsw26_gcc_custom.dll:101E928C  _ZN9wxAppBase8MainLoopEv
10058EE8  E:\Projects\codeblocks\src\devel\wxmsw26_gcc_custom.dll:10058EE8  _Z14wxUninitializev
100EB7AD  E:\Projects\codeblocks\src\devel\wxmsw26_gcc_custom.dll:100EB7AD  _Z7wxEntryP11HINSTANCE__S0_Pci
0041F107  E:\Projects\codeblocks\src\devel\codeblocks.exe:0041F107  WinMain  E:/Projects/codeblocks/src/src/app.cpp:79
0042F7AA  E:\Projects\codeblocks\src\devel\codeblocks.exe:0042F7AA
004011E7  E:\Projects\codeblocks\src\devel\codeblocks.exe:004011E7
00401258  E:\Projects\codeblocks\src\devel\codeblocks.exe:00401258
7C816D4F  C:\WINDOWS\system32\kernel32.dll:7C816D4F  RegisterWaitForInputIdle

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
CB compiled in WinXP crashed in Win2000
« Reply #3 on: June 30, 2005, 04:00:46 pm »
Quote
I have compiled and tested the cvs version with wx2.6.1. But i can't see the project tree. (yes, i have the update.bat running). And if i will see my unvisible project properties, crashed:

I 've heard about this "invisible workspace" before with wx2.6.1...

Yiannis.
Be patient!
This bug will be fixed soon...

Anonymous

  • Guest
CB compiled in WinXP crashed in Win2000
« Reply #4 on: July 01, 2005, 03:46:10 am »
Quote from: mandrav
Quote
D:\Program Files\CodeBlocks\codeblocks.exe caused an Access Violation at location 71756aa0 in module

Are you sure you 're running the CVS version and not the one that was previously installed?

Try running C::B from the devel folder, since you 're running CVS code.
This way the stack trace might be more meaningfull ;)

Yiannis.


I'm sure I use the CVS version. I complied it, and use CodeBlocks_MINGW.iss to create the setup.exe. In win2000, I run setup.exe to install CodeBlocks, so you can see "D:\Program Files\CodeBlocks\codeblocks.exe".  I have a test to copy codeblocks\src\devel\*.* and another test to copy codeblocks\src\output\*.* to D:\Program Files\CodeBlocks\.

The problem is still there.

Offline heromyth

  • Multiple posting newcomer
  • *
  • Posts: 98
    • http://
CB compiled in WinXP crashed in Win2000
« Reply #5 on: July 01, 2005, 09:54:13 am »
I have really no idea with this. I have tried to compile CB with wxWidget 2.4.2 in WinXP, and run it in Win2000. It seems no any problem (I just modify CodeBlocks_Core.iss to create a new CodeBlocks-1.0-finalbeta.exe).

Offline heromyth

  • Multiple posting newcomer
  • *
  • Posts: 98
    • http://
CB compiled in WinXP crashed in Win2000
« Reply #6 on: July 20, 2005, 05:45:32 pm »
Yeah! Today, I compiled CB CVS HEAD again. And this time it works well in Win2000. I have done nothing with wxWidgets, just updated CB to the newest.

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
CB compiled in WinXP crashed in Win2000
« Reply #7 on: July 20, 2005, 05:58:19 pm »
That's great! :D Anyway did you submit a bug report or anything that we can close?


Er... nevermind. I already checked :P

Offline heromyth

  • Multiple posting newcomer
  • *
  • Posts: 98
    • http://
CB compiled in WinXP crashed in Win2000
« Reply #8 on: July 21, 2005, 08:13:49 am »
Quote from: rickg22
That's great! :D Anyway did you submit a bug report or anything that we can close?


Er... nevermind. I already checked :P


Sorry, I havn't report anything! I just want to say thanks for your excellent works!