|
2011-01-19
| ||
| 15:14 | • Closed ticket [3138178fff]: Yet another crash in traces plus 7 other changes artifact: 0701be827a user: ferrieux | |
|
2011-01-18
| ||
| 20:36 | • Ticket [3138178fff]: 4 changes artifact: a74c3690d0 user: msofer | |
|
2010-12-16
| ||
| 04:28 | • Ticket [3138178fff]: 4 changes artifact: 9ab780f20f user: ferrieux | |
| 04:27 | • Ticket [3138178fff]: 4 changes artifact: 43ad575519 user: ferrieux | |
| 04:27 | • Add attachment decache.patch to ticket [3138178fff] artifact: 40af3d4333 user: ferrieux | |
|
2010-12-15
| ||
| 21:24 | • New ticket [3138178fff] Yet another crash in traces. artifact: 881d6fd05b user: ferrieux | |
Yet another crash in traces
Closed / Fixed3138178fffffffffffffffffffffffffffffffffCreated 16 years agoUpdated 16 years ago
Descriptionplain2010-12-15 21:24:10
Reported by Harald Oehlmann on clt thread http://groups.google.com/group/comp.lang.tcl/tree/browse_frm/thread/3408836f98a4bc0a/95b4cc1788636956?rnum=1&_done=%2Fgroup%2Fcomp.lang.tcl%2Fbrowse_frm%2Fthread%2F3408836f98a4bc0a%3F#doc_fe934cdf9091c071
Applying the traceback trick (write trace on ::errorInfo) from http://wiki.tcl.tk/2626 , we get a segfault in 8.5.x for:
set ::errorLevel -1
set ::errorStack {}
trace add variable ::errorInfo write {
set __n [ info level ]
if {![regexp {\n invoked from within\n} $::errorInfo]} {
set ::errorLevel -1;
set ::errorStack [list];
}
if { ( $__n > 0 ) && ( $__n != $::errorLevel ) } {
set ::errorLevel $__n
set __l [info level 0]
lappend ::errorStack $__l
}
list }
namespace eval ns {
set Const(dCommands) [dict create \
01 [dict create In {}] \
]
}
proc ns::nsConfigGet {} {
variable Const
dict for {Command dParams} $Const(dCommands) {
foreach IndexCur {In} {
set CountCur [expr {[dict get $dParams In]/3}]
}
}
}
ns::nsConfigGet
gdb backtrace shows OBJ_AT_TOS garbled when trying to ReturnStk.
Miguel immediately identifies the data caching issue solved 2010-09-22 on the 8.6 branch.
ferrieuxplain2010-12-16 04:27:28
File Added - 396239: decache.patch
ferrieuxplain2010-12-16 04:28:23
Attaching the backported fix. Makes stack-3.1 fail (because stack consumption in TEBC has fattened a bit)
msoferplain2011-01-18 20:36:32
Alex: is this fixed? Waiting for some action from me? Did not follow ...
ferrieuxplain2011-01-19 15:14:53
Hey, looks like this benefits from your 2011-01-13 commit re stack computations: the fix still fixes it, and now stack-3.1 no longer fails (and the rest of the test suite is okay too). Congrats ! Backport committed, closing.
Log in (anonymous is fine) to add a comment.
Attachments:
- decache.patch [download] added by ferrieux on 2010-12-16 04:27:27. [details]