[Top][All Lists]

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

[Octave-bug-tracker] [bug #50198] Calling "error" from the GUI thread le

From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #50198] Calling "error" from the GUI thread lead to segfaults
Date: Thu, 1 Feb 2018 18:03:09 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Update of bug #50198 (project octave):

                  Status:             In Progress => Patch Submitted        


Follow-up Comment #8:

I attached an updated version of the patch where I added a "post_exception"
method to octave_link class, so that protecting a piece of code in the gui is
done with:

  // function that could call "error" or throw an exception
catch (...)
  octave_link::post_exception (std::current_exception ());

I made the exception_ptr argument const since the exception should be rethrown
as is.

(file #43154)

Additional Item Attachment:

File name: rethrow4.patch                 Size:2 KB


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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