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 QAA09276; Wed, 2 Oct 2002 16:34:14 +0200 (MET DST) 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 QAA09318 for ; Wed, 2 Oct 2002 16:34:14 +0200 (MET DST) Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g92EYC500477 for ; Wed, 2 Oct 2002 16:34:13 +0200 (MET DST) Received: from user-0ccegbj.cable.mindspring.com ([24.199.65.115] helo=cs.cornell.edu) by albatross.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 17wkZl-0005Ti-00 for caml-list@inria.fr; Wed, 02 Oct 2002 07:34:09 -0700 Message-ID: <3D9B03DF.5040806@cs.cornell.edu> Date: Wed, 02 Oct 2002 10:34:07 -0400 From: "Yaron M. Minsky" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020918 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ocaml List Subject: [Caml-list] Uncaught exceptions (or am I going crazy?) Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 ------------------- 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