Original bug ID: 5518
It also breaks in version 3.11.2.
The following program segfaults in the garbage collector:
let empty = lazy [||]
Steps to reproduce
Compile with ocamlc or ocamlopt without any particular options.
If the lazy value is not forced, it doesn't segfault.
The text was updated successfully, but these errors were encountered:
Comment author: @sliquister
I would say that the following piece of code from minor_gc is the culprit:
f is the array, and I think Field(f, 0) is called because the header of an