|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #54920] sigabrt (signal-6) crash with AutoScale in xscale = log mode |
Date: | Tue, 30 Oct 2018 23:29:22 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #9, bug #54920 (project octave): Rik: Yes, I think you are correct. It doesn't happen for fltk because the toolbar action for autoscale is executed as a callback to the Octave interpreter. You can see that this approach also works for the qt toolkit by using the autoscale item in the tools menu instead of the autoscale button. I can fix this by wrapping the actions in try/catch blocks. There are probably other places where these problems could happen and we could attempt handle them all individually. But this seems like a difficult thing to do since there are probably many actions that call functions from the interpreter could potentially result in an error. Also, should the be implemented using an Octave ui object as they are with the fltk plotting window? _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?54920> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |