From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 6F54F7F75C for ; Thu, 25 Sep 2014 07:12:02 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of gabriel.scherer@gmail.com) identity=pra; client-ip=209.85.214.178; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="gabriel.scherer@gmail.com"; x-sender="gabriel.scherer@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of gabriel.scherer@gmail.com designates 209.85.214.178 as permitted sender) identity=mailfrom; client-ip=209.85.214.178; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="gabriel.scherer@gmail.com"; x-sender="gabriel.scherer@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-ob0-f178.google.com) identity=helo; client-ip=209.85.214.178; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="gabriel.scherer@gmail.com"; x-sender="postmaster@mail-ob0-f178.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgcCAHyjI1TRVdaylGdsb2JhbABgg2FXBIJ9tgaPWIFvh0wBgQIIFgERAQEBAQcLCwkSLYQDAQEBAwESEQQZARsSCwEDAQsGBQsDCg0aAwICIQEBEQEFAQoBEQYTEhCIBwEDCQgNoRZuizCBcoMQiS4KGScDCmaGOgERAQUOihyDRIIsBAeCeIFTBYUTBY1LgzWEeYIQgWGNLYRUGCmFFTsvAYJJAQEB X-IPAS-Result: AgcCAHyjI1TRVdaylGdsb2JhbABgg2FXBIJ9tgaPWIFvh0wBgQIIFgERAQEBAQcLCwkSLYQDAQEBAwESEQQZARsSCwEDAQsGBQsDCg0aAwICIQEBEQEFAQoBEQYTEhCIBwEDCQgNoRZuizCBcoMQiS4KGScDCmaGOgERAQUOihyDRIIsBAeCeIFTBYUTBY1LgzWEeYIQgWGNLYRUGCmFFTsvAYJJAQEB X-IronPort-AV: E=Sophos;i="5.04,595,1406584800"; d="scan'208";a="97759447" Received: from mail-ob0-f178.google.com ([209.85.214.178]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 25 Sep 2014 07:12:01 +0200 Received: by mail-ob0-f178.google.com with SMTP id va2so7543065obc.37 for ; Wed, 24 Sep 2014 22:12:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=3Z5ItIobdZM3Boq1UFIatI+KEJNEG+iclqU2SNjAen0=; b=soEBVgsDvDUoOD3VvZaTTxlQ7IChK8w/wC84zWtJPbYxUByTSjiqygHPr/w9kfoRvp cAGdT9lxXfXAyIa18QJeOeMRconrn8lFfIxrNNT6Wd18bDKFbTiQjC7f4CDe6kZeR9UI k9SR9sbPj8iqENsf8K50oqJPLZno+DhJGe9kjRySg6Z/ui7lHDKAyOu4Yo+kzQHQRcS2 jpsFsgPR/98QkA01mF05eQ75OG9Dqx7ESJ5g9+NgNWm4yGougVYA3rU9paxfUn73HIwa v4dsZo29ifGrS+ARy05mubyoTRQIG1Ryu/rWBDXZrHug66CHK0RIVcg8iOUH+1KYaJz1 YNCA== X-Received: by 10.60.84.134 with SMTP id z6mr4072473oey.32.1411621920079; Wed, 24 Sep 2014 22:12:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.141.165 with HTTP; Wed, 24 Sep 2014 22:11:20 -0700 (PDT) In-Reply-To: References: <87r3z2720e.fsf@comtv.ru> From: Gabriel Scherer Date: Thu, 25 Sep 2014 07:11:20 +0200 Message-ID: To: Nick Lucaroni Cc: av1474 , caml users , Damien Doligez Content-Type: multipart/alternative; boundary=089e01176a011a89ca0503dcd741 Subject: Re: [Caml-list] OCaml 4.02.1 is coming soon --089e01176a011a89ca0503dcd741 Content-Type: text/plain; charset=UTF-8 Note that string_of_format is still available to safely convert a format into a string. On Thu, Sep 25, 2014 at 5:58 AM, Nick Lucaroni < nicholas.r.lucaroni@gmail.com> wrote: > I forgot we had been using some magic to convert strings. that's the price > we pay. > > nick > > On Wed, Sep 24, 2014 at 11:50 PM, Nick Lucaroni < > nicholas.r.lucaroni@gmail.com> wrote: > >> Are the formatting issues resolved in the 4.02.0+turnk switch in OPAM >> (that's, dev0-2014-08-29)? I'm getting segmentation faults from fprintf in >> my application even in that branch (see below). I'll work to pin it down as >> it very well could be a miss-formatted string on my part, but obviously we >> shouldn't seg-fault. let me know if I should hold off. >> >> thanks, >> nick >> >> Time: 48706621 - pc: 98976 - module CamlinternalFormat >> 1375 fun k o acc fmt -> <|b|>match fmt with >> >> >> >> On Tue, Sep 23, 2014 at 12:08 PM, wrote: >> >>> Damien Doligez writes: >>> >>> > Dear OCaml users, >>> > >>> > The rather large amount of changes in the newly released 4.02 >>> > inevitably caused some issues in the very first minor release. We >>> > shall have a 4.02.1 bugfix release coming soon, hopefully in early >>> > October. >>> > >>> > Among the few issues that have now been fixed, there are a few >>> > regressions in the new, type-safe format implementation >>> > (Printf/Scanf/Format) -- for advanced formatting features. >>> > >>> > There was also a regression in the *compilation time* of the >>> > distributed OCaml compiler, which is sensibly slower than 4.01 on >>> > multi-module programs. This is already fixed in the development >>> > version of the compiler and will be part of the bugfix release. >>> > >>> >>> Compilation of [1] skyrocketed (at least here on rather oldish PPC >>> machine), hopfully things would be a bit better in 4.02.1. >>> >>> > Any additional testing to find and report other regressions is more >>> > than welcome. If you have not yet tested your programs with 4.02, now >>> > is the time to give it a try! >>> > >>> > >>> > -- Damien >>> >>> [1] >>> http://repo.or.cz/w/llpp.git/blob/53f1bca0140d03d9f2e1437a4ad0dbc3f7e85ce0:/main.ml >>> -- >>> mailto:av1474@comtv.ru >>> >>> -- >>> Caml-list mailing list. Subscription management and archives: >>> https://sympa.inria.fr/sympa/arc/caml-list >>> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners >>> Bug reports: http://caml.inria.fr/bin/caml-bugs >>> >> >> > --089e01176a011a89ca0503dcd741 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Note that string_of_format is still available to safely co= nvert a format into a string.

On Thu, Sep 25, 2014 at 5:58 AM, Nick Lucaroni <nicholas.r.lucaroni@gmail.com> wrote:
I forgot we had been using some magic t= o convert strings. that's the price we pay.

nick

O= n Wed, Sep 24, 2014 at 11:50 PM, Nick Lucaroni <nicholas.r.luc= aroni@gmail.com> wrote:
Are the formatting issues resolved= in the 4.02.0+turnk switch in OPAM (that's, dev0-2014-08-29)? I'm = getting segmentation faults from fprintf in my application even in that bra= nch (see below). I'll work to pin it down as it very well could be a mi= ss-formatted string on my part, but obviously we shouldn't seg-fault. l= et me know if I should hold off.

=
thanks,
nick

Time: 48706621 - pc: 98976 - module CamlinternalFormat
1375 fun k o acc fmt -> <|b|>mat= ch fmt with



On Tue, Sep 23, 2014 at 12:08 PM, <<= a href=3D"mailto:av1474@comtv.ru" target=3D"_blank">av1474@comtv.ru>= wrote:
Damien Doligez <damien.doligez@inria.fr> wri= tes:

> Dear OCaml users,
>
> The rather large amount of changes in the newly released 4.02
> inevitably caused some issues in the very first minor release. We
> shall have a 4.02.1 bugfix release coming soon, hopefully in early
> October.
>
> Among the few issues that have now been fixed, there are a few
> regressions in the new, type-safe format implementation
> (Printf/Scanf/Format) -- for advanced formatting features.
>
> There was also a regression in the *compilation time* of the
> distributed OCaml compiler, which is sensibly slower than 4.01 on
> multi-module programs. This is already fixed in the development
> version of the compiler and will be part of the bugfix release.
>

Compilation of [1] skyrocketed (at least here on rather oldish PPC
machine), hopfully things would be a bit better in 4.02.1.

> Any additional testing to find and report other regressions is more
> than welcome. If you have not yet tested your programs with 4.02, now<= br> > is the time to give it a try!
>
>
> -- Damien

[1] http://repo.or.cz/w/llpp.git/blo= b/53f1bca0140d03d9f2e1437a4ad0dbc3f7e85ce0:/main.ml
--
mailto:av1474@comtv.ru=

--
Caml-list mailing list.=C2=A0 Subscription management and archives:
ht= tps://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs



--089e01176a011a89ca0503dcd741--