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 18 years ago

Closed 17 years ago

#496 closed defect (fixed)

Tol shutdown when editing inputs from inputs tree

Reported by: jjcarriere Owned by: Víctor de Buen Remiro
Priority: highest Milestone:
Component: Kernel Version: 1.1.5
Severity: blocker Keywords: TOL
Cc: imendez, Víctor de Buen Remiro, jgarcia, Chakib Faghloumi

Description

It happens often (every day) that when I right-click on an input and select "edit input", an error causes TolBase to shutdown.

Change History (7)

comment:1 Changed 18 years ago by Jorge

Status: newassigned

the bug has being confirmed and we are working on it

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

Component: ToltclENGINE_Evaluator
Keywords: TOL added; Tol-Base removed
product: Tol-BaseTOL

I've got to reproduce this error using just tol instead of tolbase

Set _infoColumns1183716610 = SqlInfoColumns("VozInputSetInput", 2);
Set infoForeignKeys1183716611 = SqlInfoForeign("VozInputSetInput", 2);
Set _TclGetFromSet =
infoForeignKeys1183716611
Text nameTabFie_ = TxtListTcl(SqlGetTableParent("VozInput", "code", 2));

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

Cc: Víctor de Buen Remiro added
Owner: changed from Jorge to Víctor de Buen Remiro
Status: assignednew

Bug has been fixed in CVS HEAD.
Problem was a invalid cast due to a mistake between BGraContens<ANY> and BGracontensBase<ANY>
To solve it has been needed to make a few changes but in a lot of files, so code of version 1.1.5 it's no easy to merge with these changes, but I'm doing it.

Thanks to report it

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

Resolution: fixed
Status: newclosed

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

Resolution: fixed
Status: closedreopened

Bug is already open. Castings mistake was really an error and has been fixed but some other problem is already active, or there are more non controlled castings.

comment:6 Changed 18 years ago by Jorge

related to this bug, it seems that there is a bug in the symbol table, if you repeat the following sequence in the tol.exe console, you will reach a SEGFAULT with a previous Warning messages related to removing a variable from the table. All this must be done in debug:

Real ActTOLTK = 1;
$DELETE
ActTOLTK
Real ActTOLTK = 1;
$DELETE
ActTOLTK
....

(repeat this a few times)

this bug can also be automated from toltcl

for {set i } {$i < 100} {incr i} {

tol::console eval {Real ActTOLTK = 1;}
tol::console stack release ActTOLTK;

}

comment:7 Changed 17 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.