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

Crash top-level with camlp4r #8256

Closed
vicuna opened this issue Aug 28, 2003 · 1 comment
Closed

Crash top-level with camlp4r #8256

vicuna opened this issue Aug 28, 2003 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Aug 28, 2003

Original bug ID: 1805
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Jim Farrand
Version: 3.06/3.07beta2
OS: Debian Gnu/Linux
Submission from: 81-86-132-151.dsl.pipex.com (81.86.132.151)

This is actually a bug effecting camlp4 included with OCaml. Is this the right
place to submit such a bug?

Here is a shell history showing the bug:

$ cat crash.ml

type idref = { id : mutable ! 'a . 'a -> 'a };

$ ocamlmktop -o ocaml /usr/local/ocaml-3.07beta2/lib/ocaml/camlp4/camlp4r.cma
$ ./ocaml
Objective Caml version 3.07+beta 2

    Camlp4 Parsing version 3.07+beta 2

#use "crash.ml" ;

type idref =
{ id :
mutable (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
... snip several more pages of (s ...
(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
((((Fatal error: exception Stack_overflow

Strangely, the file crash.ml can be compild with ocamlc -pp camlp4r and loaded
into the top level without any problems.

I get this behaviour in both 3.06 and 3.07beta2.

@vicuna
Copy link
Author

vicuna commented Sep 23, 2003

Comment author: administrator

Fixed by MM, 2003/09/23

@vicuna vicuna closed this as completed Sep 23, 2003
@vicuna vicuna added the bug label Mar 19, 2019
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