#176 closed defect (fixed)
Tol Base se cae cuando se intenta dibujar intersección vacía
Reported by: | ptejedor | Owned by: | Jorge |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Various | Version: | head |
Severity: | normal | Keywords: | |
Cc: | jagutierrez |
Description
La siguiente secuencia de instrucciones hacen que TOL-Base se caiga:
Definir un TimeSet vacío, en concreto:
TimeSet Tsabsurdo = WD(1) * WD(2);
El TimeSet se crea sin problemas. Si a continuación se intenta ver el
conjunto temporal al que afecta, TOL-Base se cae, generando una excepción,
aparentemente de intento de acceso a la posición 0x0 de memoria.
Change History (7)
comment:1 Changed 21 years ago by
Component: | Graphics → TOL-tcl |
---|---|
Owner: | changed from rcsoto to Jorge |
comment:2 Changed 21 years ago by
Status: | new → assigned |
---|
# executed on Linux and tkcon
package require Toltcl
::tol::initkerne
::tol::initlibrary
::tol::console eval "TimeSet emp = WD(1) * WD(2);"
::tol::timeset create tms emp
tms start 2000 # took about 3 seconds
# the result was {-1 -1 -1 -1 -1 -1}
tms next # was fast
# of course the result was {-1 -1 -1 -1 -1 -1}
So, I think the problem must be checked on windows
comment:4 Changed 20 years ago by
Component: | TOL-tcl → Unclassified |
---|
It's is unclassified because it's related to stack allocation on Windows.
comment:5 Changed 20 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Size of stack allocation is increased. This is not a final solution as we can reach a
deepest recursion level wich can break this size down.
comment:6 Changed 20 years ago by
Cc: | jagutierrez added |
---|
El error no esta en la visualización del conjunto temporal, este se enecuentra en la
operación:
::tol::timeset create arg? arg?
Esta instrución provoca una caida de la aplicación cuando el TimeSet esun
conjunto vacio.
Ejemplo:
Funciona correctamente, el conjunto temporal no es vacio
::tol::console eval "TimeSet myC = C;";
set tms1 tms1
::tol::timeset create $tms1 myC
ERROR, el conjunto temporal es vacio
::tol::console eval "TimeSet Tsabsurdo = WD(1) * WD(2);";
set tms2 tms2
::tol::timeset create $tms Tsabsurdo
Gracias