caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Marshall.from_channel and segmentation fault
@ 2015-06-12  5:27 Kenichi Asai
  2015-06-12  7:39 ` Romain Bardou
  2015-06-12  8:38 ` Francois Berenger
  0 siblings, 2 replies; 6+ messages in thread
From: Kenichi Asai @ 2015-06-12  5:27 UTC (permalink / raw)
  To: caml-list

The OCaml manual for the Marshall module says:

> (Marshal.from_channel chan : type).  Anything can happen at run-time
> if the object in the file does not belong to the given type.

and this "Anything" contains segmentation fault.  Is it difficult to
avoid this segmentation fault and, e.g., raise an exception instead?

Sincerely,

-- 
Kenichi Asai

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

end of thread, other threads:[~2015-06-12  8:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-12  5:27 [Caml-list] Marshall.from_channel and segmentation fault Kenichi Asai
2015-06-12  7:39 ` Romain Bardou
2015-06-12  8:26   ` Kenichi Asai
2015-06-12  8:55     ` Romain Bardou
2015-06-12  8:41   ` Francois Berenger
2015-06-12  8:38 ` Francois Berenger

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).