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 CAA29627; Thu, 3 Oct 2002 02:54:09 +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 CAA29525 for ; Thu, 3 Oct 2002 02:54:08 +0200 (MET DST) Received: from imo-d01.mx.aol.com (imo-d01.mx.aol.com [205.188.157.33]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g930s7D11558 for ; Thu, 3 Oct 2002 02:54:07 +0200 (MET DST) Received: from artboreb@netscape.net by imo-d01.mx.aol.com (mail_out_v34.13.) id d.ef.5961b2b (16226); Wed, 2 Oct 2002 20:53:57 -0400 (EDT) Received: from netscape.net (mow-d09.webmail.aol.com [205.188.138.73]) by air-in02.mx.aol.com (v89.10) with ESMTP id MAILININ22-1002205357; Wed, 02 Oct 2002 20:53:57 -0400 Date: Wed, 02 Oct 2002 20:46:46 -0400 From: artboreb@netscape.net (Arturo Borquez) To: yminsky@CS.Cornell.EDU ("Yaron M. Minsky") Cc: caml-list@inria.fr Subject: RE: [Caml-list] Uncaught exceptions (or am I going crazy?) Message-ID: <391E980D.2E65D573.00958B05@netscape.net> X-Mailer: Atlas Mailer 2.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk "Yaron M. Minsky" wrote: >I'm getting some very weird behavior with respect to exception handling >in ocaml 3.06. I'm probably missing something obvious, but here's my >situation. I have a networking application which for some reason, >occasionally prints out the following message: > >Uncaught exception: Sys_error("Broken pipe") > >What's so strange about this is that as far as I can tell, there is no >place in my code where I actually print out such errors. In particular, >the text "Uncaught exception" doesn't appear anywhere in my code, and I >don't see any printfs that could be the cause either. And weirdly, this >only seems to come up with byte-code compiled code. > >So has anyone else seen something like this? > >y It is a standard message derived from an unhandled exception in your program. The text clearly displays "Uncaugth exception" because of a broken pipe in this case. This is a normal behaivor for all unhandled exceptions. See the section of 'exceptions' in the manual. Regards -- Arturo Borquez __________________________________________________________________ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.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