News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Bug in svn8974 with wxMSW-2.9.4

Started by stefanos_, April 09, 2013, 09:24:52 AM

Previous topic - Next topic

stefanos_

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:


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)

ollydbg

Looking at the backtrace, I don't see much useful information, because it only have one call-stack shown.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

xunxun

Regards,
xunxun

stefanos_

@ollydbg: I wish I knew more about debugging executables.

@xunxun: Nothing changed at all;


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)