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: 1945 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Hi,
I'm seeing what I think might be a bug in ocamlopt or the ocaml runtime.
I'm using "The Objective Caml native-code compiler, version 3.04,
Standard library directory: c:\ocaml\lib" on Windows XP.
My code is setting an alarm in the GC system with Gc.create_alarm. I
then see that (for a very rare and seemingly unrelated set of input
files to this program (SLAM), on the first garbage collection, the
program core dumps. this happens even if the function that is being
passed to Gc.create_alarm simply prints a string.
There seem to be some ways to work around the problem. Of course if I
dont use Gc.create_alarm at all the problem goes away. ;-) Also, if I
pass -linkall to the ocamlopt it seems to go away on the particular case
that I'm looking at. However: its hard to know if this is a real
workaround or if its just working in this one case where i'm seeing the
problem.
Have you all seen this problem before? If so: what's happening? If
not: is there some secret logging command that I could use to create a
dump for you all to look at (if you're interested...)
Thanks
Byron
The text was updated successfully, but these errors were encountered:
Original bug ID: 1945
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Hi,
I'm seeing what I think might be a bug in ocamlopt or the ocaml runtime.
I'm using "The Objective Caml native-code compiler, version 3.04,
Standard library directory: c:\ocaml\lib" on Windows XP.
My code is setting an alarm in the GC system with Gc.create_alarm. I
then see that (for a very rare and seemingly unrelated set of input
files to this program (SLAM), on the first garbage collection, the
program core dumps. this happens even if the function that is being
passed to Gc.create_alarm simply prints a string.
There seem to be some ways to work around the problem. Of course if I
dont use Gc.create_alarm at all the problem goes away. ;-) Also, if I
pass -linkall to the ocamlopt it seems to go away on the particular case
that I'm looking at. However: its hard to know if this is a real
workaround or if its just working in this one case where i'm seeing the
problem.
Have you all seen this problem before? If so: what's happening? If
not: is there some secret logging command that I could use to create a
dump for you all to look at (if you're interested...)
Thanks
The text was updated successfully, but these errors were encountered: