Skip to content
Tcl Source Code History Of Ticket 453805ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 453805ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 453805ffffffffffffffffffffffffffffffffff

  1. Ticket change [e1f7fe93aa] (rid 87539) by msofer on 2001-08-21 16:12:22:

    1. assignee initialized to: "melissachawla"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Tcl Version: 8.4a3 (today's HEAD)
      OS: linux 2.2.19 (RH 6.2)
      Compiler: egcs-2.91.66 (gcc)
      Comp flags: default + "-march=pentiumpro"
      
      Description: segfault in trace.test
      
        ./configure --disable-shared
        make
        make test
      
      All is OK till here,  _but_:
      
      [mig@mini unix]$ ./tcltest ../tests/trace.test  
      Segmentation fault (core dumped)
      [mig@mini unix]$ ./tcltest ../tests/trace.test -verbose
      trace.test:     Total   185     Passed  185     Skipped
      0       Failed  0
      
      Categorizing as "tcltest" bug due to the different
      behaviour when verbose switch is on; may well be a bug
      somewhere else though ...
      
    4. foundin initialized to: "None"
    5. priority initialized to: "7 High"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "msofer"
    9. subsystem initialized to: "34. tcltest Package"
    10. title initialized to: "Segfault in trace.test"
    11. type initialized to: "Bug"
  2. Ticket change [5669c14d46] (rid 94312) by hobbs on 2001-08-21 23:26:55:

    1. assignee changed to: "msofer"
    2. icomment:
      Logged In: YES 
      user_id=72656
      
      This is likely due to a bug in the actual trace changes in 
      8.4, which should be hunted down.  Assigning back to Miguel 
      since he can reproduce this.  Might need to go to Vince.
      
      
    3. login: "hobbs"
    4. mimetype: "text/plain"
    5. subsystem changed to: "07. Variables"
    6. username: "hobbs"
  3. Ticket change [a0253a6d49] (rid 96752) by dgp on 2001-08-22 00:23:47:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      This is very likely related to bug 219393.
      
      I don't see segfaults, but:
      trace.test:     Total   185     Passed  185     Skipped
      0      
      Failed  0
      clover:unix: ./tcltest ../tests/trace.test -verbose
      
      ==== trace-9.1 be sure variable is unset before trace is
      called FAILED
      ==== Contents of test case:
      
          catch {unset x}
          set x 33
          set info {}
          trace add variable x unset {traceCheck {uplevel set x}}
          unset x
          set info
      
      ---- Result was:
      1 {can't read "x": no such variaale}
      ---- Result should have been (exact matching):
      1 {can't read "x": no such variable}
      ==== trace-9.1 FAILED
      
      trace.test:     Total   185     Passed  184     Skipped
      0       Failed  1
      
      Note the memory corruption mangling the error message.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [a7af3be3f5] (rid 98852) by msofer on 2001-08-22 01:01:59:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Doh ... today's head would be 8.4a4, not 8.4a3!
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  5. Ticket change [65ed5e6dfc] (rid 102625) by msofer on 2001-08-23 19:44:49:

    1. assignee changed to: "vincentdarley"
    2. icomment:
      Logged In: YES 
      user_id=148712
      
      Vince: any ideas?
      
      
    3. login: "msofer"
    4. mimetype: "text/plain"
    5. username: "msofer"
  6. Ticket change [b68a75295e] (rid 125438) by dgp on 2001-08-23 20:26:05:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      Does application of Patch 402501 have any
      effect on solving this bug?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [3bec0194c6] (rid 112838) by vincentdarley on 2001-08-23 22:15:33:

    1. icomment:
      Logged In: YES 
      user_id=32170
      
      I have to say I have no obvious ideas of how the 8.4 
      changes would have affected this at all.  I've never seen 
      the problem, but can try to reproduce it.
      
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  8. Ticket change [ffb68adc6f] (rid 108802) by dgp on 2001-08-23 23:00:42:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      Patch 402501 is now updated.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  9. Ticket change [2adb49ecfb] (rid 118644) by vincentdarley on 2001-09-07 03:55:03:

    1. assignee changed to: "msofer"
    2. icomment:
      Logged In: YES 
      user_id=32170
      
      With both debug and release builds and with and without '-
      verbose' I can't reproduce this on my Win2000 setup, so I'm 
      afraid I'm not going to be able to help.  I really can't 
      think what can have changed here.
      
      
      
      
    3. login: "vincentdarley"
    4. mimetype: "text/plain"
    5. username: "vincentdarley"
  10. Ticket change [520f6de493] (rid 126245) by msofer on 2001-09-07 21:16:38:

    1. assignee changed to: "dgp"
    2. icomment:
      Logged In: YES 
      user_id=148712
      
      It's a miracle, the bug seems to have fixed itself! I cannot
      reproduce it anymore with today's HEAD.
      
      As nobody seems to have found a probable cause, I'd be
      tempted to "close" or at least "works for me" the ticket if
      the segfault can't be reproduced. 
      
      Assigning to Don: is it also fixed in your setup?
      
      
    3. login: "msofer"
    4. mimetype: "text/plain"
    5. username: "msofer"
  11. Ticket change [4335272291] (rid 116517) by dgp on 2001-09-07 23:12:50:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      Don't close it.  I confirm that the CVS HEAD
      no longer demonstrates the bug while
      running the trace.test, but in another
      patched version of Tcl, I do still see a
      segfault in trace.test.  There's still a
      memory corruption problem in there.
      
      It might be the one identified in bug
      219393, or it's possible it could be 
      another one.  Let's check again after
      219393 is fixed.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  12. Ticket change [c52e6ddb77] (rid 111954) by dgp on 2001-09-20 02:10:28:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      Latest commits brought back memory corruption
      in test trace-9.1 for me.  Did it bring back
      segfaults for others?
      
      Increasing priority, so I'll actually get around
      to fixing this.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. priority changed to: "9 Immediate"
    5. username: "dgp"
  13. Ticket change [658c65cbd3] (rid 102568) by hobbs on 2001-09-20 03:19:12:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      which latest commits?  I still don't see anything (nor did 
      I before) on Linux or Windows.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  14. Ticket change [ef757be75e] (rid 108997) by dgp on 2001-09-20 03:26:31:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      Not to worry, Jeff.  You haven't caused anything to go
      wrong.
      
      There's a memory corruption bug in the machinery of
      [trace].  I believe it's the bug described in 219393.
      The bug's existence is constant.  The bugs visibility
      during 'make test' comes and goes depending on how
      unrelated code changes shift the memory corruption into
      areas where it does/doesn't matter.  The commits of
      2001-09-19 shifted it back into visibility for me.
      
      As we've established many times before, the memory allocator
      on Linux/Alpha tends to re-use freed memory more rapidly
      than many other platforms, so memory corruption bugs 
      often make themselves visible only there.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  15. Ticket change [4210830280] (rid 116299) by dkf on 2001-09-20 16:38:03:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      219393 is a nasty bug, but fixing it will require an API
      change.  In my spare moments (hah!) I'm working on the TIP
      required...
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  16. Ticket change [23542ece9b] (rid 130905) by dgp on 2001-11-21 06:05:05:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      Now that TIP 68 took care of the big problem, we
      can focus again on clearing away all memory problems
      with traces.
      
      Running the test suite with ElectricFence reveals
      that CallCommandTraces() in tclBasic.c needs some
      Tcl_Preserve() calls.  Patch coming soon.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  17. Add attachment "cmdtrace.patch" [3b8e29546e] (rid 112768) by dgp on 2001-11-21 07:07:58.

  18. Ticket change [45058681a8] (rid 116807) by dgp on 2001-11-21 07:07:58:

    1. assignee changed to: "msofer"
    2. icomment:
      
      
      File Added - 13607: cmdtrace.patch
      
      Logged In: YES 
      user_id=80530
      
      Here's the patch.  Assigning to maintainer for review and
      commit.
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. subsystem changed to: "45. Parsing and Eval"
    6. title changed to: "Tcl_Preserve CommandTraces in CallCommandTraces"
    7. username: "dgp"
  19. Ticket change [da5b729b28] (rid 107764) by msofer on 2001-11-21 18:55:14:

    1. assignee changed to: "dkf"
    2. icomment:
      Logged In: YES 
      user_id=148712
      
      The patch lokks fine to me; testsuite approves too, on
      linux. As it patches tclCmdMZ.c, I'll ask Donal to give his
      OK too before committing.
      
      
    3. login: "msofer"
    4. mimetype: "text/plain"
    5. username: "msofer"
  20. Ticket change [a6b1fc59e8] (rid 98649) by dkf on 2001-11-21 22:35:14:

    1. assignee changed to: "dgp"
    2. icomment:
      Logged In: YES 
      user_id=79902
      
      The tclCmdMZ.c changes look OK to me (the preservations are
      all done on internal structures so there are no non-obvious
      requirements on extensions using command traces, which is
      what I was really looking for.)  Assigning back to Don for
      commit (and ChangeLog entry, which is main thing missing.)
      
      
    3. login: "dkf"
    4. mimetype: "text/plain"
    5. username: "dkf"
  21. Ticket change [64949a3d56] (rid 92794) by dgp on 2001-11-22 02:55:43:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      committed to HEAD.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
    6. username: "dgp"
  22. Ticket change [1e1e08fb6e] (rid 90926) by dgp on 2001-11-22 02:55:44:

    1. closedate changed to: "2001-11-21T19:55:44"
    2. closer changed to: "dgp"