[Scilab-users] scilab crash after bad line descriptor in plot

classic Classic list List threaded Threaded
2 messages Options
Philippe Roux Philippe Roux
Reply | Threaded
Open this post in threaded view
|

[Scilab-users] scilab crash after bad line descriptor in plot

Hi,

scilab freezes when I execute the plot command :

plot(x,y,'---k')

with the obviously wrong  third argument(line descriptor). After killing
scilab process I get this message in the console :



scilab-bin: malloc.c:4023: _int_malloc: Assertion `(unsigned long)
(size) >= (unsigned long) (nb)' failed.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f205e4debd1, pid=30870, tid=0x00007f200f1f5700
#
# JRE version: OpenJDK Runtime Environment (8.0_191-b12) (build
1.8.0_191-8u191-b12-2ubuntu0.18.04.1-b12)
# Java VM: OpenJDK 64-Bit Server VM (25.191-b12 mixed mode linux-amd64
compressed oops)
# Problematic frame:
# V  [libjvm.so+0x693bd1]
#
# Failed to write core dump. Core dumps have been disabled. To enable
core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/roux/Documents/ENSSAT/cours/signal/interro/DS/hs_err_pid30870.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#


It looks bad that a simple typo error crash scilab like this! Should I
make a bug report ?This happened with scilab 6.0.1  and ubuntu 18.04 :

Version de Scilab : 6.0.1.1518683525
Système d'exploitation : Linux 4.15.0-45-generic
Version Java : 1.8.0_191
Informations sur l'environnement d'exécution Java : OpenJDK Runtime
Environment (build 1.8.0_191-8u191-b12-2ubuntu0.18.04.1-b12)
Informations sur la machine virtuelle Java : OpenJDK 64-Bit Server VM
(build 25.191-b12, mixed mode)
Spécifications du fabricant : Oracle Corporation

sincerely yours,

Philippe

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

Re: scilab crash after bad line descriptor in plot

Hello Philippe,

Le 23/02/2019 à 12:55, philippe a écrit :
Hi,

scilab freezes when I execute the plot command :

plot(x,y,'---k')

with the obviously wrong  third argument(line descriptor). After killing
scilab process I get this message in the console :

.../...
It looks bad that a simple typo error crash scilab like this! 

Definitely.

Should I make a bug report ?This happened with scilab 6.0.1  and ubuntu 18.04 :

On Windows7 as well.

The analysis shows that the crash occurs in getLineSpec(), due to a strsubst() bug:
strsubst("---k","--","")  // crash

This is the bug 14501, reported 34 months ago.

Regards
Samuel



_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users