This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

heap errors when running in gdb


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]