Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003948OCamlCamlp4public2006-01-05 01:332007-02-21 16:21
Reporterspiralvoice 
Assigned Tomauny 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version3.09.0 
Target VersionFixed in Version3.09.3 
Summary0003948: Camlp4 bug introduced in 3.09.1, working with 3.09.0
DescriptionNew camlp4 fails on this file:

camlp4 pa_o.cmo ./pa_zog.cma pr_o.cmo -impl src/gtk/gui/gui_window_base.zog > src/gtk/gui/gui_window_base.ml
Uncaught exception: Stack_overflow
Uncaught exception: Stack overflow
gmake: *** [src/gtk/gui/gui_window_base.ml] Error 2
Additional InformationReverting
camlp4/etc/pr_o.ml
camlp4/etc/pr_r.ml
to their previous state solves the problem.

The problematic file is part of the MLDonkey project:
http://cvs.savannah.nongnu.org/viewcvs/mldonkey/src/gtk/gui/gui_window_base.zog?rev=1.1&root=mldonkey&view=markup [^]
Maybe some syntax in that file is wrong, help on that is appreciated.

Attached you will find the patch reverting the two files in Ocaml 3.09.1,
with this compiling (./configure --enable-gui=oldgui) of MLDonkey works again.
TagsNo tags attached.
Attached Filespatch file icon ocaml3091.patch [^] (1,467 bytes) 2006-01-05 01:33 [Show Content]
patch file icon pr_o.patch [^] (827 bytes) 2006-01-05 11:41 [Show Content]

- Relationships

-  Notes
(0003491)
mauny (developer)
2006-01-05 11:47

Right: `new' should be treated differently in pr_o and pr_r.
See the patch for a fix that doesn't re-introduce the bug I was trying to fix.

- Issue History
Date Modified Username Field Change
2006-01-05 01:33 spiralvoice New Issue
2006-01-05 01:33 spiralvoice File Added: ocaml3091.patch
2006-01-05 11:32 mauny Status new => assigned
2006-01-05 11:32 mauny Assigned To => mauny
2006-01-05 11:41 mauny File Added: pr_o.patch
2006-01-05 11:47 mauny Note Added: 0003491
2006-01-05 11:48 mauny Status assigned => resolved
2006-01-05 11:48 mauny Resolution open => fixed
2007-02-21 16:21 xleroy Status resolved => closed
2007-02-21 16:21 xleroy Fixed in Version => 3.09.3


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker