[m-users.] Problem with my installation
harrisonpincket at gmail.com
Sat Nov 2 17:01:05 AEDT 2019
For a while now I have had trouble running mercury programs compiled
with ROTD on my thinkpad. I was using the stable 14.01 release, but
would rather be on the latest, hince this email.
Compiling mercury seems to work fine.
sudo make install
When I go to compile my programs this also work as expected.
mmc --make hello
But when I run them I get the following error:
*** 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
exiting from signal handler
I don't know if this is useful, but here are the shared libraries:
~/code/mercury-hello-world$ ldd hello
libmer_std.so => /usr/local/mercury-rotd-2019-10-
libmer_rt.so => /usr/local/mercury-rotd-2019-10-
libgc.so => /usr/local/mercury-rotd-2019-10-
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7492000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb738e000)
Perhaps there's some issue with my system. Any thoughts? Happy to
provide more information, I just don't know will be useful.
More information about the users