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

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

[Octave-bug-tracker] [bug #46315] Assertion Failed - profiler crash on e


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #46315] Assertion Failed - profiler crash on every 2nd time execution halts
Date: Fri, 15 Jul 2016 22:17:20 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #8, bug #46315 (project octave):

I think it should be possible to turn the profiler on or off anywhere.  What
does Matlab allow?  We should probably follow that.

How about the attached patch?  It attempts to clean up the initialization and
use of the accumulator object so that call_tree is always initialized and and
active_fcn isn't accessed unless it is valid.  I'm not sure this is quite
right yet, but it seems to avoid crashes for the test cases I tried.


(file #37904)
    _______________________________________________________

Additional Item Attachment:

File name: diffs.txt                      Size:5 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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