Artifacts Associated With Ticket 1160906fffffffff
Ticket change [4525ba4ec8] (rid 116834) by tmh on 2005-03-10 20:50:37:
- assignee initialized to: "vincentdarley"
- cmimetype initialized to: "text/plain"
- 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. - foundin initialized to: "obsolete: 8.5a3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "tmh"
- subsystem initialized to: "37. File System"
- title initialized to: "core dump occurs when 'getcwd()' returns null."
- type initialized to: "Bug"
Ticket change [ddb1f0e670] (rid 114718) by tmh on 2005-03-11 03:52:16:
- 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.
- login: "tmh"
- mimetype: "text/plain"
- username: "tmh"
- icomment:
Ticket change [92da367f53] (rid 105714) by vincentdarley on 2005-03-11 23:23:05:
- assignee changed to: "hobbs"
Ticket change [1e27f2bbae] (rid 90931) by hobbs on 2005-05-30 08:56:40:
- assignee changed to: "vincentdarley"
- priority changed to: "6"
Ticket change [1f4af7073d] (rid 91125) by dgp on 2006-03-10 13:02:38:
- icomment:
Logged In: YES user_id=80530 crash sounds bad. raising prio. Is this report still valid against the Tcl HEAD?
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "9 Immediate"
- username: "dgp"
- icomment:
Ticket change [3f3c53ab7e] (rid 121423) by tmh on 2006-03-10 20:54:12:
- 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
- login: "tmh"
- mimetype: "text/plain"
- username: "tmh"
- icomment:
Ticket change [810a54c977] (rid 116970) by dgp on 2006-10-16 21:35:21:
- assignee changed to: "coldstore"
- closedate changed to: "2006-10-16T14:35:21"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 Colin, does this sound like something your recent fixes would have corrected?
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Pending"
- username: "dgp"
Ticket change [41496a1beb] (rid 116162) by sf-robot on 2006-10-31 10:20:04:
- closedate changed to: "2006-10-31T03:20:04"
- closer changed to: "sf-robot"
- 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).
- login: "sf-robot"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "sf-robot"