[m-users.] Problem with my installation

Julien Fischer jfischer at opturion.com
Sat Nov 2 18:03:44 AEDT 2019


Hi Harrison,

On Sat, 2 Nov 2019, Harrison Pincket wrote:

> But when I run them I get the following error:
> ```
> ~/code/mercury-hello-world$ ./hello 
>
> *** Mercury runtime: caught segmentation violation ***
> cause: address not mapped to object
> address involved: 0x4
> This may have been caused by a stack overflow, due to unbounded
> recursion.
> exiting from signal handler
> Segmentation fault
> ```

It may be related to this issue: <https://bugs.mercurylang.org/view.php?id=453>

Does compiling hello world in grade hlc.gc work?  Or compiling
with --mercury-linkage static?

Julien.


More information about the users mailing list