Artifacts Associated With Ticket 3129844
Ticket change [d5fdc6a706] (rid 123730) by tombert on 2010-12-06 12:09:08:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Running the following commands crashes tcl 8.5.9 in openSuse linux, windows XP/W7 doesn't crash. TCL compiled with MinGW/MinSYS. > package re Thread 2.6.7 > thread::names tid0xb71de8d0 > thread::release [thread::id] > thread::names > update > exit
- foundin initialized to: "obsolete: 8.5.8"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "tombert"
- subsystem initialized to: "49. Threading"
- title initialized to: "Crash on specific exit sequence"
- type initialized to: "Bug"
Ticket change [4c451afcdd] (rid 126854) by tombert on 2010-12-06 19:10:38:
- foundin changed to: "obsolete: 8.5.9"
Ticket change [220068fb57] (rid 130681) by dgp on 2010-12-06 21:57:44:
- priority changed to: "8"
- subsystem changed to: "80. Thread Package"
Ticket change [0c512c5237] (rid 114154) by andreas_kupries on 2010-12-07 06:37:52:
- assignee changed to: "vasiljevic"
- icomment:
With Thread 2.6.5 and Tcl 8.5.7 the tclsh simply hangs on exist instead of seg.faulting. (I assume crash meant seg.fault and core dump). I can also make the script shorter, using only package require Thread thread::release [thread::id] thread::names exit There is likely something wrong in the thread reference counter management, with us trying to release a thread which was never preserved. Plus the fact that we are releasing the 'main' thread of the system. My guess is that this is also a factor, the main thread is special, being the whole system. Re-assigning to Zoran, our thread maintainer.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
Ticket change [afa0f11c6c] (rid 97849) by tombert on 2010-12-07 14:15:23:
- icomment:
... no segfault ... I renamed the Summary title ...
- login: "tombert"
- mimetype: "text/plain"
- username: "tombert"
- icomment:
Ticket change [771c182a71] (rid 105703) by tombert on 2010-12-07 14:15:24:
- title changed to: "Thread hangs on specific exit sequence"
Ticket change [2264e6a1cf] (rid 130742) by ferrieux on 2010-12-08 02:39:56:
- icomment:
Also hangs in [exit] with 8.6 HEAD and bundled Thread 2.6.6.
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [7cdcbd9ba6] (rid 97152) by ferrieux on 2010-12-09 05:30:01:
- icomment:
Ok got it: missing Tcl_MutexUnlock(&threadMutex) at line 1954 of threadCmd.c in the "early return" case of function ThreadList(). Please commit the fix, I am beyond CVS reach for now ;-)
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [cb9710c6a6] (rid 95544) by ferrieux on 2010-12-09 05:31:18:
- resolution changed to: "Fixed"
Ticket change [6cc946c4b6] (rid 128578) by andreas_kupries on 2010-12-09 05:39:06:
- closedate changed to: "2010-12-08T22:39:06"
- closer changed to: "andreas_kupries"
- icomment:
allow_comments - 1 Fix committed to head.
- login: "andreas_kupries"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "andreas_kupries"
Ticket change [75b31c3556] (rid 105428) by vasiljevic on 2010-12-09 05:40:39:
- icomment:
Fixed.
- login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"
- icomment:
Ticket change [97a180b640] (rid 110471) by andreas_kupries on 2010-12-09 05:42:31:
- icomment:
That was me and Zoran working at the same thing at the same time. And while Zoran's change went in, it was identical to mine, so no harm done by this x-ing.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [955084b46e] (rid 106138) by vasiljevic on 2010-12-09 05:43:14:
- icomment:
:-D
- login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"
- icomment:
Ticket change [f93797249c] (rid 91670) by ferrieux on 2010-12-09 05:57:41:
- icomment:
allow_comments - 0 Oh, so the three of us were working on it at the same minute.... Nice coincidence!!!
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment: