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 RAA13733; Mon, 23 Apr 2001 17:59:31 +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 RAA13811 for ; Mon, 23 Apr 2001 17:59:30 +0200 (MET DST) Received: from tor.abc.se (ns.abc.se [195.17.72.11]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f3NFxSf09592 for ; Mon, 23 Apr 2001 17:59:28 +0200 (MET DST) Received: from gateway (dialup-22 [195.17.73.22]) by tor.abc.se (8.9.3+Sun/8.9.3) with SMTP id RAA02199; Mon, 23 Apr 2001 17:59:23 +0200 (MET DST) From: "Mattias Waldau" To: , Subject: RE: [Caml-list] Cygwin ocaml crashes Date: Mon, 23 Apr 2001 17:59:17 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <200104231416.QAA15311@ilt.fhg.de> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr