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
O'Caml 3.05 segfaults #3472
Comments
Comment author: administrator Dear Gerd, Thanks for the prompt bug report. I had no difficulties reproducing All the best,
Index: byterun/major_gc.cRCS file: /net/pauillac/caml/repository/csl/byterun/major_gc.c,v -/* $Id: major_gc.c,v 1.37 2002/06/05 12:11:15 doligez Exp $ / #include <limits.h> @@ -126,15 +126,12 @@
@@ -192,15 +189,13 @@
|
Comment author: administrator Fixed 2002-07-30 by DD & XL. |
Original bug ID: 1273
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Hi,
there seems to be a serious bug in O'Caml 3.05 that causes segfaults:
ocamlc -g -I /opt/ocaml-3.05/site-lib/netstring/ -c pxp_document.ml
Segmentation fault
ocamlopt on the same file segfaults, too, but ocamlc.opt and ocamlopt.opt
work. Pxp_document.ml is a quite big file with many class definitions,
and it takes about a minute to compile.
I played with the GC settings, and OCAMLRUNPARAM=s=1M worked (causing
a different usage pattern of memory allocation?).
The segfault is within mark_slice, but I suppose this does not say
anything.
My platform is Linux on IA32, but I got today a message reporting the
same bug for Solaris 7.
Unfortunately, pxp_document.ml requires a lot of prerequisites, and I
cannot extract it from its environment. If this is an option for you,
I can send my bytecode installation to you, so you would not need
to fight with installing the prerequisites. You would need:
Pxp_document is in
Sorry for the bad news,
Gerd
Gerd Stolpmann Telefon: +49 6151 997705 (privat)
Viktoriastr. 45
64293 Darmstadt EMail: gerd@gerd-stolpmann.de
Germany
The text was updated successfully, but these errors were encountered: