Skip to content
Tcl Source Code History Of Ticket 553320ffffffffff
Login

History Of Ticket 553320ffffffffff

Artifacts Associated With Ticket 553320ffffffffff

  1. Ticket change [a00a3fe0eb] (rid 96737) by msofer on 2002-05-07 15:45:02:

    1. assignee initialized to: "vincentdarley"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The HEAD produces a segfault on linux (RH7.2) in test
      filename-11.48. Incomplete fix?
      
      A detail: (line 1275) test for existence of file named
      $horribleglobname before renaming: when a first run
      does not complete, a second one fails on the "rename"
      complaining that the file already exists.
      
    4. foundin initialized to: "None"
    5. priority initialized to: "8"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "msofer"
    9. subsystem initialized to: "None"
    10. title initialized to: "segfault in tests/fileName.test"
    11. type initialized to: "Bug"
  2. Ticket change [37f2c7103b] (rid 112123) by vincentdarley on 2002-05-07 23:01:48:

    1. icomment:
      Logged In: YES 
      user_id=32170
      
      Since this particular test works fine for me, I'm going to 
      need some more information to go on, like a stack trace or 
      whatever....
      
      I'll fix line 1275, and a potential problem in test 16.16 
      on Windows, but I can't do much about your segfault yet.
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  3. Ticket change [e51817942c] (rid 88076) by msofer on 2002-05-07 23:46:58:

    1. icomment:
      
      
      File Added - 22665: BackTrace
      
      Logged In: YES 
      user_id=148712
      
      The segfault disappears when compiling with symbols.
      Enclosing a  backtrace without symbols; will still try to
      get more info with MEM_DEBUG on. 
      
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  4. Add attachment "BackTrace" [56601c4774] (rid 94304) by msofer on 2002-05-07 23:46:58.

  5. Ticket change [863424cf96] (rid 131460) by msofer on 2002-05-07 23:55:53:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      With MEM_DEBUG on, no segfault but memory corruption in the
      same test:
      
      [mig@mini unix]$ ./tcltest ../tests/fileName.test 
      
      ==== filename-11.48 Tcl_GlobCmd FAILED
      ==== Contents of test case:
      
          list [catch {glob -types abcde -dir foo -join * *} msg] $msg
      
      ---- Result was:
      1 {bad argument to "-types": abcde}
      ---- Result should have been (exact matching):
      °aaaaaaaaaaaaaaaaaaa
      ==== filename-11.48 FAILED
      
      fileName.test:  Total   380     Passed  326     Skipped 53 
          Failed  1
      Number of tests skipped for each constraint:
              18      macOnly
              7       nonPortable
              28      pcOnly
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  6. Ticket change [be7a11271d] (rid 102079) by nobody on 2002-05-08 00:06:20:

    1. icomment:
      Logged In: NO 
      
      Around line 1791, change the comment and code that follows 
      to this:
      
      /*
       * Error cases.  We re-get the 
      interpreter's result,
       * just to be sure it hasn't changed, and 
      we reset
       * the 'join' flag to zero, since we 
      haven't yet
       * made use of it.
       */
      badTypesArg:
      resultPtr = Tcl_GetObjResult(interp);
      Tcl_AppendToObj(resultPtr, "bad argument to 
      \"-types\": ", -1);
      Tcl_AppendObjToObj(resultPtr, look);
      result = TCL_ERROR;
      join = 0;
      goto endOfGlob;
      badMacTypesArg:
      resultPtr = Tcl_GetObjResult(interp);
      Tcl_AppendToObj(resultPtr,
         "only one MacOS type or creator argument"
         " to \"-types\" allowed", -1);
      result = TCL_ERROR;
      join = 0;
      goto endOfGlob;
      
      that might fix the problem.  I can't see anything else 
      which could be wrong.
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  7. Add attachment "553320.patch" [39d40b5272] (rid 112457) by msofer on 2002-05-08 00:57:16.

  8. Ticket change [223c638206] (rid 130710) by msofer on 2002-05-08 00:57:16:

    1. icomment:
      
      
      File Added - 22669: 553320.patch
      
      Logged In: YES 
      user_id=148712
      
      That fixed the segfault; test suite A_OK now. I enclose this
      as a patch - or should I rather commit it?
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  9. Ticket change [13e6c2eea5] (rid 124298) by vincentdarley on 2002-05-08 01:05:07:

    1. closedate changed to: "2002-05-07T18:05:07"
    2. closer changed to: "vincentdarley"
    3. icomment:
      Logged In: YES 
      user_id=32170
      
      Thanks for the quick testing.  I've committed the fix, and 
      the test change you suggest.
      
      
      
    4. login: "vincentdarley"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "vincentdarley"