Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2008-09-04
23:35 • Closed ticket [2093188fff]: coroutine+trace == crash plus 7 other changes artifact: bba45faa7d user: msofer
13:30 • New ticket [2093188fff]. artifact: 94f2e897ef user: dkf

coroutine+trace == crash

Closed / Fixed2093188fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-09-04 13:30:55
With HEAD...

% proc foo {} {set v 1; trace add variable v {write unset} bar; yield; set v 2; yield; set v 3}   
% proc bar args {puts $args}
% namespace path tcl::unsupported
% coroutine a foo
% a
v {} write
Assertion failed: ((bottomPtr == corPtr->eePtr->bottomPtr)), function TclExecuteByteCode, file /Users/dkf/Documents/software/tcl/unix/../generic/tclExecute.c, line 1955.
msoferplain2008-09-04 23:35:19
Logged In: YES 
user_id=148712
Originator: NO

Failing to restore the execEnv's bottomPtr on CACHE_STACK_INFO; fixed.
Log in (anonymous is fine) to add a comment.