Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
X-Apparently-From: <earnie?boyd@yahoo.com>
Message-ID: <3A82D793.4B2BA298@yahoo.com>
Date: Thu, 08 Feb 2001 12:29:55 -0500
From: Earnie Boyd <earnie_boyd@yahoo.com>
Reply-To: Earnie Boyd <cygwin@cygwin.com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Josifovski Ljubomir-BLJ01Z <BLJ01Z@motorola.com>
CC: "Cygwin Mailing List (E-mail)" <cygwin@cygwin.com>
Subject: Re: dmalloc?
References: <D1F0002F0A8FD411ACEC00805FE675CE260F53@zuk02exm02.comm.mot.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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

