[Pkg-octave-devel] Bug#607071: Bug#607071: Bug#607071: octave-symbolic: Segfaults, doesn't work at all

Jordi Gutiérrez Hermoso jordigh at gmail.com
Thu Dec 16 05:18:34 UTC 2010


On 15 December 2010 16:17, Thomas Weber <tweber at debian.org> wrote:
> On Tue, Dec 14, 2010 at 07:55:58AM -0600, Jordi Gutiérrez Hermoso wrote:
>> Package: octave-symbolic
>> Version: 1.0.9-1+b1
>> Severity: grave
>>
>> octave-symbolic is largely unusable. Calling any of its functions
>> other than "sym" results in C++ exceptions like this one:
>>
>>      error: T& Array<T>::checkelem (2, -1, 2): range error
>>
>> and eventually the package segfaults Octave.
>
> Did anything change in Ginac? The package was built in February and all
> tests passed.

Are you sure? When I tried building the package today I got

     Checking package...
     warning: mark_as_command is obsolete and will be removed from a
future version of Octave
     [findsym]
       ***** test
      symbols
      x=sym("x"); y=sym("y"); f=x^2+3*x*y-y^2;
      vars = findsym (f);
      assert(vars, 'x,y');
      vars2 = findsym (f,1);
      assert(vars2, 'x');
     !!!!! test failed
     T& Array<T>::checkelem (4, -1, 2): range error[sym2poly]
     PASSES 2 out of 2 tests
     [symfsolve]
     PASSES 5 out of 5 tests

(The mark_as_command warning is from another package I have installed,
but I keep forgetting which one.) So something fishy is happening,
"!!!!! test failed" yet "PASSES 2 out of 2 tests". Can you reproduce
this? Perhaps this was happening in February so the tests were failing
but being reported as passing?





More information about the Pkg-octave-devel mailing list