heap errors when running in gdb

Thielemans, Kris kris.thielemans@csc.mrc.ac.uk
Fri Nov 15 07:47:00 GMT 2002


Hi,

I'm trying to debug my X program. However, when I run it in gdb, I get a
SIGTRAP when stepping over XOpenDisplay(""). Continuing I get it another
time (sorry, not exactly sure where), continuing, my program runs fine
(except for the bugs that I introduce...).
Should this worry me?

I've downloaded cygwin an dXfree 1 week ago, so am running the latest of
everything.

gdb screenshot:
---------------

warning: HEAP[test_display.exe]:
warning: Heap block at 002541A8 modified at 002544FA past requested size of
34a


Program received signal SIGTRAP, Trace/breakpoint trap.
0x77fa018d in ?? ()
(gdb) c
Continuing.
warning: HEAP[test_display.exe]:
warning: Invalid Address specified to RtlReAllocateHeap( 230000, 2541b0 )


Program received signal SIGTRAP, Trace/breakpoint trap.
0x77fa018d in ?? ()
(gdb) c
Continuing.

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


Thanks!


Kris Thielemans



More information about the Cygwin-xfree mailing list