caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: wester@ilt.fhg.de
To: caml-list@inria.fr
Subject: RE: [Caml-list] Cygwin ocaml crashes
Date: Tue, 24 Apr 2001 09:00:26 +0200	[thread overview]
Message-ID: <200104240700.JAA18515@ilt.fhg.de> (raw)
In-Reply-To: <AAEBJHFJOIPMMIILCEPBOEBKCJAA.mattias.waldau@abc.se>

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


-------------------------------------
Rolf Wester
wester@ilt.fhg.de
-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr


  reply	other threads:[~2001-04-24  7:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-23 10:05 wester
2001-04-23 13:49 ` Alan Schmitt
2001-04-23 14:16   ` wester
2001-04-23 15:39     ` Alan Schmitt
2001-04-23 15:59     ` Mattias Waldau
2001-04-24  7:00       ` wester [this message]
2001-04-24  7:44         ` Alan Schmitt
2001-04-24 20:52           ` Mattias Waldau
2001-04-25  3:17             ` [Caml-list] Subtypes in Ocaml Mark Wotton hons2001
2001-04-25  5:45               ` Mark Wotton hons2001
2001-04-25  7:35                 ` Chris Hecker
2001-04-25  7:42                   ` Mark Wotton hons2001
2001-04-25 11:04                     ` Jean-Francois Monin
2001-04-25 10:02           ` [Caml-list] Cygwin ocaml crashes Christophe Macabiau
2001-04-23 16:49 Dave Berry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200104240700.JAA18515@ilt.fhg.de \
    --to=wester@ilt.fhg.de \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).