Code::Blocks Forums

User forums => Help => Topic started by: stefanos_ on April 09, 2013, 09:24:52 am

Title: Bug in svn8974 with wxMSW-2.9.4
Post by: stefanos_ on April 09, 2013, 09:24:52 am
I have successfully compiled both CodeBlocks.workspace and CodeBlocks_wx29.workspace, but the latter build crashes upon startup; the way I have built wxWidgets is with custom version of wxBuild batch script from wxPack, according to my needs.

I have used gdb with backtrace to find the error message:

Code
Program received signal SIGSEGV, Segmentation fault.
0x6e303042 in wxmsw294u_gcc_custom!_ZN12wxDropTarget6RevokeEP6HWND__ ()
   from C:\SVN_REPOSITORIES\CodeBlocks\src\output29\wxmsw294u_gcc_custom.dll
(gdb) backtrace
#0  0x6e303042 in wxmsw294u_gcc_custom!_ZN12wxDropTarget6RevokeEP6HWND__ ()
   from C:\SVN_REPOSITORIES\CodeBlocks\src\output29\wxmsw294u_gcc_custom.dll
(gdb) continue
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x6e303042 in wxmsw294u_gcc_custom!_ZN12wxDropTarget6RevokeEP6HWND__ ()
   from C:\SVN_REPOSITORIES\CodeBlocks\src\output29\wxmsw294u_gcc_custom.dll
(gdb) continue
Continuing.
[Inferior 1 (process 5176) exited with code 030000000005]
(gdb) continue
The program is not being run.
(gdb)
Title: Re: Bug in svn8974 with wxMSW-2.9.4
Post by: ollydbg on April 09, 2013, 09:37:09 am
Looking at the backtrace, I don't see much useful information, because it only have one call-stack shown.
Title: Re: Bug in svn8974 with wxMSW-2.9.4
Post by: xunxun on April 09, 2013, 11:04:45 am
Please try bt 30
Title: Re: Bug in svn8974 with wxMSW-2.9.4
Post by: stefanos_ on April 09, 2013, 11:46:36 am
@ollydbg: I wish I knew more about debugging executables.

@xunxun: Nothing changed at all;

Code
Program received signal SIGSEGV, Segmentation fault.
0x6e303042 in wxmsw294u_gcc_custom!_ZN12wxDropTarget6RevokeEP6HWND__ ()
   from C:\SVN_REPOSITORIES\CodeBlocks\src\output29\wxmsw294u_gcc_custom.dll
(gdb) bt 30
#0  0x6e303042 in wxmsw294u_gcc_custom!_ZN12wxDropTarget6RevokeEP6HWND__ ()
   from C:\SVN_REPOSITORIES\CodeBlocks\src\output29\wxmsw294u_gcc_custom.dll
(gdb) continue
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x6e303042 in wxmsw294u_gcc_custom!_ZN12wxDropTarget6RevokeEP6HWND__ ()
   from C:\SVN_REPOSITORIES\CodeBlocks\src\output29\wxmsw294u_gcc_custom.dll
(gdb) continue
Continuing.
[Inferior 1 (process 5492) exited with code 030000000005]
(gdb)