Skip to content
Tcl Source Code History Of Ticket 1160906fffffffff
Login

History Of Ticket 1160906fffffffff

Artifacts Associated With Ticket 1160906fffffffff

  1. Ticket change [4525ba4ec8] (rid 116834) by tmh on 2005-03-10 20:50:37:

    1. assignee initialized to: "vincentdarley"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The tclUnixFile.c file has a function
      TclNativeCreateNativeRep().
      
      line 977 -> 979 has a problem.
      
              /* Make sure the normalized path is set */
              validPathPtr = Tcl_FSGetNormalizedPath(NULL,
      pathPtr);
              Tcl_IncrRefCount(validPathPtr);
      
      It is possible to construct a situation where
      validPathPtr is returned as NULL, and
      Tcl_IncrRefCount(NULL); causes a core dump.
      
      
      The situation leading to this is complicated.
      
      First a directory is created.
      /var/cores/programname
      This directory is mode 0700 and owned by root.
      
      A 'C' program starts as root, 
      changes directory to /var/cores/programname.
      drops 'root' permission to a user permision.
      Opens a tcl interpreter.
      Tcl_EvalFiles some tcl file that includes a [clock
      format] command
      
      Core dump occurs.
      
      This code has worked in all versions of Tcl 8.3, 8.4
      and 8.5 until recently.
      
      I have a relatively small test file available, but I do
      not wish to post it to the web.  I will email it to
      those interested.
      
    4. foundin initialized to: "obsolete: 8.5a3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "tmh"
    9. subsystem initialized to: "37. File System"
    10. title initialized to: "core dump occurs when 'getcwd()' returns null."
    11. type initialized to: "Bug"
  2. Ticket change [ddb1f0e670] (rid 114718) by tmh on 2005-03-11 03:52:16:

    1. icomment:
      Logged In: YES 
      user_id=92123
      
      I forgot to mention.
      
      This is solaris 2.9 platform.
      The same core dump occurs with 'gcc' compiles and 'Sun' C
      compiler.
      
      
      
      
    2. login: "tmh"
    3. mimetype: "text/plain"
    4. username: "tmh"
  3. Ticket change [92da367f53] (rid 105714) by vincentdarley on 2005-03-11 23:23:05:

    1. assignee changed to: "hobbs"
  4. Ticket change [1e27f2bbae] (rid 90931) by hobbs on 2005-05-30 08:56:40:

    1. assignee changed to: "vincentdarley"
    2. priority changed to: "6"
  5. Ticket change [1f4af7073d] (rid 91125) by dgp on 2006-03-10 13:02:38:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      crash sounds bad.  raising prio.
      
      Is this report still valid against
      the Tcl HEAD?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. priority changed to: "9 Immediate"
    5. username: "dgp"
  6. Ticket change [3f3c53ab7e] (rid 121423) by tmh on 2006-03-10 20:54:12:

    1. icomment:
      Logged In: YES 
      user_id=92123
      
      I don't know if it's still valid or not. I will try and find
      my test code from a year ago, if I cannot find the code,
      I'll withdraw the report.
      
      -Todd
      
      
    2. login: "tmh"
    3. mimetype: "text/plain"
    4. username: "tmh"
  7. Ticket change [810a54c977] (rid 116970) by dgp on 2006-10-16 21:35:21:

    1. assignee changed to: "coldstore"
    2. closedate changed to: "2006-10-16T14:35:21"
    3. closer changed to: "dgp"
    4. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Colin, does this sound
      like something your recent
      fixes would have corrected?
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Pending"
    9. username: "dgp"
  8. Ticket change [41496a1beb] (rid 116162) by sf-robot on 2006-10-31 10:20:04:

    1. closedate changed to: "2006-10-31T03:20:04"
    2. closer changed to: "sf-robot"
    3. icomment:
      Logged In: YES 
      user_id=1312539
      
      This Tracker item was closed automatically by the system. It was
      previously set to a Pending status, and the original submitter
      did not respond within 14 days (the time period specified by
      the administrator of this Tracker).
      
      
    4. login: "sf-robot"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "sf-robot"