[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Jon Harrop <jon@f...> |
| Subject: | Re: [Caml-list] segfault in 3.10 |
On Thursday 28 June 2007 22:38:30 micha wrote: > I get a segfault when compiling the program below with ocamlopt 3.10 on > linux (athlon xp) and running it without an argument (it should throw > an exception). The code below is the smallest part of my program... Here's an implementation that's both shorter and faster: ;-) print_endline Sys.argv.(-1) Run with: $ ocamlopt test.ml -o test $ export CAMLRUNPARAM=b $ ./test Segmentation fault -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. The OCaml Journal http://www.ffconsultancy.com/products/ocaml_journal/?e