From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA01887; Tue, 25 Nov 2003 18:50:48 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA32496 for ; Tue, 25 Nov 2003 18:50:47 +0100 (MET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id hAPHok126429; Tue, 25 Nov 2003 18:50:46 +0100 (MET) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA01175; Tue, 25 Nov 2003 18:50:45 +0100 (MET) Date: Tue, 25 Nov 2003 18:50:45 +0100 From: Xavier Leroy To: Alex Baretta Cc: caml-list@inria.fr Subject: Re: [Caml-list] Ocamlc stack overflow Message-ID: <20031125185045.A1064@pauillac.inria.fr> References: <3FC23E03.4030805@baretta.com> <20031124174743.GA30052@redhat.com> <3FC356F5.9080309@baretta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <3FC356F5.9080309@baretta.com>; from alex@baretta.com on Tue, Nov 25, 2003 at 02:19:49PM +0100 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 ocamlc:01 bugfix:01 overdue:99 3.07:01 3.07:01 backtrace:01 char:01 char:01 re-raised:01 finalization:01 finalization:01 ocamldebug:01 ocamlc:01 ocamldebug:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > 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 (http://caml.inria.fr/). (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 caml@inria.fr? Or even better submit a bug report to caml-bugs@inria.fr 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 caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners