[m-users.] seg fault, 64 bit
Tomas By
tomas at basun.net
Sat Jun 8 05:17:51 AEST 2013
Some clarifications:
The data is in Prolog format. The software reads it into data structures.
This works fine. It can then do a second step of conversion and collection
meta-data, and this is what fails for the whole set. If I run it on one
single file, it all works.
The MERCURY_OPTIONS are set as an environment variable.
/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