Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004349OCamlCamlp4public2007-07-21 00:002010-04-29 14:26
Reportermottl 
Assigned Toertai 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version3.10+dev 
Target VersionFixed in Version3.10+dev 
Summary0004349: Camlp4 bug handling private type definitions
DescriptionThe following gets into an infinite loop on the terminal and crashes with an assertion failure when writing to file:

camlp4of -str "type t = private [> ]"
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0004119)
ertai (developer)
2007-07-25 17:05

It's now fixed in the CVS. Thanks for reporting it.
(0004121)
mottl (reporter)
2007-07-25 21:00

I'm afraid, but the bug has only been partially fixed. Calling camlp4of on a string provided on the command line now works, but putting the type definition in a file and trying to compile it still fails with an assertion failure:

  Assertion failed, file "camlp4/Camlp4/Struct/Camlp4Ast2OCamlAst.ml", line 262, char 8
  Preprocessor error

It seems only the printer for human-readable output has been fixed, but generating the AST directly still doesn't work.
(0004150)
sds (reporter)
2007-09-18 20:02

this issue is rather important to us.
is it being worked on?
thanks!
(0004151)
mottl (reporter)
2007-09-18 20:52

Sds, as far as I have been told, this has already been fixed in the CVS.
(0004161)
ertai (developer)
2007-09-24 10:15

This now really fixed in the CVS. Thanks for re-reporting it and sorry for the long delay.

- Issue History
Date Modified Username Field Change
2007-07-21 00:00 mottl New Issue
2007-07-25 17:05 ertai Note Added: 0004119
2007-07-25 17:05 ertai Assigned To => ertai
2007-07-25 17:05 ertai Status new => resolved
2007-07-25 17:05 ertai Resolution open => fixed
2007-07-25 17:05 ertai Fixed in Version => 3.10+dev
2007-07-25 21:00 mottl Status resolved => feedback
2007-07-25 21:00 mottl Resolution fixed => reopened
2007-07-25 21:00 mottl Note Added: 0004121
2007-09-18 20:02 sds Note Added: 0004150
2007-09-18 20:52 mottl Note Added: 0004151
2007-09-24 10:15 ertai Note Added: 0004161
2007-09-24 10:15 ertai Status feedback => resolved
2007-09-24 10:15 ertai Resolution reopened => fixed
2010-04-29 14:26 xleroy Status resolved => closed


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker