Menu

#273 Recursive class procedures corrupt stack

4.0*
closed-fixed
None
5
2015-12-08
2015-12-05
No

The following script corrupts the stack and "info frame" crashes:

package require Itcl

itcl::class C {

    public proc call {p} {$p}

    public proc crash {} {
        call null
        info frame 2
    }

    public proc null {} {}
}

C::call crash

Discussion

  • Don Porter

    Don Porter - 2015-12-08

    This is a botch in the "fix" for bug 272.

     
  • Don Porter

    Don Porter - 2015-12-08
    • status: open --> closed-fixed
    • assigned_to: Don Porter
     
  • Don Porter

    Don Porter - 2015-12-08

    fixed.

     

Log in to post a comment.