1.4.9 crashes with misspelled input

Bugs

Modérateur : xcasadmin

lukamar
Messages : 331
Inscription : ven. juin 30, 2017 9:55 am
Localisation : Zagreb, Croatia

1.4.9 crashes with misspelled input

Message par lukamar » ven. sept. 15, 2017 11:45 pm

Hi,

I noticed that Xcas 1.4.9 (linux64) crashes on (misspelled) command:

Code : Tout sélectionner

T;=table(1=a,2=b)
The culprit is wrongly typed semicolon, which should have been a colon. But a similar typo in other commands, such as

Code : Tout sélectionner

T;=gcd(2,3)
does not cause a crash.

parisse
Messages : 5739
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: 1.4.9 crashes with misspelled input

Message par parisse » sam. sept. 16, 2017 6:05 am

Indeed, caused by regroup (automatically called by default inside Xcas), there is a break missing in the multiplication code in gen.cc. Fixed in source.

Répondre