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

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

[Octave-bug-tracker] [bug #37344] GUI Octave freezes when plotting is us


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #37344] GUI Octave freezes when plotting is used with OpenBLAS
Date: Sun, 28 Jul 2013 23:06:23 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36

Follow-up Comment #3, bug #37344 (project octave):

Actually, I was just confirming the behavior reported by the OP, that the GUI
freezes when calling a plot routine while OpenBLAS is the active BLAS
library.

Now that I did a little bit of stack tracing myself and some searching, maybe
it is just a documented feature that this simply won't work?

Quoting from:

https://github.com/xianyi/OpenBLAS/wiki/faq#wiki-multi-threaded

"If your application is already multi-threaded, it will conflict with OpenBLAS
multi-threading. Thus, you must set OpenBLAS to use single thread as
following..."

For the record, here's the stacktrace I see on the thread that is using up all
of the CPU:


#0  0x00007ffff4981f97 in sched_yield () at
../sysdeps/unix/syscall-template.S:81
#1  0x00007fffed6f5785 in exec_blas_async_wait () from /usr/lib/libblas.so.3
#2  0x00007fffed6f5865 in exec_blas () from /usr/lib/libblas.so.3
#3  0x00007fffed6f5e6e in blas_level1_thread () from /usr/lib/libblas.so.3
#4  0x00007fffed3d90cb in dscal_ () from /usr/lib/libblas.so.3
#5  0x00007ffff062cfb1 in dtrti2_ () from /usr/lib/liblapack.so.3
#6  0x00007ffff062e061 in dtrtri_ () from /usr/lib/liblapack.so.3
#7  0x00007ffff5d8f254 in Matrix::tinverse (address@hidden,
mattype=..., 
    address@hidden: 0, address@hidden: 6.9533490695695566e-310, 
    address@hidden, address@hidden) at
../../liboctave/array/dMatrix.cc:691
#8  0x00007ffff5d9584a in Matrix::inverse (address@hidden,
mattype=..., 
    address@hidden: 0, address@hidden: 6.9533490695695566e-310, 
    address@hidden, address@hidden) at
../../liboctave/array/dMatrix.cc:822
#9  0x00007ffff5d95a9a in Matrix::inverse (address@hidden)
    at ../../liboctave/array/dMatrix.cc:638
#10 0x00007ffff73479df in axes::properties::update_camera
(address@hidden)
    at ../../libinterp/corefcn/graphics.cc:4722


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37344>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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