Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Ocamlc stack overflow
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-11-25 (17:50)
From: Xavier Leroy <xavier.leroy@i...>
Subject: Re: [Caml-list] Ocamlc stack overflow
> Since my company uses ocaml as it's main language for 
> developing commercial applications, I'd prefer to have a stable stock 
> version. After all the turmoil around 3.07, a stable bugfix release is 
> overdue now.

It's called 3.07pl2 and has been available since Oct 20 at the usual
place (  (It is identical to 3.07 + patch 2,
for those who have applied the patch, but the tarball and binary
distributions were updated.)

> Let try to produce a backtrace for the list...
> #0  Pc : 824648  Errors char 2807
> #1  Pc : 68568  Format char 35089
> #2  Pc : 830376  Main char 5649
> #3  Pc : 834284  Main char 5678

That exception is caught and re-raised (for finalization purposes), so
you're just seeing the finalization point.  If you really want to
pinpoint the location of the error, either go back in time using
ocamldebug, or just run ocamlc outside ocamldebug with the "stack
backtrace" option set (OCAMLRUNPARAM=b).

> Now what?

What about sending some code to reproduce the problem to
Or even better submit a bug report to with a URL to
the repro case?  (Remember: shouting "I have a bug!" on this list
accomplishes nothing beyond venting some steam.)
The repro case doesn't have to be small, all what is needed is that
it reproduces the problem.

- Xavier Leroy

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: