From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id E5694BC6B for ; Thu, 8 Nov 2007 18:11:41 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAGvSMkfAXQImh2dsb2JhbACPAAEBAQgKKYEP X-IronPort-AV: E=Sophos;i="4.21,390,1188770400"; d="scan'208";a="4039168" Received: from discorde.inria.fr ([192.93.2.38]) by mail2-smtp-roc.national.inria.fr with ESMTP; 08 Nov 2007 18:11:41 +0100 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id lA8HBb9p001851 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Thu, 8 Nov 2007 18:11:41 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAGvSMkfAbSoIh2dsb2JhbACPAAEBAQgKKYEP X-IronPort-AV: E=Sophos;i="4.21,390,1188770400"; d="scan'208";a="5594864" Received: from einhorn.in-berlin.de ([192.109.42.8]) by mail3-smtp-sop.national.inria.fr with ESMTP; 08 Nov 2007 18:11:36 +0100 X-Envelope-From: oliver@first.in-berlin.de X-Envelope-To: Received: from einhorn.in-berlin.de (localhost [127.0.0.1]) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id lA8HBZRJ013733 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 8 Nov 2007 18:11:36 +0100 Received: (from www-data@localhost) by einhorn.in-berlin.de (8.13.6/8.13.6/Submit) id lA8HBZX6013727 for caml-list@inria.fr; Thu, 8 Nov 2007 18:11:35 +0100 X-Authentication-Warning: einhorn.in-berlin.de: www-data set sender to oliver@first.in-berlin.de using -f Received: from dslb-088-073-073-204.pools.arcor-ip.net (dslb-088-073-073-204.pools.arcor-ip.net [88.73.73.204]) by webmail.in-berlin.de (IMP) with HTTP for ; Thu, 8 Nov 2007 18:11:35 +0100 Message-ID: <1194541895.473343479ab1c@webmail.in-berlin.de> Date: Thu, 8 Nov 2007 18:11:35 +0100 From: Oliver Bandel To: caml-list Subject: Re: [Caml-list] Search for the smallest possible possible Ocaml segfault.... References: <9d3ec8300711080617g1b023711o1a8f9aa50b7874@mail.gmail.com> In-Reply-To: <9d3ec8300711080617g1b023711o1a8f9aa50b7874@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.6 X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 X-Miltered: at discorde with ID 47334349.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; bandel:01 in-berlin:01 ocaml:01 segfault:01 bug:01 ocaml:01 segfault:01 bug:01 scanf:01 sscanf:01 printf:01 printf:01 'x':01 toplevel:01 oliver:01 Zitat von Till Varoquaux : > 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");; [...] Strange... I tried with toplevel, and it crashed. :( This and the other things are a book of horror-stories... :( I hope, theese strange things will be fixed soon. Ciao, Oliver