[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #46315] Assertion Failed - profiler crash on e
From: |
Nick Jankowski |
Subject: |
[Octave-bug-tracker] [bug #46315] Assertion Failed - profiler crash on every 2nd time execution halts |
Date: |
Wed, 28 Oct 2015 16:07:19 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0 |
URL:
<http://savannah.gnu.org/bugs/?46315>
Summary: Assertion Failed - profiler crash on every 2nd time
execution halts
Project: GNU Octave
Submitted by: nrjank
Submitted on: Wed 28 Oct 2015 04:07:17 PM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Crash
Status: None
Assigned to: None
Originator Name: Nicholas Jankowski
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.0.0
Operating System: Microsoft Windows
_______________________________________________________
Details:
running the following (and attached) script causes Octave to reliably crash on
the second execution. (I made the function inline for cut/paste brevity, but
the behavior is the same if the function is saved into its own file.
profile off;
profile on;
function retval = func_with_syntax_error(inputstring)
retval = [inputstring,input_string];
endfunction
tval = 'this is a test';
retval = func_with_syntax_error(tval);
display(retval);
profile off;
the first execution generates an proper error about input_string being
undefined.
octave:3> errtest_script
error: 'input_string' undefined near line 5 column 24
error: called from
func_with_syntax_error at line 5 column 9
errtest_script at line 10 column 8
the second execution produces the same error followed by an Assertion Failed!
crash, as below (extra spaces deliberate)
octave:3> errtest_script
error: 'input_string' undefined near line 5 column 24
error: called from
func_with_syntax_error at line 5 column 9
errtest_script at line 10 column 8
A s s e r t i o n f a i l e d !
P r o g r a m : c : \ O c t a v e \ o c t a v e - 4 . 0 . 0 \ b i n \ o c t
a v e - c l i . e x e
F i l e : / s c r a t c h / j w e / s c r / m x e - o c t a v e / t m p - s
t a b l e - o c t a v e / o c t a v e - 4 . 0 . 0 / l i b i n t e r p / c o r
e f c n / p r o f i l e r . c c , L i n e 3 9 1
E x p r e s s i o n : c a l l _ t r e e & & a c t i v e _ f c n ! =
c a l l _ t r e e
This application has requested the Runtime to terminate it in an unusual way.
Please contact the applicaiton's support team for more information.
panic: Aborted -- stopping myself...
attempting to save variables to 'octave-workspace'...
save to 'octave-workspace' complete.
The error can be avoided by commenting out the 'profile off' from line 1.
this forces you to issue a manual 'profile off' before it will run a second
time, and doing so fails to produce the same crash. running it several times
this way, and then uncommenting the 'profile off' will crash on the next
execution.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 28 Oct 2015 04:07:17 PM GMT Name: errtest_script.m Size: 242B
By: nrjank
<http://savannah.gnu.org/bugs/download.php?file_id=35328>
_______________________________________________________
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,
Nick Jankowski <=