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

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

[Octave-bug-tracker] [bug #47400] panic on Ctrl+c with multithreaded ATL


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #47400] panic on Ctrl+c with multithreaded ATLAS or OpenBLAS
Date: Tue, 12 Jul 2016 05:11:28 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Update of bug #47400 (project octave):

                  Status:               Need Info => Patch Submitted        
             Assigned to:                    None => lachlan                

    _______________________________________________________

Follow-up Comment #10:

With the attached patch, Rik's  tst_ctrlc  can successfully be interrupted
well over 90% of the time on my system.

It is certainly not a real solution to the problem, but I think the real
solution would required giving ATLAS and OpenBLAS new functionality to allow
pthread_kill.

I have no idea how this will work with other OSes or BLASes.

I'm not sure if ensure_exit and force_exit should be put in sighandlers.cc. 
That is the natural place, but I'd like the Kludge to be limited to as few
files as possible, and having them in toplev.cc also allows them to be
static.

Some of the things should probably be shielded by #if defined()s.

I'd really love feedback on this.  Thanks!

(file #37818)
    _______________________________________________________

Additional Item Attachment:

File name: bug_47400_blas_thread_crash.cset Size:2 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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