Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
caml_callback2 crashes on aarch64 #6489
Original bug ID: 6489
caml_callback2 segfaults when called, on aarch64.
Steps to reproduce
Compile the attached program using:
ocamlopt.opt callback.c callback_ml.ml -o callback
Then run it using:
The output is:
Note that caml_callback and caml_callback3 are fine, it's just caml_callback2 which fails.
Comment author: Richard Jones
This is caused by a missing close comment */ here:
The fix is: