octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #59206] crash during matrix multiplication (Wi


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #59206] crash during matrix multiplication (Win only)
Date: Mon, 26 Oct 2020 08:11:48 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36 Edg/86.0.622.51

Update of bug #59206 (project octave):

                Severity:              3 - Normal => 4 - Important          
                Priority:              5 - Normal => 7 - High               
                  Status:               Need Info => Confirmed              

    _______________________________________________________

Follow-up Comment #6:

The crash is still happening for me with 6.0.92.
Same backtrace:

Thread 3 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 18420.0x2a14]
0x00000000029800ee in libopenblas!dcabs1_ ()
   from C:\PROGRA~1\GNUOCT~1\OCTAVE~1.92\mingw64\bin\libblas.dll
(gdb) bt
#0  0x00000000029800ee in libopenblas!dcabs1_ ()
   from C:\PROGRA~1\GNUOCT~1\OCTAVE~1.92\mingw64\bin\libblas.dll
#1  0x0000000001c961d5 in zgemm3m_ ()
   from C:\PROGRA~1\GNUOCT~1\OCTAVE~1.92\mingw64\bin\libblas.dll
#2  0x0000000001dec534 in openblas_get_parallel_ ()
   from C:\PROGRA~1\GNUOCT~1\OCTAVE~1.92\mingw64\bin\libblas.dll
#3  0x00007ffae8747034 in KERNEL32!BaseThreadInitThunk ()
   from C:\WINDOWS\System32\kernel32.dll
#4  0x00007ffaea29cec1 in ntdll!RtlUserThreadStart ()
   from C:\WINDOWS\SYSTEM32\ntdll.dll
#5  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)


Since this wasn't mentioned before. The crash happens at this line:

PD = inv(P)*D;


`P` is a 3x3 full double matrix, `D` is a 3x772902 full double matrix.

Raising priority since this hints on something being wrong with the LAPACK
functions in the OpenBLAS library we package for Windows.
Since this doesn't happen when I build for Windows on my machine, I guess the
issue is from differences on the build system (or maybe differences between
the build and host systems?).
IIUC, the intention of MXE Octave is to build executables that don't depend on
the build system. (Not sure if this is strictly true.)
This might hint at a problem in MXE Octave.

CC'ing jwe because the release candidates were built on his machine.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59206>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]