You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 3572 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
The following one-line program causes a segmentation fault on my AMD64 in
64-bit and the expected Stack_overflow in 32-bit:
List.map (fun i -> i) (Array.to_list (Array.init 262144 (fun i -> i)))
I assume a stack overflow in 64-bit is causing the segfault but am not sure.
Certainly, it appears to be deterministic and happens for >262107 elements.
Cheers,
Jon.
The text was updated successfully, but these errors were encountered:
Stack overflow detection on AMD64 not implemented in ocamlopt 3.08.3, but
implemented in ocamlopt devel (3.09). Works as expected in devel. XL,
2005-04-17
Original bug ID: 3572
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
The following one-line program causes a segmentation fault on my AMD64 in
64-bit and the expected Stack_overflow in 32-bit:
List.map (fun i -> i) (Array.to_list (Array.init 262144 (fun i -> i)))
I assume a stack overflow in 64-bit is causing the segfault but am not sure.
Certainly, it appears to be deterministic and happens for >262107 elements.
Cheers,
Jon.
The text was updated successfully, but these errors were encountered: