Skip to content
Tcl Source Code History Of Ticket d8ff47babc5676f9
Login

History Of Ticket d8ff47babc5676f9

Artifacts Associated With Ticket d8ff47babc5676f9

  1. Ticket change [eeea1fa1f7] (rid 142651) by anonymous on 2015-07-30 12:57:24:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. 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
      
    5. foundin initialized to: "tclsh8.6"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "5db695f7076367273ef333b45dc659ff73238ba1"
    10. resolution initialized to: "None"
    11. severity initialized to: "Severe"
    12. status initialized to: "Open"
    13. submitter initialized to: "anonymous"
    14. subsystem initialized to: "42. Memory Preservation"
    15. title initialized to:
      Segmentation fault (core dumped) while using Thread 2.7.2
      
    16. type initialized to: "Bug"
  2. Ticket change [4889814fe0] (rid 142668) by dgp on 2015-07-30 19:27:21:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2457234.31066292"
    3. closer changed to: "dgp"
    4. 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.
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Invalid"
    8. status changed to: "Closed"
  3. Ticket change [f9a8bb61ea] (rid 142669) by dgp on 2015-07-30 19:29:23:

    1. closedate changed to: "2457234.31207942"
    2. 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.
      
    3. login: "dgp"
    4. mimetype: "text/plain"