bugGNU Octave - Bugs: bug #37543, x=A\b produces "bus...

 
 

bug #37543: x=A\b produces "bus error" and crash

Submitted by:  None
Submitted on:  Thu 11 Oct 2012 06:38:17 AM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: Works For MeAssigned to: None
Originator Name: Mahesh SivasambuOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.2
Operating System: Mac OS

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 11 Oct 2012 12:19:41 PM UTC, comment #2:

The suggestion that linking to the Apple-supplied framework Accelerate is broken seems to be right because the problem vanished if framework Accelerate was substituted by GotoBLAS (keeping all else the same). Thanks very much for this suggestion.

For speed though, it seems better to link to framework Accelerate. The suggestion to force m32 did not work ... configure encountered some troubles and stopped.

Thanks very much again.

Mahesh Sivasambu <smahesh>
Thu 11 Oct 2012 08:48:17 AM UTC, comment #1:

your example works for me in both Octave 3.6.x
and 3.7.x on MacOSX 10.6.8.

This does not look like an Octave bug.

I suspect the problem is with your local installation, most likely incorrect blas/lapack linking.

You might want to try building a 32 bit binary with something like

If the above does not work, please move this discussion to the help list <help@octave.org> and post more info about how you built Octave.

Carlo de Falco <cdf>
Project Member
Thu 11 Oct 2012 06:38:17 AM UTC, original submission:

The following matrix operation causes octave to crash:

Axbx.mat is also attached with this bug report. This problem does not arise if Ax were replaced by some other matrix, i.e., Ax\bx works just fine for most matrices Ax.

octave run within gdb produces the following output:

I am running octave-3.6.2 compiled from source. The configure command was:

and uname -a produces
Darwin zemme2.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 23:08:29 PST 2009; root:xnu-1486.2.11~3/RELEASE_I386 i386

I would greatly appreciate any help with this problem.

Mahesh

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #26736:  Axbx.mat added by None (5KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by smahesh (Posted a comment)
  • -unavailable- added by cdf (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 11 Oct 2012 08:48:17 AM UTCcdfStatusNone=>Works For Me
      Open/ClosedOpen=>Closed
      Summaryx=A\\b produces "bus error" and crash=>x=A\b produces "bus error" and crash
    Thu 11 Oct 2012 06:38:17 AM UTCNoneAttached File-=>Added Axbx.mat, #26736

    Back to the top


    Powered by Savane 3.1-cleanup1