Overview
| Artifact ID: | 87b245fa33247497806658c7e5189515bc95dd3e |
|---|---|
| Ticket: | 597575ffffffffffffffffffffffffffffffffff
[exit] in sub-thread may crash. |
| User & Date: | andreas_kupries on 2002-08-20 02:47:32 |
Changes
- assignee changed to: "vasiljevic"
- cmimetype changed to: "text/plain"
- comment changed to:
When executing the script below the tcl interpreter may crash every once in a while (I usually have to execute it once or twice for the problem to happen). ----------------- package require Thread puts [info loaded] puts [pwd] set t [::thread::create] after 5000 "::thread::send $t exit" ----------------- Basically the interpreter is shutdown from inside the created thread, and not the main-thread, and the main thread is running an after. Timing-depending, it seems that the exit killed the Tcl_Release-data structure before the after in the main thread is completely done with its interpreter, causing it to try to release the structure with nothing being there anymore. Stack trace: attached, to prevent it from taking up space in the notification mails.
- foundin changed to: "None"
- priority changed to: "8"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "andreas_kupries"
- subsystem changed to: "49. Threading"
- title changed to: "[exit] in sub-thread may crash."
- type changed to: "Bug"