[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #46315] Assertion Failed - profiler crash on e
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #46315] Assertion Failed - profiler crash on every 2nd time execution halts |
Date: |
Tue, 19 Jul 2016 19:11:51 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0 |
Follow-up Comment #10, bug #46315 (project octave):
With this change, I get a new test failure in profile.m:
>>>>> processing profile.m
***** test
on_struct.ProfilerStatus = "on";
off_struct.ProfilerStatus = "off";
profile ("on");
result = logm (rand (200) + 10 * eye (200));
assert (profile ("status"), on_struct);
profile ("off");
assert (profile ("status"), off_struct);
profile ("resume");
result = logm (rand (200) + 10 * eye (200));
profile ("off");
assert (profile ("status"), off_struct);
info = profile ("info");
assert (isstruct (info));
assert (size (info), [1, 1]);
assert (fieldnames (info), {"FunctionTable"; "Hierarchical"});
ftbl = info.FunctionTable;
assert (fieldnames (ftbl), {"FunctionName"; "TotalTime"; "NumCalls";
"IsRecursive"; "Parents"; "Children"});
hier = info.Hierarchical;
assert (fieldnames (hier), {"Index"; "SelfTime"; "TotalTime"; "NumCalls";
"Children"});
profile ("clear");
info = profile ("info");
assert (isstruct (info));
assert (size (info), [1, 1]);
assert (fieldnames (info), {"FunctionTable"; "Hierarchical"});
ftbl = info.FunctionTable;
assert (size (ftbl), [0, 1]);
assert (fieldnames (ftbl), {"FunctionName"; "TotalTime"; "NumCalls";
"IsRecursive"; "Parents"; "Children"});
hier = info.Hierarchical;
assert (size (hier), [0, 1]);
assert (fieldnames (hier), {"Index"; "SelfTime"; "NumCalls"; "Children"});
!!!!! test failed
ASSERT errors for: assert (fieldnames (hier),{"Index"; "SelfTime";
"NumCalls"; "Children"})
Location | Observed | Expected | Reason
. O(5x1) E(4x1) Dimensions don't match
The info.Hierarchical struct now has an extra field, TotalTime.
_______________________________________________________
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, 2016/07/08
- [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 <=
- [Octave-bug-tracker] [bug #46315] Assertion Failed - profiler crash on every 2nd time execution halts, Robert Jenssen, 2016/07/23