[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #46315] Assertion Failed - profiler crash on e
From: |
Lachlan Andrew |
Subject: |
[Octave-bug-tracker] [bug #46315] Assertion Failed - profiler crash on every 2nd time execution halts |
Date: |
Fri, 8 Jul 2016 16:04:43 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Update of bug #46315 (project octave):
Depends on: => bugs #39587
_______________________________________________________
Follow-up Comment #5:
The problem seems to be related to bug #39587. There used to be an
assert (active_fcn != call_tree);
in profile_data_accumulator::exit_function, but that was removed to avoid the
above bug. If the latter function is called when the profiler is active,
whatever triggered bug #39587 will trigger the current bug.
The simple work-around of replacing
if (is_active ())
add_current_time ();
in profile_data_accumulator::exit_function by
if (is_active () && active_fcn != call_tree)
add_current_time ();
prevents the assertion from being triggered, but for some reason the second
call to errtest_script has an extra call to exit_function(), which sets
active_fcn = 0. This causes a seg fault the third time the script is run.
Time for some sleep now...
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46315>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #46315] Assertion Failed - profiler crash on every 2nd time execution halts, Rik, 2016/07/01
- [Octave-bug-tracker] [bug #46315] Assertion Failed - profiler crash on every 2nd time execution halts, Lachlan Andrew, 2016/07/08
- [Octave-bug-tracker] [bug #46315] Assertion Failed - profiler crash on every 2nd time execution halts,
Lachlan Andrew <=
- [Octave-bug-tracker] [bug #46315] Assertion Failed - profiler crash on every 2nd time execution halts, Lachlan Andrew, 2016/07/09
- [Octave-bug-tracker] [bug #46315] Assertion Failed - profiler crash on every 2nd time execution halts, Lachlan Andrew, 2016/07/09
- [Octave-bug-tracker] [bug #46315] Assertion Failed - profiler crash on every 2nd time execution halts, John W. Eaton, 2016/07/15
- [Octave-bug-tracker] [bug #46315] Assertion Failed - profiler crash on every 2nd time execution halts, John W. Eaton, 2016/07/18
- [Octave-bug-tracker] [bug #46315] Assertion Failed - profiler crash on every 2nd time execution halts, Mike Miller, 2016/07/19
- [Octave-bug-tracker] [bug #46315] Assertion Failed - profiler crash on every 2nd time execution halts, Robert Jenssen, 2016/07/23