Menu

#1857 corruption in command delete traces

obsolete: 8.4a5
closed-duplicate
69. Other (102)
6
2002-08-07
2002-04-23
No

Yuck. With a recent build of Tcl (not quite the HEAD)
I found this:
% proc bar {ctx from to op} {
puts [incr ::i]:[info level 0]
rename $from {}
}
% proc foo args {}
% trace add command foo delete "bar 1"
% trace add command foo delete "bar 2"
% trace add command foo delete "bar 3"
% rename foo {}
1:bar 3 foo {} delete
2:bar 2 foo {} delete
3:bar 1 elete {} delete
Looks like there's some memory corruption in there!

Discussion

  • miguel sofer

    miguel sofer - 2002-04-23

    Logged In: YES
    user_id=148712

    Could this be related to Bug #484200?

     
  • Donal K. Fellows

    Logged In: YES
    user_id=79902

    Beats me! If I knew exactly what was wrong, I'd fix it
    myself... :^)

     
  • miguel sofer

    miguel sofer - 2002-08-07
    • status: open --> closed
     
  • miguel sofer

    miguel sofer - 2002-08-07

    Logged In: YES
    user_id=148712

    The issue seems to be duplicated in Bug #589863, which has
    more info.

     
  • miguel sofer

    miguel sofer - 2002-08-07
    • status: closed --> closed-duplicate