I can confirm this issue is fixed in the current version of oasis. Note that all packages using oasis should be updated as soon as possible (preferably before ocaml 4.00 is released and widely included in linux/macos distros), otherwise I fear we'll be hearing about that scanf bug for a looong time. In particular, all packages on oasis-db should be taken care of rapidly, as they are used by odb. Maybe we could organize a bit so that this is done collaboratively *and* efficiently? ph. 2012/6/9 Török Edwin > On 06/09/2012 08:19 PM, Gabriel Scherer wrote: > > This is related to a segfault in Scanf that was discovered (by > > Jianzhou Zhao, on this list) a few months ago : > > http://caml.inria.fr/mantis/view.php?id=5380 . The compability break > > was also reported previously on mantis : > > http://caml.inria.fr/mantis/view.php?id=5605 > > > > On Sat, Jun 9, 2012 at 7:05 PM, Richard W.M. Jones > wrote: > >> On Sat, Jun 09, 2012 at 07:09:58AM +0200, rixed@happyleptic.org wrote: > >>>> The release of OCaml version 4.00.0 is approaching. We have > >>>> created a beta version for your testing pleasure. Please > >>>> download the sources, compile, install, and test your favourite > >>>> software with it. Then let me know what happened, one way or > >>>> the other. > >>> > >>> The first failure I got is from oUnit setup.ml which attempt to > >>> scanf "%S %S@\n", but using the @ after a %S (not %s) does not > >>> work the same as in 3.12.1 : it looks for a '@' instead of interpreting > >>> it as a scanning indication. > >>> The manual says that scanning indications are for %s and %[range], > >>> so it seams setup.ml is to blame, though. > > OASIS 0.3.0~rc6 should have a fix for this, quoting from its CHANGES.txt: > " * Version 0.3.0 > > * EXTREMLY IMPORTANT changes (read this): > > * Fix bug with scanf %S@\n for ocaml 3.13. We were unfortunetaly using > an > undocumented tolerance of Scanf in the previous version. You should > consider making new release using this version that fixed this." > > Best regards, > --Edwin > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa-roc.inria.fr/wws/info/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > >