close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#397 closed defect (fixed)

tol.exe crashes when a compound expression is passed by command line using -c

Reported by: jimarin Owned by: Víctor de Buen Remiro
Priority: normal Milestone:
Component: Kernel Version: head
Severity: normal Keywords:
Cc:

Description

tol.exe -c "Date a=y2000, Date b=y2001;"

crashes.

It should issue warning or error (or just do it!), but not crash.

Thanks !

jima

Change History (6)

comment:1 Changed 19 years ago by Víctor de Buen Remiro

Owner: changed from danirus to Víctor de Buen Remiro

comment:2 Changed 19 years ago by Víctor de Buen Remiro

Status: newassigned

We are working about this bug
Thanks to report it

comment:3 Changed 19 years ago by imendez

Hi, in adition, if you execute this code:

tol -v -c "Real n=1"

the system returns the error message:

[...]La memoria no se puede "read"

I suppose it's due to the blank between -c and "Real n=1", but shouldn't TOL
return an error message instead of crashing?

Moreover, the message returned when I delete the blank is:

Compilando linea de comandos :
Real n=1
Testing alive objects at TOL-dialog step: before:0; after:1747<W>
Warning: [1] There are 1747 undeleted objects at TOL-dialog step.
There is a referential integrity fail and TOL could be using more memory
than neccessary.
If you can to reproduce the error and isolate it in a simple TOL file,
please, send us a bug report to bugs with this information
in order to help us improving Tol</W>

¿Is it normal?

Regards.

comment:4 Changed 19 years ago by Víctor de Buen Remiro

Status: assignednew

Sorry, but main problem was fixed in CVS a few months ago.

Due to blank character tol.exe try to compile a file called "Date a=y2000, Date b=y2001;"

Now, TOL sends an error message like this

ERROR: [1] Tipo de fichero desconocido "Real n=1"</E>
No ha sido incluido el fichero Real n=1 [0 sec.]

Thanks to report it

comment:5 Changed 19 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: newclosed

I forgot to set status to FIXED

comment:6 Changed 18 years ago by Víctor de Buen Remiro

bug_file_loc: http://www.tol-project.org
Note: See TracTickets for help on using tickets.