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 LAA26682; Mon, 2 Aug 2004 11:31:04 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA26808 for ; Mon, 2 Aug 2004 11:31:03 +0200 (MET DST) Received: from mynah.mail.pas.earthlink.net (mynah.mail.pas.earthlink.net [207.217.120.228]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i729V1EV017309 for ; Mon, 2 Aug 2004 11:31:02 +0200 Received: from 168-103-58-16.tcsn.qwest.net ([168.103.58.16] helo=dylan) by mynah.mail.pas.earthlink.net with asmtp (Exim 4.34) id 1BrZ9j-0002uz-Fi for caml-list@inria.fr; Mon, 02 Aug 2004 02:30:55 -0700 Message-ID: <002d01c47873$7d7e0700$0201a8c0@dylan> From: "David McClain" To: "caml" Subject: [Caml-list] Ocaml 3.08 Bus Errors Date: Mon, 2 Aug 2004 02:31:01 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-ELNK-Trace: 7a0ab3eafc8cf994b22988ad1c62733440683398e744b8a491da93d790ca73a346fca0f25283ce7aa2d4e88014a4647c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 168.103.58.16 X-Miltered: at nez-perce with ID 410E09D5.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; mcclain:01 dmcclain:01 uglier:01 culprit:01 occuring:01 callback:01 onward:99 runtime:01 mcclain:01 ocaml:01 ocaml:01 module:03 binding:03 library:03 let:04 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Well.. the situation on the Mac OS X version is even uglier than on the Windows port. I haven't yet found the culprit, but I know at this time that it is occuring in some startup initialization code in some of the support libraries. The program never even reaches the main entry point of my code. I might be callback_register, or at_exit. So far, every attempt to isolate a call into my C code for initialization isn't even being reached yet. So the startup routine is getting hosed very early onward. Unfortunately, just about every module in the support library has at least one incident of runtime binding to some local-global value, or else some "let _ =" startup procedures. Since OCaml 3.08 works so wonderfully well, it really must be somewhere in my own code. The question is where? And why it blows on Mac OS X but not on Windows/XP??? David McClain Senior Corporate Scientist Avisere, Inc. +1.520.390.7738 (USA) david.mcclain@avisere.com ------------------- 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