One test in data.cc crashes Octave 3.1.51
Thomas Treichl
Thomas.Treichl at gmx.net
Mon Aug 11 15:54:46 CDT 2008
Hi,
I have still some more problems after compiling 3.1.51 for PPC (but overall just
7 test failures). One special test in data.cc crashes Octave, I have found out
the source where it appears (data.cc, line 1064):
%!assert(log2(complex(0,Inf)), Inf + log2(i));
I split the commands and found out more:
octave:1> A = Inf
A = Inf
octave:2> B = log2(i)
B = 0.00000 + 2.26618i
octave:3> A+B
panic: Segmentation fault -- stopping myself...
ans = Inf + attempting to save variables to `octave-core'...
save to `octave-core' complete
Segmentation fault
And I don't have any idea where to go from here looking for this bug. My second
test was:
octave:1> complex(0,Inf)
ans = 0 + Infi
octave:2> log2(complex(0,Inf))
ans = NaN - NaNi
Regards,
Thomas
More information about the Bug-octave
mailing list