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: Problems with Mercury


---john_r_velman@mail.hac.com wrote:
>
> Has anyone successfully compiled and installed Mercury lately?
> 
<snip>
> 5. Now the shell scripts run, but they eventually call 
> .../mercury_compile (which I changed to mercury_compile.exe - but that
> didn't make any difference in what follows).  Now I get the result:
> 
> ---Quote:
> bash-2.01$ mmc cat.m
>
(C:\DATA\0058744\cygnus\usr\local\mercury-0.7\lib\mercury\bin\i386-pc-cygwin32\m
> ercury_compile.exe 1017) Exception: STATUS_ACCESS_VIOLATION
>
(C:\DATA\0058744\cygnus\usr\local\mercury-0.7\lib\mercury\bin\i386-pc-cygwin32\m
> ercury_compile.exe 1017) Dumping stack trace to
mercury_compile.exe.core
> bash-2.01$
> ---End Quote.
> 
> The error messages come after some time, not instantly.
> 
> 
> Any suggestions?

STATUS_ACCESS_VIOLATION relates to SIGSEGV, meaning that you've
stepped outside the memory bounds of the program.

1) If the package has it's own memory allocation routines remove them
and use the mmalloc.a library supplied by the cygwin product.

2) If the compilations gave you warnings concerning pointers and
non-pointers, consider them errors and fix them.

3) If you pointer who has a value of NULL or zero is used as a
reference to a memory location you will get this error.


Good Luck,
==
-        \\||//
---o0O0--Earnie--0O0o----
--earnie_boyd@yahoo.com--
------ooo0O--O0ooo-------



_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
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]