This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: dmalloc?
- To: Josifovski Ljubomir-BLJ01Z <BLJ01Z at motorola dot com>
- Subject: Re: dmalloc?
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Thu, 08 Feb 2001 12:29:55 -0500
- CC: "Cygwin Mailing List (E-mail)" <cygwin at cygwin dot com>
- References: <D1F0002F0A8FD411ACEC00805FE675CE260F53@zuk02exm02.comm.mot.com>
- Reply-To: Earnie Boyd <cygwin at cygwin dot com>
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
- References:
- dmalloc?
- From: Josifovski Ljubomir-BLJ01Z