|
2013-08-27
| ||
| 18:10 | • Ticket [3610632fff] NRE-enable cross-interp aliases status still Open with 3... artifact: 1302b32849 user: dgp | |
|
2013-08-21
| ||
| 19:08 | • Ticket [3610632fff]: 8 changes artifact: ceff661974 user: dgp | |
|
2013-04-17
| ||
| 00:27 | • Ticket [3610632fff]: 4 changes artifact: 77568d73ce user: dgp | |
|
2013-04-11
| ||
| 22:51 | • New ticket [3610632fff]. artifact: b225c09e26 user: dgp | |
NRE-enable cross-interp aliases
Open3610632fffffffffffffffffffffffffffffffffCreated 14 years agoUpdated 13 years ago
Descriptionplain2013-04-11 22:51:36
$ cat crash.tcl
interp create slave
interp alias slave yeeld {} yield foo
interp alias {} Yield slave yeeld
puts [coroutine Z Yield]
puts [Z bar]
$ make shell SCRIPT=crash.tcl
...
make: *** [shell] Segmentation fault
Would be nice to have this Just Work, but
short of that there's gotta be a better
Don't Do That signal than crashing.
dgpplain2013-04-17 00:27:45
With debugging turned on, the NRE_ASSERT() at line 8502 or so in tclBasic.c detects trouble and panic before we get to corruption and crashing. If we cannot make this work, then making that assertion raise an error in normal operations seems like an improvement.
dgpplain2013-08-21 19:08:42
The crash is due to Bug [8ff0cb9fe1]. Once that is fixed, this becomes an RFE to "make [yield]/NRE work across multiple interps".
dgp Ticket [3610632fff]: 3 changes
[History diff]2013-08-27 18:10:30
Log in (anonymous is fine) to add a comment.