Artifacts Associated With Ticket 1538926fffffffffffffffffffffffffffffffff
Ticket change [c297cf2616] (rid 111512) by mpc_janssen on 2006-08-11 20:06:30:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
When executing the following code in a thread enabled tclsh, the tclsh crashes on an access violation on Windows XP package require Thread thread::send [thread::create] exit Some information: % parray tcl_platform tcl_platform(byteOrder) = littleEndian tcl_platform(machine) = intel tcl_platform(os) = Windows NT tcl_platform(osVersion) = 5.1 tcl_platform(platform) = windows tcl_platform(threaded) = 1 tcl_platform(user) = mjanssen tcl_platform(wordSize) = 4 % puts $tcl_version 8.4 % puts $tcl_patchLevel 8.4.13
- foundin initialized to: "obsolete: 8.4.13"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "mpc_janssen"
- subsystem initialized to: "49. Threading"
- title initialized to: "exit in thread crashes tclsh"
- type initialized to: "Bug"
Ticket change [2965973748] (rid 88863) by mpc_janssen on 2006-08-12 06:12:30:
- icomment:
Logged In: YES user_id=1463011 Further testing shows that in a threaded Tcl8.5a4 it works: C:\Tcl85\bin>tclsh85t.exe % parray tcl_platform tcl_platform(byteOrder) = littleEndian tcl_platform(machine) = intel tcl_platform(os) = Windows NT tcl_platform(osVersion) = 5.1 tcl_platform(platform) = windows tcl_platform(threaded) = 1 tcl_platform(user) = mjanssen tcl_platform(wordSize) = 4 % exit C:\Tcl85\bin>tclsh85t.exe % package require Thread 2.6.3 % thread::send [thread::create] exit target thread died % C:\Tcl85\bin>
- login: "mpc_janssen"
- mimetype: "text/plain"
- username: "mpc_janssen"
- icomment:
Ticket change [803245a48f] (rid 97693) by dkf on 2006-08-14 15:57:20:
- assignee changed to: "vasiljevic"
Ticket change [a2232c363a] (rid 109841) by vasiljevic on 2006-08-14 16:07:28:
- closedate changed to: "2006-08-14T09:07:28"
- closer changed to: "vasiljevic"
- icomment:
Logged In: YES user_id=95086 Calling [exit] out of the non-startup thread is NOT supported with the current state of the Tcl library. You must make sure all your threads are gone before attempting the [exit]. And you can attempt to call the [exit] only from the first (startup) therad in the process. The fact that you got it to work in 8.5 is purely a coincidence. This cannot be solved easily w/o re-designing how the Tcl library handles various system's teardown.
- login: "vasiljevic"
- mimetype: "text/plain"
- resolution changed to: "Wont Fix"
- status changed to: "Closed"
- username: "vasiljevic"
Ticket change [b9301777ee] (rid 129093) by cc_benny on 2006-08-15 00:37:44:
- icomment:
Logged In: YES user_id=143885 Tcl shouldn't crash, though, I think. It should raise an error. The error message should explain what was wrong, so that the coder knows how to fix it.
- login: "cc_benny"
- mimetype: "text/plain"
- username: "cc_benny"
- icomment: