Skip to content
Tcl Source Code History Of Ticket 2487771
Login

History Of Ticket 2487771

Artifacts Associated With Ticket 2487771

  1. Ticket change [c505836510] (rid 111922) by dgp on 2009-01-05 13:23:00:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      Suspect cause is the 2412068 fix.
      
      
      ==== info-22.8 info frame, basic trace FAILED
      ==== Contents of test case:
      
          join [lrange [etrace] 0 2] \n
      
      ---- Result was:
      8 {type source line 728 file info.test cmd {info frame $level} proc ::etrace level 0}
      7 {type source line 765 file info.test cmd etrace proc ::tcltest::RunTest}
      6 {type proc line 11 cmd {uplevel 1 $script} proc ::tcltest::RunTest}
      ---- Result should have been (glob matching):
      * {type source line 728 file info.test cmd {info frame $level} proc ::etrace level 0}
      * {type source line 765 file info.test cmd etrace proc ::tcltest::RunTest}
      * {type source line * file tcltest* cmd {uplevel 1 $script} proc ::tcltest::RunTest}
      ==== info-22.8 FAILED
      
      
      
      ==== info-38.7 location information for arg substitution FAILED
      ==== Contents of test case:
      
          join [lrange [testevalex {return -level 0 [etrace]}] 0 3] \n
      
      ---- Result was:
      9 {type source line 728 file info.test cmd {info frame $level} proc ::etrace level 0}
      8 {type eval line 1 cmd etrace proc ::tcltest::RunTest}
      7 {type source line 1414 file info.test cmd {testevalex {return -level 0 [etrace]}} proc ::tcltest::RunTest}
      6 {type proc line 11 cmd {uplevel 1 $script} proc ::tcltest::RunTest}
      ---- Result should have been (glob matching):
      * {type source line 728 file info.test cmd {info frame \$level} proc ::etrace level 0}
      * {type eval line 1 cmd etrace proc ::tcltest::RunTest}
      * {type source line 1414 file info.test cmd {testevalex {return -level 0 \[etrace]}} proc ::tcltest::RunTest}
      * {type source line 2298 file tcltest.tcl cmd {uplevel 1 $script} proc ::tcltest::RunTest}
      ==== info-38.7 FAILED
      
      
    4. foundin initialized to: "obsolete: 8.6b1"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "24. Channel Commands"
    11. title initialized to: "new test failures"
    12. type initialized to: "Bug"
  2. Ticket change [487cab232e] (rid 99889) by dkf on 2009-01-05 20:27:12:

    1. icomment:
      Correct. That's exactly it. The deeper cause is that, w.r.t. TIP#280, Tcl_EvalObj and Tcl_EvalEx are *massively* different, and when I try to hack past it I get core dumps.
      
      I hate TIP#280.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [4de4c515bc] (rid 127134) by dgp on 2009-01-05 20:29:23:

    1. assignee changed to: "dgp"
  4. Ticket change [5079ada2ff] (rid 125977) by ferrieux on 2009-01-05 21:21:31:

    1. icomment:
      Then let's un-TIP it. Seriously.
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  5. Ticket change [6f27f9bb1c] (rid 100264) by hobbs on 2009-01-06 02:27:00:

    1. icomment:
      How about engineering past it instead of hacking?  TIP#280 is a set of features requested from countless people that really shouldn't be disregarded so quickly.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  6. Ticket change [04e9923f87] (rid 88953) by dgp on 2009-01-06 02:31:12:

    1. icomment:
      
      I've claimed it.
      
      "Engineering past it" is my plan.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [261b0d274f] (rid 88283) by dkf on 2009-01-06 04:18:41:

    1. icomment:
      I was just grumbling about a job that was harder than it should have been. But the dgp claimed it :)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  8. Ticket change [94c61cd1af] (rid 106052) by dgp on 2009-01-07 00:28:06:

    1. icomment:
      
      In a -singleproc 1 run, I think this failure
      is another symptom of the same issue:
      
      ==== oo-22.1 OO and info frame FAILED
      ==== Contents of test case:
      
          oo::define c self method frame {} {
              info frame 0
          }
          oo::define c {
              method frames {} {
                  info frame 0
              }
              method level {} {
                  info frame
              }
          }
          oo::objdefine i {
              method frames {} {
                  list [next] [info frame 0]
              }
              method level {} {
                  expr {[next] - [info frame]}
              }
          }
          list [i level] [i frames] [dict get [c frame] object]
      
      ---- Result was:
      1 {{type proc line 2 cmd {info frame 0} method frames class ::c level 0} {type proc line 2 cmd {info frame 0} method frames object ::i level 0}} ::c
      ---- Result should have been (glob matching):
      1 {{type source line * file * cmd {info frame 0} method frames class ::c level 0} {type source line * file * cmd {info frame 0} method frames object ::i level 0}} ::c
      
      
      Also many more info.test failures in that mode.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  9. Ticket change [14ef5623f7] (rid 124478) by dkf on 2009-01-07 06:35:03:

    1. icomment:
      I think the greatly increased number of failures is related to the fact that Tcl_EvalObj (and especially its NRE-aware version) is significantly different to Tcl_EvalEx. It's also possible that I didn't pass quite the right flags, especially the extended flags that are passed through setting ill-documented magic fields.
      
      The degree to which all the various Tcl*Eval* APIs have diverged is highly unhelpful, and I suspect that in some cases the divergence has been because "that's how things were implemented at the time" rather than for any actual good reason. But the whole area has now become bewildering to me, which I think indicates that the code in the area is in serious need of a good shake out so it stops impeding maintenance. (The TIP#280 support code is the biggest problem, since it adds a lot of internal API that is deeply non-linear and non-obvious. And entirely undocumented.) The changes that lead to this caused this simply by taking a different route into the basic evaluation engine for the guts of [source]...
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  10. Ticket change [606b51614d] (rid 115997) by dgp on 2009-01-07 11:48:19:

    1. icomment:
      
      Yes.  See 1669392.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  11. Ticket change [f4cf20a9d6] (rid 129988) by nijtmans on 2009-04-28 16:40:39:

    1. icomment:
      In more than 3 months there was no activity in this one. This worries
      me a somewhat, because I found a (closed source) package which breaks
      because of this. Therefore, I would like to suggest to raise the
      prio on this. To me it would be blocking for Tcl 8.7.
      
      Explanation: What this package needs to do is find out whether the
      currently running command is run from some known source file. It
      does this by examining the stack, searching for a key-value
      pair {type source}. If it is found, it examines the "file" key
      to see if it's value matches the known source file. However,
      with the current trunk, this no longer works.
      
      (I wish I could be more helpful than that....)
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  12. Ticket change [f073986b53] (rid 109197) by dkf on 2009-04-28 17:32:54:

    1. icomment:
      Which closed source package?
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  13. Ticket change [972958c484] (rid 106455) by dkf on 2009-04-28 17:32:55:

    1. priority changed to: "8"
  14. Ticket change [456026752e] (rid 99342) by dgp on 2009-04-28 20:45:07:

    1. icomment:
      
      dkf beat me to the prio bump.
      
      Regardless of the recorded prio, this
      bug is in my mind one of the blockers
      for 8.6b2.
      
      Yeah, 3 months.  don't remind me.
      
      someday I'll work on Tcl again.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  15. Ticket change [3ab4ced74a] (rid 112604) by dgp on 2009-12-10 01:31:00:

    1. icomment:
      
      I think aku's improvements to TIP 280 in the last
      several months have fixed this one.  Can nijtmans
      please confirm that the broken closed source
      package is again happy with the Tcl HEAD?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  16. Ticket change [635e4bdf6f] (rid 92565) by dgp on 2009-12-10 01:31:01:

    1. assignee changed to: "nijtmans"
    2. closedate changed to: "2009-12-09T18:31:01"
    3. closer changed to: "dgp"
    4. resolution changed to: "Fixed"
    5. status changed to: "Pending"
  17. Ticket change [96b073d6fe] (rid 106368) by nijtmans on 2009-12-11 17:40:47:

    1. icomment:
      Hurray, yes it's fixed now.
      
      Thanks, Adreas!
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  18. Ticket change [5aacf2aaba] (rid 118183) by nijtmans on 2009-12-11 17:40:48:

    1. closedate changed to: "2009-12-11T10:40:48"
    2. closer changed to: "nijtmans"
    3. icomment:
      
      
      allow_comments - 1
      
      
      
    4. login: "nijtmans"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "nijtmans"