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

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

[Octave-bug-tracker] [bug #46038] Crash when uicontrol's callback return


From: Rik
Subject: [Octave-bug-tracker] [bug #46038] Crash when uicontrol's callback returns an error
Date: Fri, 25 Sep 2015 18:33:16 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0

Follow-up Comment #5, bug #46038 (project octave):

Interestingly, I can no longer trigger this bug if I use jwe's experimental
re-write of the core to use exception handling for errors.  I posted about my
success on the maintainer's list and I think it very likely that he will
commit his patch to core shortly.

If you want to see if it works for you I've attached the patch to this report.
 You will need a working development build tree.  Then,


# In source tree
patch -p1 < exception-error-diffs-v3.txt


The exact sequence I used to produce the error before the patch was


run-octave -f
F = figure;
h = uicontrol(F,...
  'Style','Pushbutton',...
  'String','OK',...
  'Callback',"error('err')");

# Click on OK button
# Click on Canvas object (center of window)



(file #34979)
    _______________________________________________________

Additional Item Attachment:

File name: exception-error-diffs-v3.txt   Size:68 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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