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 JAA22054; Tue, 24 Apr 2001 09:01:23 +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 JAA21993 for ; Tue, 24 Apr 2001 09:01:22 +0200 (MET DST) Received: from mailgw1.fhg.de (mailgw1.fhg.de [153.96.1.2]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f3O71LP28082 for ; Tue, 24 Apr 2001 09:01:21 +0200 (MET DST) Received: from ilt.fhg.de (ilt.ilt.fhg.de [153.96.180.2]) by mailgw1.fhg.de (8.11.1/8.11.1) with ESMTP id f3O71Ff01948 for ; Tue, 24 Apr 2001 09:01:15 +0200 (MET DST) Received: from eent230 (iltpc099.ilt.fhg.de [192.102.148.99]) by ilt.fhg.de (8.9.3/8.9.3) with SMTP id JAA18515 for ; Tue, 24 Apr 2001 09:00:26 +0200 (MET DST) Message-Id: <200104240700.JAA18515@ilt.fhg.de> From: wester@ilt.fhg.de To: caml-list@inria.fr Date: Tue, 24 Apr 2001 09:00:26 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: RE: [Caml-list] Cygwin ocaml crashes In-reply-to: References: <200104231416.QAA15311@ilt.fhg.de> X-mailer: Pegasus Mail for Win32 (v3.01d) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, I rebuilt Ocaml with the latest Cygwin version and now it works. Rolf > I also get it, essentially the toplevel always crashed when you > get some kind of type-error or undefined. Note below that the > function 'g' isn't defined. > > I run the latest cygwin (since it is so easy to update, just run > setup.exe again and it updates the necessary parts). > > I didn't get that kind of behaviour using the pre 3.01 cygwin-versions. > Maybe the error isn't that you need the latest cygwin, but the same cygwin > that was used to build ocaml. (I used the binary installs.) > > You could try to download the source and recompile it locally. > > /mattias > > -----Original Message----- > From: owner-caml-list@pauillac.inria.fr > [mailto:owner-caml-list@pauillac.inria.fr]On Behalf Of wester@ilt.fhg.de > Sent: Monday, April 23, 2001 4:16 PM To: caml-list@inria.fr Subject: Re: > [Caml-list] Cygwin ocaml crashes > > > Hi Alan, > > thanks for your reply. The toplevel also chrashes when I use it directly. > I downloaded and installed the latest cygwin version. But the toplevel > still chrashes when using an undefined symbol. > > Rolf Wester > > > Hi, > > > > I also had this problem (using the toplevel in cygwin, not emacs), and > > solved it by getting a more recent version of cygwin. > > > > Alan Schmitt > > > > >Hi, > > > > > >I downloaded the CYGWIN version of OCaml301 and started the > > >toplevel in Emacs. But when using an undefined value (what occasionally > > >happens) the program crashes. See below the Emacs output of ocaml: > > > > > > Objective Caml version 3.01 > > > > > ># 1+2;; > > >- : int = 3 > > ># let f x = x*x;; > > >val f : int -> int = > > ># f 3;; > > >- : int = 9 > > ># g 3;; > > > 0 [main] ocaml 129 handle_exceptions: Exception: > > > STATUS_ACCESS_VIOLATION > > > 47809 [main] ocaml 129 stackdump: Dumping stack trace to > > > ocamlrun.exe.stackdump > > > > > >Process caml-toplevel exited abnormally with code 232192 > > > > > >Is it possible to avoid this? > > > > > >Rolf Wester > > > > -- > > The hacker: someone who figured things out and made something cool > > happen. > > > > > ------------------------------------- > Rolf Wester > wester@ilt.fhg.de > ------------------- > To unsubscribe, mail caml-list-request@inria.fr. Archives: > http://caml.inria.fr > ------------------------------------- Rolf Wester wester@ilt.fhg.de ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr