|
| From: | Nikita |
| Subject: | [Octave-bug-tracker] [bug #55980] Octave, after load .mat file and using specific command, stop work and starts allocate all available memory |
| Date: | Fri, 22 Mar 2019 17:35:01 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0 |
Follow-up Comment #1, bug #55980 (project octave):
Correct example of broken octave output:
octave:7> a = 3
a = 3
octave:8>
Parsing command:
printf('__cantor_delimiter_line__\n');
__cantor_list__ = who();
__cantor_parse_values__ = true;
for __cantor_index__ = 1:length(__cantor_list__)
__cantor_varname__ = char(__cantor_list__{__cantor_index__});
printf([__cantor_varname__ '\n']);
if (__cantor_parse_values__)
try
eval(['__cantor_string__ = disp(' __cantor_varname__ ');']);
printf(__cantor_string__);
catch
printf(['<unprintable value>' '\n']);
end_try_catch;
endif;
printf('__cantor_delimiter_line__\n')
endfor;
clear __cantor_list__;
clear __cantor_index__;
clear __cantor_varname__;
clear __cantor_parse_values__;
clear __cantor_string__;
Parsing command oneline:
printf('__cantor_delimiter_line__\n');__cantor_list__ =
who();__cantor_parse_values__ = true;for __cantor_index__ =
1:length(__cantor_list__) __cantor_varname__ =
char(__cantor_list__{__cantor_index__}); printf([__cantor_varname__ '\n']);
if (__cantor_parse_values__) try eval(['__cantor_string__ = disp('
__cantor_varname__ ');']); printf(__cantor_string__); catch
printf(['<unprintable value>' '\n']); end_try_catch; endif;
printf('__cantor_delimiter_line__\n')endfor;clear __cantor_list__;clear
__cantor_index__;clear __cantor_varname__;clear __cantor_parse_values__;clear
__cantor_string__;
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55980>
_______________________________________________
Сообщение отправлено по Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |