Version française
Home     About     Download     Resources     Contact us    
Browse thread
RE: [Caml-list] Segmentation Fault on #load
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Oleg Trott <oleg_trott@c...>
Subject: Re: [Caml-list] Segmentation Fault on #load
On Tuesday 28 October 2003 04:05 am, David Brown wrote:
> On Tue, Oct 28, 2003 at 04:47:04PM +0100, Beck01, Wolfgang wrote:
> > You wrote:
> > > $ ocaml
> > >        Objective Caml version 3.07+2
> > >
> > > # #load pretty.cmo;;
> > > Segmentation fault (core dumped)
> >
> > Loading object files into the ocaml toplevel is not a good idea.
> > It's like loading pretty.cmo in your text editor (which looks
> > not pretty).
>
> No, this is supposed to work.  It should load the bytecode into the
> toplevel.
>
> Dave

Technically, it's possible for "#load" to cause seg-fault if "pretty" uses
FFI and there is a bug somewhere. Otherwise, there may be a problem
with Eric's copy of OCaml.

-- 
Oleg Trott <oleg_trott@columbia.edu>

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