From: Jon Harrop <jon@ffconsultancy.com>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] segfault in 3.10
Date: Fri, 29 Jun 2007 01:22:36 +0100 [thread overview]
Message-ID: <200706290122.36908.jon@ffconsultancy.com> (raw)
In-Reply-To: <20070628233830.7d49539d@hmmm.de>
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
prev parent reply other threads:[~2007-06-29 0:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-28 21:38 micha
2007-06-28 22:35 ` [Caml-list] " Olivier Andrieu
2007-06-29 0:22 ` Jon Harrop [this message]
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=200706290122.36908.jon@ffconsultancy.com \
--to=jon@ffconsultancy.com \
--cc=caml-list@yquem.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