Overview
| Artifact ID: | 881d6fd05b753c2ff83740fc0cadef74a6fbd1d5 |
|---|---|
| Ticket: | 3138178fffffffffffffffffffffffffffffffff
Yet another crash in traces |
| User & Date: | ferrieux on 2010-12-15 21:24:10 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
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. - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "9 Immediate"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "ferrieux"
- subsystem changed to: "46. Traces"
- title changed to: "Yet another crash in traces"
- type changed to: "Bug"