This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Exception trapped!


At 04:47 PM 6/30/97 +0100, you wrote:
>    Hi, it's me again...
>    Now, I got my sotfware to compile, but when I execute it... I get
>this:
>
>bash$ paros rome.ico
>(C:\PAROS\paros.exe 1003) In cygwin_except_handler
>(C:\PAROS\paros.exe 1003) Exception trapped!
>(C:\PAROS\paros.exe 1003) exception C0000005 at 6E6962
>(C:\PAROS\paros.exe 1003) exception: ax 6E6962 bx 255F32C cx A000724 dx
>2FC2810
>(C:\PAROS\paros.exe 1003) exception: si 4F551C di 4F5134 bp 255D47C sp
>255D468
>(C:\PAROS\paros.exe 1003) exception is: STATUS_ACCESS_VIOLATION
>(C:\PAROS\paros.exe 1003) Stack trace:

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
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]