Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Apparently-From: Message-ID: <3A82D793.4B2BA298@yahoo.com> Date: Thu, 08 Feb 2001 12:29:55 -0500 From: Earnie Boyd Reply-To: Earnie Boyd X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Josifovski Ljubomir-BLJ01Z CC: "Cygwin Mailing List (E-mail)" Subject: Re: dmalloc? References: 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