-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Description
(originally here)
?- length(_,E),E>50,N is 2^E,catch(length(L,N),error(Er,_),true).
E = 51, N = 2251799813685248, Er = resource_error(memory)
; E = 52, N = 4503599627370496, Er = resource_error(memory)
; E = 53, N = 9007199254740992, Er = resource_error(memory)
; E = 54, N = 18014398509481984, Er = resource_error(memory)
; E = 55, N = 36028797018963968, Er = resource_error(memory)
; E = 56, N = 72057594037927936, Er = resource_error(memory)
; E = 57, N = 144115188075855872, Er = resource_error(memory)
; E = 58, N = 288230376151711744, Er = resource_error(memory)
; E = 59, N = 576460752303423488, Er = resource_error(memory)
; Segmentation fault (core dumped) unexpected
ulrich@gupu:/opt/gupu/scryer-prolog$ /opt/gupu/scryer-prolog/target/release/scryer-prolog -f
?- use_module(library(lists)).
true.
?- N is 2^60,length(L,N).
Segmentation fault (core dumped) unexpected
ulrich@gupu:/opt/gupu/scryer-prolog$ ulimit -v
10000000
Metadata
Metadata
Assignees
Labels
No labels