caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* RE: [Caml-list] Uncaught exceptions (or am I going crazy?)
@ 2002-10-03  0:46 Arturo Borquez
  0 siblings, 0 replies; 9+ messages in thread
From: Arturo Borquez @ 2002-10-03  0:46 UTC (permalink / raw)
  To: "Yaron M. Minsky"; +Cc: caml-list

"Yaron M. Minsky" <yminsky@CS.Cornell.EDU> 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


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [Caml-list] Uncaught exceptions (or am I going crazy?)
@ 2002-10-02 14:34 Yaron M. Minsky
  2002-10-02 14:59 ` Didier Le Botlan
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Yaron M. Minsky @ 2002-10-02 14:34 UTC (permalink / raw)
  To: Ocaml List

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-10-03  7:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-03  0:46 [Caml-list] Uncaught exceptions (or am I going crazy?) Arturo Borquez
  -- strict thread matches above, loose matches on Subject: below --
2002-10-02 14:34 Yaron M. Minsky
2002-10-02 14:59 ` Didier Le Botlan
2002-10-02 15:01 ` Maxence Guesdon
2002-10-02 15:06 ` Michael Hicks
     [not found] ` <3D9B0978.E4A5D96@beaune.inria.fr>
2002-10-02 15:38   ` Yaron M. Minsky
2002-10-02 16:04     ` Alessandro Baretta
2002-10-02 15:57       ` Yaron M. Minsky
     [not found]         ` <15771.6363.899204.33252@paille.inria.fr>
     [not found]           ` <3D9B198D.7020605@cs.cornell.edu>
     [not found]             ` <15771.6812.266404.848081@paille.inria.fr>
2002-10-02 16:19               ` Yaron M. Minsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).