Closed garrigue closed 2 years ago
Also removed Gpointer.raw_null
and a call to Obj.truncate
.
This versions runs without problem on 4.14 in with -disable-naked-pointers
but not on multicore-5.00.
We get a segfault on any linked executable, but could not track the cause.
We verified that this branch runs fine with -disable-naked-pointers
on trunk too.
So there is something else in multicore that causes this segmentation fault.
The
lookup_info
structures generated byvarcc
were returned as raw pointers to ocaml, which caused failures in multicore. This fixes that by wrapping them, and returning them inside an allocated tuple.(Same as #144, but for lablgtk2 this time)