[Pkg-octave-devel] Build of octave 3.6.3-1 fails on i386

Mike Miller mtmiller at ieee.org
Tue Sep 25 13:18:01 UTC 2012


On Tue, Sep 25, 2012 at 4:15 AM, Sébastien Villemot wrote:
> Rafael Laboissiere <rafael at laboissiere.net> writes:
>
>> When building octave 3.6.3-1 on an upt-ot-date sid chroot, I get the
>> follwing error message:
>>
>>       liboctave/Sparse.cc ....................................panic: Segmentation fault -- stopping myself...
>>     malloc.c:4631: _int_malloc: Assertion `(unsigned long)(size) >= (unsigned long)(nb)' failed.
>>     make[2]: *** [check] Segmentation fault
>>     make[2]: Leaving directory `/home/rafael/devel/debian/PKGS/octave/octave/test'
>>     make[1]: *** [check] Error 2
>>
>> Curiously enough, the failing test above works from the command line:
>>
>>     (sid) $ echo "version, test liboctave/Sparse.cc" | ./run-octave -q
>>     ans = 3.6.3
>>     PASSES 94 out of 94 tests
>>
>> Before I start hunting down this bug, I would like to know whether
>> someone has seen this already.
>
> Apparently a similar bug occurred on many buildds:
>
>  https://buildd.debian.org/status/package.php?p=octave&suite=experimental
>
> I suspect that this is due to debian/patches/rcond.patch that I just
> added. Can you test if removing that patch helps?

This was a bug in the 3.6.3 release and was discussed and fixed
upstream. IIRC it failed for me much more readily in a 32-bit chroot.
The following two commits applied to 3.6.3 fix it:

http://hg.savannah.gnu.org/hgweb/octave/rev/f2e72944847b
http://hg.savannah.gnu.org/hgweb/octave/rev/4663cc835c65

-- 
mike



More information about the Pkg-octave-devel mailing list