bugGNU Octave - Bugs: bug #32401, failed check of onenormest

 
 

bug #32401: failed check of onenormest

Submitter:  None
Submitted:  Wed 09 Feb 2011 07:00:03 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Works For Me Assigned to:  None
Originator Name:  Larry Doolittle Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.4.0
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 10 Feb 2011 05:14:07 PM UTC, comment #4: 

Removing libatlas3gf-base and rebuilding octave-3.4 gives a fully functional system, as verified by make check.  This bug can be closed.  I look forward to using my new octave!

This bug must be in the family related to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610196
My processor is
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 15
model name      : AMD Athlon(tm) 64 Processor 3500+
stepping        : 0
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow up rep_good

Larry Doolittle <ldoolitt>
Thu 10 Feb 2011 06:43:40 AM UTC, comment #3: 

gdb reports

Program received signal SIGILL, Illegal instruction.
0x00007ffff160461c in ATL_dJIK32x32x32TN32x32x0_a1_b0 ()
   from /usr/lib/libatlas.so.3gf

Makes it sound like http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607244
"octave3.2: octave crashed with "panic: Illegal instruction -- stopping myself..."

Removing libatlas3gf-base fixes octave-3.2.  It completely
breaks octave-3.4; I guess I have to rebuild to be sure that
version will also be fixed.  I'll let you know tomorrow.

Larry Doolittle <ldoolitt>
Thu 10 Feb 2011 12:42:23 AM UTC, comment #2: 

I don't see crashes for any of these tests, nor do I see any warnings from valgrind.

Can you please try running Octave under gdb to get a stack trace to see where these crashes occur on your system?

John W. Eaton <jwe>
Group administrator
Wed 09 Feb 2011 11:46:19 PM UTC, comment #1: 

On the same system, three other self-tests fail: sparse/pcg.m sparse/pcr.m special-matrix/hadamard.m
I can't confirm these failures are related, but they do have the same symptom "panic: Illegal instruction -- stopping myself..."

I could isolate these faults to a self-contained handful
of lines.  There are two.  Notably, these snippets also crash octave-3.2.
---
# crash taken from scripts/sparse/pcg.m
# N<64 doesn't crash octave-3.2 or octave-3.4
N = 64;
A = zeros (N, N);
for i=1 : N - 1 # form 1-D Laplacian matrix
        A (i:i+1, i:i+1) = [2 -1; -1 2];
endfor
b = rand (N, 1);
X = A \ b;
---
# crash adapted from scripts/special-matrix/hadamard.m
# also crashes with n=32
n=48;
h=hadamard(n);
size(h)
norm(h*h'-n*eye(n))
---
Hope this helps.

Larry Doolittle <ldoolitt>
Wed 09 Feb 2011 07:00:03 PM UTC, original submission:  

One of the "make check" tests for onenormest crashes.  Reproduce with
   N = 100;
   A = rand (N);
   [nm1, v1, w1] = onenormest (A);
my result is
panic: Illegal instruction -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Illegal instruction

This is a fresh octave 3.4.0 build on Debian stable (squeeze) amd64.  I have all autoconf-detectable libraries turned on except HDF5.

I can isolate the crash to the
   Y = feval (apply, X);
statement at line 154 of onenormest.m.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by ldoolitt (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-02-10 jwe Open/ClosedOpen Closed
    2011-02-10 jwe StatusNone Works For Me

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code