Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible bug in #8386

Closed
vicuna opened this issue Nov 25, 2003 · 1 comment
Closed

Possible bug in #8386

vicuna opened this issue Nov 25, 2003 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Nov 25, 2003

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
@vicuna
Copy link
Author

vicuna commented Jan 7, 2004

Comment author: administrator

see also #8393
known bug in 3.04 (and earlier ?), fixed in 3.05 and later
fixed -DD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant