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

 
 

bug #32401: failed check of onenormest

Submitted by:  None
Submitted on:  Wed 09 Feb 2011 07:00:03 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: Works For MeAssigned to: None
Originator Name: Larry DoolittleOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.4.0
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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(hh'-neye(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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 10 Feb 2011 07:57:23 PM UTCjweOpen/ClosedOpen=>Closed
    Thu 10 Feb 2011 12:42:23 AM UTCjweStatusNone=>Works For Me

    Back to the top


    Powered by Savane 3.1-cleanup1