octave-maintainers
[Top][All Lists]
Advanced

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

Re: Random crashes after f6763ab98609


From: John W. Eaton
Subject: Re: Random crashes after f6763ab98609
Date: Sun, 6 Feb 2011 15:09:33 -0500

On  6-Feb-2011, logari81 wrote:

| When does an interrupt occur and how? It seems that there is something I
| missed here and maybe it has to do with the crash reported by Ben.

Suppose a user interrupts Octave with Control-C while the 
axes::properties::update_axes_layout function is executing after
 
  set_updating_axes_layout ("on");

has been called.  There are any number of functions that could be
called that contain a check of the interrupt state and will jump to
the top-level.  Without protecting your temporary setting with
unwind_protect, your temporary setting of updating_aces_layout will
not be reset to its previous value, so the next call to
update_axes_layout will exit early.

jwe



reply via email to

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