bugGNU Octave - Bugs: bug #48400, multiplying simple column vector...


bug #48400: multiplying simple column vector times row vector crashes Octave

Submitted by:  None
Submitted on:  Mon 04 Jul 2016 08:16:10 PM UTC  
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Invalid Assigned to:  None
Originator Name:  David Wheelerr Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  4.0.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.


Tue 05 Jul 2016 04:33:05 AM UTC, comment #2: 

This part of the stack trace confirms that the crash is occuring in OpenBLAS:

Thread 6:: QThread
0   libopenblas_haswellp-r0.2.18.dylib        0x00000001033c382f .L2_37 + 15
1   libopenblas_haswellp-r0.2.18.dylib        0x0000000102f7c03e dgemm_ + 520
2   liboctave.3.dylib                     0x0000000101b6a881 xgemm(Matrix const&, Matrix const&, blas_trans_type, blas_trans_type) + 1681
3   liboctave.3.dylib                     0x0000000101b62343 operator*(Matrix const&, Matrix const&) + 25

Please try another BLAS implementation (I don't know how to do that for macOS packaging systems) or ask for help on getting this to work on your system, either from the package maintainer (homebrew, macports, etc) or on the Octave help mailing list (http://www.octave.org/support).

Mike Miller <mtmiller>
Project Administrator
Tue 05 Jul 2016 12:36:57 AM UTC, comment #1: 

Thank you for contributing a bug report. This is likely a bug in the BLAS or OpenBLAS library that Octave is linked against, and not Octave itself. If you can get a stack trace of the crash we can verify that Octave is not doing anything wrong.

Mike Miller <mtmiller>
Project Administrator
Mon 04 Jul 2016 08:16:10 PM UTC, original submission:  

>> s = [1; 2; 3]

s =


>>  t = [4, 5, 6]

t =

   4   5   6

>> t * s

ans =  32

>> s * t

This last multiplications causes octave-gut to quit unexpectedly (crash).



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

Attach Files:

Attached Files
file #37711:  octave-gui_2016-07-04-202612_Davids-Retna-MacBook-Pro.crash added by None (63KiB - application/octet-stream - attached is the crash report)


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only project members can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-07-05 mtmiller StatusNeed Info => Invalid
        Open/ClosedOpen => Closed
    2016-07-05 None Attached File- => Added octave-gui_2016-07-04-202612_Davids-Retna-MacBook-Pro.crash, #37711
    2016-07-05 mtmiller StatusNone => Need Info

    Back to the top

    Powered by Savane 3.5