From: "Pascal Zimmer" <pzimmer@janestcapital.com>
To: caml-list <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Search for the smallest possible possible Ocaml segfault....
Date: Thu, 08 Nov 2007 12:02:58 -0500 [thread overview]
Message-ID: <1194541378.12695.412.camel@nyc-qws-001.delacy.com> (raw)
In-Reply-To: <9d3ec8300711080817u2558d1ffy1189dc62d39bcfda@mail.gmail.com>
What about this one:
Unix.kill 0 11;;
;-)
Pascal
On Thu, 2007-11-08 at 11:17 -0500, Till Varoquaux wrote:
> It is fixed now:
>
> > This class should be virtual. The following variables are undefined : x
>
> It would have been a good contender for the shorter bug.
> Till
>
> On Nov 8, 2007 11:11 AM, Jeremy Yallop <jeremy.yallop@ed.ac.uk> wrote:
> >
> > Jeremy Yallop wrote:
> > > Till Varoquaux wrote:
> > >> I have a open bug in ocaml
> > >> (http://caml.inria.fr/mantis/view.php?id=4321) that leads very simply
> > >> to a segfault. The bug has been there for more than 4 months and is
> > >> still marked as "new". Since it seems to be stalling I thought I might
> > >> give it a gentle prod: what is the smallest possible ocaml program you
> > >> can come up with that leads to a reproducible segfault without using
> > >> FFI's Obj or Marshal. Here is mine:
> > >>
> > >> Scanf.sscanf "\"%2$c%1$s\"" "%{%c%s%}" (fun f->Printf.printf f 'x'
> > >> "xy");;
> > >
> > > I've already reported this (on the mailing list) and it's probably been
> > > fixed by now, but in OCaml 3.10.0:
> > >
> > > !((object val virtual x:'a method x=x end)#x)
> >
> > I made it shorter:
> >
> > !((object val virtual x:_ method x=x end)#x)
> >
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
next prev parent reply other threads:[~2007-11-08 17:03 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-08 14:17 Till Varoquaux
2007-11-08 15:00 ` [Caml-list] " Jean-Christophe Filliâtre
2007-11-08 15:17 ` Till Varoquaux
2007-11-08 15:55 ` Adrien
2007-11-08 16:05 ` Alain Frisch
2007-11-08 16:30 ` Feature request (was Re: [Caml-list] Search for the smallest possible possible Ocaml segfault....) Martin Jambon
2007-11-08 18:23 ` Martin Jambon
2007-11-08 16:07 ` [Caml-list] Search for the smallest possible possible Ocaml segfault Jeremy Yallop
2007-11-08 16:11 ` Jeremy Yallop
2007-11-08 16:17 ` Till Varoquaux
2007-11-08 17:02 ` Stefano Zacchiroli
2007-11-08 17:10 ` Till Varoquaux
2007-11-08 17:02 ` Pascal Zimmer [this message]
2007-11-08 17:12 ` Oliver Bandel
2007-11-08 17:11 ` Oliver Bandel
2007-11-08 17:13 ` Zheng Li
2007-11-08 17:55 ` [Caml-list] STOP (was: Search for the smallest possible possible Ocaml segfault) Xavier Leroy
2007-11-08 18:11 ` Tom Primožič
2007-11-08 18:23 ` [Caml-list] STOP Robert Fischer
2007-11-08 19:01 ` Basile STARYNKEVITCH
2007-11-08 18:31 ` [Caml-list] STOP (was: Search for the smallest possible possible Ocaml segfault) Till Varoquaux
2007-11-08 19:06 ` Oliver Bandel
2007-11-09 18:09 ` Pierre Weis
2007-11-10 14:32 ` OCaml's formatting libraries Bünzli Daniel
2007-11-10 14:58 ` [Caml-list] " Jon Harrop
2007-11-10 15:43 ` Bünzli Daniel
2007-11-10 19:13 ` Jon Harrop
2007-11-13 9:22 ` Pierre Weis
2007-11-13 9:13 ` Pierre Weis
2007-11-13 8:53 ` Pierre Weis
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=1194541378.12695.412.camel@nyc-qws-001.delacy.com \
--to=pzimmer@janestcapital.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