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
segfault #8310
Comments
Comment author: administrator On Fri, 3 Oct 2003, Xavier Leroy wrote:
J'ai minimisé: ==a.ml==
|
Comment author: administrator
Voilà un bug bien cerné! Beau travail. Je n'ai pas eu de mal à Amitiés,
Index: csl/bytecomp/translmod.ml *** 10,16 **** ! (* $Id: translmod.ml,v 1.44 2003/07/07 13:42:49 xleroy Exp $ *) (* Translation from typed abstract syntax to lambda terms, ! (* $Id: translmod.ml,v 1.45 2003/10/03 14:36:00 xleroy Exp $ *) (* Translation from typed abstract syntax to lambda terms, *** 310,320 ****
! (transl_structure ext_fields cc rootpath rem) |
Comment author: administrator Bug in compilation of recursive modules. Fixed 2003-10-03 by XL. |
Original bug ID: 1863
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Hello,
J'ai un programme qui segfaulte quand il est compilé avec ocamlc, et
pas ocamlopt. J'utilise toujours la beta 2.
Malheureusement, je n'ai pas de version minimale. Le programme est
gros (c'est le compilateur CDuce), et en dichotomisant, je vois que la
segfault se produit au milieu d'une instruction dans une definition de
modules recursifs. D'ailleurs, c'est simplement l'acces à un champ
d'enregistrement qui est un entier qui provoque la segfaulte.
Je suis quasiment sûr de ne pas utiliser de magouilles avec Obj ou de
marshalling dans la trace d'execution qui plante.
Est-ce qu'un bug corrigé depuis la beta2 pourrait expliquer cela?
Sinon, j'essaierai quand meme de reduire le programme...
-- Alain
The text was updated successfully, but these errors were encountered: