Thomas Weber <twe...@debian.org> writes: > On Thu, Jul 05, 2012 at 11:54:55PM +0200, Sébastien Villemot wrote: >> Please try the following (on amd64 if possible) in a clean sid chroot: >> >> apt-get install dynare locales (it should install octave-java via the >> recommends) >> dpkg-reconfigure locales (and select fr_FR.UTF-8) >> LANG=fr_FR.UTF-8 octave >> >> It should crash. Strangely it does not crash with LANG=C. >> >> I replicated this inside a clean amd64 sid chroot created with >> debootstrap. >> >> Do you get the same? > > Yes. Good, so we can reproduce it.
Thanks for having tried this. What I understood in this replication process is that the problem has to do with the locale settings. The cause of the problem is the following: OpenJDK 7 messes up the locale settings (and LC_NUMERIC in particular), so Octave is no longer able to read a decimal number (the decimal separator in French is a comma, not a point). By resetting the locale after the JVM initialization, the problem disappears. I will upload a fixed version of the package soon. Thanks for your help, -- Sébastien Villemot Researcher in Economics & Debian Maintainer http://www.dynare.org/sebastien Phone: +33-1-40-77-84-04 - GPG Key: 4096R/381A7594
pgpgSlDUIduqp.pgp
Description: PGP signature