Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Cygwin ocaml crashes
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Mattias Waldau <mattias.waldau@a...>
Subject: RE: [Caml-list] Cygwin ocaml crashes
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 = <fun>
> ># 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