|
2010-12-09
| ||
| 05:57 | • Ticket [3129844fff] Thread hangs on specific exit sequence status still Clos... artifact: f93797249c user: ferrieux | |
| 05:43 | • Ticket [3129844fff]: 4 changes artifact: 955084b46e user: vasiljevic | |
| 05:42 | • Ticket [3129844fff]: 4 changes artifact: 97a180b640 user: andreas_kupries | |
| 05:40 | • Ticket [3129844fff]: 4 changes artifact: 75b31c3556 user: vasiljevic | |
| 05:39 | • Closed ticket [3129844fff]. artifact: 6cc946c4b6 user: andreas_kupries | |
| 05:31 | • Ticket [3129844fff]: 1 change artifact: cb9710c6a6 user: ferrieux | |
| 05:30 | • Ticket [3129844fff]: 4 changes artifact: 7cdcbd9ba6 user: ferrieux | |
|
2010-12-08
| ||
| 02:39 | • Ticket [3129844fff]: 4 changes artifact: 2264e6a1cf user: ferrieux | |
|
2010-12-07
| ||
| 14:15 | • Ticket [3129844fff]: 1 change artifact: 771c182a71 user: tombert | |
| 14:15 | • Ticket [3129844fff]: 4 changes artifact: afa0f11c6c user: tombert | |
| 06:37 | • Ticket [3129844fff]: 5 changes artifact: 0c512c5237 user: andreas_kupries | |
|
2010-12-06
| ||
| 21:57 | • Ticket [3129844fff]: 2 changes artifact: 220068fb57 user: dgp | |
| 19:10 | • Ticket [3129844fff]: 1 change artifact: 4c451afcdd user: tombert | |
| 12:09 | • New ticket [3129844fff]. artifact: d5fdc6a706 user: tombert | |
Thread hangs on specific exit sequence
Closed / Fixed3129844fffffffffffffffffffffffffffffffffCreated 16 years agoUpdated 16 years ago
Descriptionplain2010-12-06 12:09:08
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
tombert Ticket [3129844fff]: 1 change
[History diff]2010-12-06 19:10:38
dgp Ticket [3129844fff]: 2 changes
[History diff]2010-12-06 21:57:44
andreas_kupriesplain2010-12-07 06:37:52
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.
tombertplain2010-12-07 14:15:23
... no segfault ... I renamed the Summary title ...
tombert Ticket [3129844fff]: 1 change
[History diff]2010-12-07 14:15:24
ferrieuxplain2010-12-08 02:39:56
Also hangs in [exit] with 8.6 HEAD and bundled Thread 2.6.6.
ferrieuxplain2010-12-09 05:30:01
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 ;-)
ferrieux Ticket [3129844fff]: 1 change
[History diff]2010-12-09 05:31:18
andreas_kupriesplain2010-12-09 05:39:06
allow_comments - 1 Fix committed to head.
vasiljevicplain2010-12-09 05:40:39
Fixed.
andreas_kupriesplain2010-12-09 05:42:31
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.
vasiljevicplain2010-12-09 05:43:14
:-D
ferrieuxplain2010-12-09 05:57:41
allow_comments - 0 Oh, so the three of us were working on it at the same minute.... Nice coincidence!!!
Log in (anonymous is fine) to add a comment.