Subject: Re: Problems with Mercury
From: [email-masked] (Earnie Boyd)

11 Sep 1998 00:31:14 -0700
Message-ID: <[email-masked]>
Reply-To: [email-masked]
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
To: [email-masked], [email-masked]

[email-masked] 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----
[email-masked]
------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
"[email-masked]" with one line of text: "help".