Artifacts Associated With Ticket 219065ffffffffff
Ticket change [0b531d7085] (rid 113963) by nobody on 2000-10-26 01:10:05:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 4532 Bug Version: 8.2.3 SubmitDate: '2000-03-24' LastModified: '2000-05-28' Severity: LOW Status: Released Submitter: techsupp ChangedBy: hobbs OS: Solaris FixedDate: '2000-05-28' FixedInVersion: 8.4a1 ClosedDate: '2000-10-25' Name: Zoran Vasiljevic ReproducibleScript: Use thread command to create/destroy many threads. Observe process size and amuse yourself seeing it grow and grow and gr... time {set t [thread create]; thread send $t "thread exit"} 1000 ObservedBehavior: TclpThreadCreate() creates an non-detached thread, which nobody cares to join. This results in process size (the stack, not the heap!) to grow excessively. Purify and friends do not complain since no heap leak... DesiredBehavior: Have TclpThreadCreate() make an detached thread by calling pthread_detach(idPtr) or make some provisions (wrappers) for API so we can call it ourselves. From Kupries: The new public API for creation of threads creates detached threads by default (no flags), so the problem mentioned in report 4532 should be solved too. Those APIs are in 8.4a1. There was also a fix in the Unix notifier for 8.3.1 that may alleviate the above problem. -- 05/28/2000 hobbs - foundin initialized to: "final: 8.2.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "49. Threading"
- title initialized to: "Tcl8.2.3 ignores joining threads - stack problems!"
- type initialized to: "Bug"
Ticket change [1592c7503c] (rid 124590) by welch on 2000-10-26 08:34:07:
- closedate changed to: "2000-10-26T01:34:07"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"