[m-users.] seg fault, 64 bit

Tomas By tomas at basun.net
Tue Jul 2 01:28:46 AEST 2013


Hi again,

I have now determined that this problem is caused by passing a string
containing non-ascii characters to a predicate defined as a fact table (as
(string::in) is semidet).

Is this a know error? There doesn't seem to be any mention in the manual.

/Tomas



On Fri, June 7, 2013 20:38, Tomas By wrote:
> Hi all,
>
> I am getting this error on Ubuntu 64 bit, with Mercury 13.05:
>
> | *** Mercury runtime: caught segmentation violation ***
> | cause: address not mapped to object
> | address involved: (nil)
> | This may have been caused by a stack overflow, due to unbounded
> recursion.
> | exiting from signal handler
> | Segmentation fault (core dumped)
>
> with these settings:
>
> | MERCURY_OPTIONS=--detstack-size 3000000 --nondetstack-size 3000000
>
> and this amount of data (output of wc):
>
> | 289358  1735415 33502285 total
>
> Does this behaviour seem reasonable?
>
> Any ideas about anything I can change?
>
> Is there another way to set the stack sizes? It seems that MCFLAGS in
> Mmake no longer works.
>
> /Tomas
>
>
> _______________________________________________
> users mailing list
> users at lists.mercurylang.org
> http://lists.mercurylang.org/listinfo/users
>





More information about the users mailing list