Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9753e45529cabf954203ff93f4fe65e5ae12c609
Ticket: 1303868fffffffffffffffffffffffffffffffff
Loading same library in different thread causes SEGV
User & Date: rbalakri on 2005-09-25 10:41:22
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Platform: Linux 
    Tcl Version: 8.4.11
    Thread Version: 2.6.2
    
    While loading libraries say expect library in a thread
    causes segmentation fault
    
    set initcmd "load
    $env(NATS)/install/expect-5.43/libexpect5.43.so\n"
    expect1.16>  set tid [thread::create [append initcmd \n
    thread::wait]]
    tid0xf58f5bb0
    expect1.17>   set tid [thread::create [append initcmd
    \n thread::wait]]
    tid0xf62f6bb0
    expect1.18> Segmentation fault
    
    Workaround:
    
    copying the libexpect in some other name and using it
    in the second thread doesn't cause this problem
    
  4. foundin changed to: "obsolete: 8.4.11"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "rbalakri"
  9. subsystem changed to: "49. Threading"
  10. title changed to:
    Loading same library in different thread causes SEGV
    
  11. type changed to: "Bug"