delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/07/10/15:15:53

From: Berenice DOT Lopez AT gamsau DOT archi DOT fr (Berenice LOPEZ)
Subject: Re: Exception trapped!
10 Jul 1997 15:15:53 -0700 :
Sender: mail AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <33C4F5FC.8F4BAFAE.cygnus.gnu-win32@gamsau.archi.fr>
References: <3 DOT 0 DOT 1 DOT 32 DOT 19970630115811 DOT 0090a100 AT smtphost-co DOT qualcomm DOT com>
X-Mailer: Mozilla 4.0b5 [en] (WinNT; I)
MIME-Version: 1.0
Original-To: Bijan Tuysserkani <btuysser AT qualcomm DOT com>
Original-CC: gnu-win32 AT cygnus DOT com
X-Priority: 3 (Normal)
Original-Sender: owner-gnu-win32 AT cygnus DOT com

> Hi Berenice,
>
> I think we have the same problem. Can you use GDB, execute your stuff
> and
> do a "info stack"? That should tell you which function is responsible
> for
> the exception. In my case it is unfortunately malloc. :-(
>
> I use gcc and Windows NT4.0 and the b18 release. The malloc call I
> have is
> a simple malloc(strlen(name)) where name is an arbitrary string.
> Depending on which names I allocate and certainly what the rest of my
> code
> does before, the exception happens always at the same place. Funny
> thing :
> If I link the library libmmalloc.a to my stuff, the exception happens
> in malloc also, but at a different call from my side.
>
> If you get any direct answers, please forward them to me.
>
> Greetings,
>         Bijan


    Thanks a lot for all your help! =)
    Finally I found out the problem: the standard output was baddly
initialized... and there were some other little "problems", with the use
of gdb I got to saw them.
    So, in fact, malloc has no troubles... not for me.

                                            Thank's again! =))

                                                            Berenice

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019