Artifacts Associated With Ticket d8ff47babc5676f9
Ticket change [eeea1fa1f7] (rid 142651) by anonymous on 2015-07-30 12:57:24:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
File - sample.tcl package require Expect spawn telnet 10.64.12.126 Script being executed - set inputListToRun(12) 1 package require Thread set pool [tpool::create -minworkers [array size inputListToRun] -initcmd { source sample.tcl }] Output - Segmentation fault (core dumped) Version of OS - CentOS 7 Tclsh version - 8.6 Expect version - 5.45 Thread version - 2.7.2 - foundin initialized to: "tclsh8.6"
- is_private initialized to: "0"
- login: "anonymous"
- priority initialized to: "5 Medium"
- private_contact initialized to: "5db695f7076367273ef333b45dc659ff73238ba1"
- resolution initialized to: "None"
- severity initialized to: "Severe"
- status initialized to: "Open"
- submitter initialized to: "anonymous"
- subsystem initialized to: "42. Memory Preservation"
- title initialized to:
Segmentation fault (core dumped) while using Thread 2.7.2
- type initialized to: "Bug"
Ticket change [4889814fe0] (rid 142668) by dgp on 2015-07-30 19:27:21:
- assignee changed to: "dgp"
- closedate changed to: "2457234.31066292"
- closer changed to: "dgp"
- icomment:
Correct me if I'm wrong, but I'm near certain Expect is not and has never been thread safe. I don't think it even qualifies as single-thread, multi-interp safe. It's got global vars all over the place. Something for Expect devs to fix (if you find any), not a bug in Tcl or in Thread.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
Ticket change [f9a8bb61ea] (rid 142669) by dgp on 2015-07-30 19:29:23:
- closedate changed to: "2457234.31207942"
- icomment:
This likely matters much less than you might think, since Expect by its nature interacts with spawned processes, anything you might imagine wanting to do with many concurrent threads all running Expect scripts can likely be done just as effectively by many concurrent processes all running Expect scripts.
- login: "dgp"
- mimetype: "text/plain"