Scilab Crashed or showing wrong output when running on Arm processor
Reported by Chin Luh Tan
BUG DESCRIPTION:
----------------
Scilab crash whenever Scilab 6.1 (scilab-cli) start to echo character '0' on the screen, this only happened in Arm Processor such as Raspberry Pi
More info in:
https://www.mail-archive.com/dev@lists.scilab.org/msg01291.html
ERROR LOG:
----------
--> [a, b] = getdebuginfo()
a =
"Total memory: 1892552"
"Used memory: 1137908"
"Free memory: 754644"
"Shared memory: 0"
"Buffers memory: 53452"
"Cached memory: 813852"
"Used -/+ buffers/cache: 270604"
"Free -/+ buffers/cache: 1621948"
"Total swap: 0"
"Used swap: 0"
"Free swap: 0"
"SCI: /home/ubuntu/scilab_master/scilab"
"SCIHOME: /home/ubuntu/.Scilab/scilab-branch-master"
"TMPDIR: /tmp/SCI_TMP_24419_wVkgKB"
b =
"Scilab Version: scilab-branch-master"
"Compilation date: Mar 7 2020"
"Compilation time: 02:45:44"
"Compileur version: 8.3.0"
"XML version: 2.9.4"
"Compiler Architecture: X64"
HOW TO REPRODUCE THE BUG:
-------------------------
--> a = 1;
--> b = 0;
--> a
a =
1.
--> b
b =
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_M_replace_aux
A fatal error has been detected by Scilab.
Please check your user-defined functions (or external module ones) should they appear in the stack trace.
Otherwise you can report a bug on http://bugzilla.scilab.org/ with:
* a sample code which reproduces the issue
* the result of [a, b] = getdebuginfo()
* the following information:
[ubuntu:24308] Signal: Aborted (6)
[ubuntu:24308] Signal code: (-6)
OTHER INFORMATION:
------------------
Edited by Vincent COUVERT