Josifovski Ljubomir-BLJ01Z wrote:
>
> Has anyone used dmalloc with cygwin?
> It compiles OOTB but then the test fails:
>
> $ make light
> ./dmalloc_t -s -t 10000
> 0 [main] dmalloc_t 916 handle_exceptions: Exception:
> STATUS_ACCESS_VIOLATION
> 18417 [main] dmalloc_t 916 stackdump: Dumping stack trace to
> dmalloc_t.stackdump
> Signal 11
> make: *** [light] Error 139
>
> ALternativelly, does anyone know of some other debug library that works with
> cygwin?
>
Hmm... It might be interesting to try `strace -o strace.out ./dmalloc_t
-s -t 10000'. There's also dumper program which doesn't come with the
standard installation but is in the source for winsup/cygwin/utils. You
need the naked-bfd and naked-intl libraries in your cygwin source tree
for dumper to build. It creates a for real core file. I haven't and
don't know how it's used. However, the source is available. And of
course, everyone's favorite, gdb.
Earnie.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple