[Pkg-octave-devel] Dynare FTBFS / Octave+gnuplot bug

Thomas Weber thomas.weber.mail at gmail.com
Mon Oct 12 18:04:49 UTC 2009


On Mon, Oct 12, 2009 at 12:06:33PM +0200, Sébastien Villemot wrote:
> Hi everyone,
> 
> The Dynare testsuite runs a similar sequence of Octave instances with
> graphics and M-files created on-the-fly, hence the problem reported on
> kfreebsd-i386 arch. I had created a poor-man workaround in quilt patch
> "testsuite-octave3.2-crash-workaround" of Dynare package, but this is
> not enough, at least on some buildds. Increasing the sleep delay would
> probably solve the problem, but this is definitely not a satisfactory
> solution.
> 
> Any ideas? Should I open a bug against Octave3.2 or directly report that
> to Octave bug list?

Uh, both please :)

I think[1] Octave misses an fsync() somewhere in its code (at least I
couldn't find one). The easiest place would be in the code for unlink(),
but that would also be the biggest penalty. However, doing it on exit
should be okay performance-wise.

[1] I might be wrong, of course. I'm not that deep into filesystems and
race conditions.

	Thomas



More information about the Pkg-octave-devel mailing list