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

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

[Octave-bug-tracker] [bug #36067] faulty mex/oct file with bad pointer a


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #36067] faulty mex/oct file with bad pointer assignments can crash Octave
Date: Fri, 15 Jul 2016 23:41:32 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #18, bug #36067 (project octave):

One possibility to reduce the severity of problems with segfaults in mex/oct
files is to make the SIGSEGV handler throw and exception, and surround calls
to the mex file by try/catch.

If an exception is caught, then a useful error message could be printed saying
which mex file was to blame, and possibly giving the user the opportunity to
debug a little.  It should warn the user that the system has become unstable
and should be restarted soon.

The same could be applied to known bugs with other libraries, like the
graphics drivers.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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