Skip to content
Tcl Source Code History Of Ticket 1356721
Login

History Of Ticket 1356721

Artifacts Associated With Ticket 1356721

  1. Ticket change [9bbf2f48a7] (rid 111177) by nickpa on 2005-11-14 17:20:23:

    1. assignee initialized to: "vasiljevic"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      tcl crashes when I launch multiple (5) threads and then 
      send scripts to it (async). 
      
      running on the following system:
      
      tclver: 8.5a3 (none cvs)
      os: Linux 2.6.13.4 #1 SMP Mon Oct 17 19:19:27 CEST 
      2005 i686 GNU/Linux (debian)
      
      I have to add that I have only been able to reproduce the 
      error with 'package require tls' within the newly created 
      threads. Also, it looks like it is some kind of racing 
      condition; it barely crashes on a system with high loads, 
      with low loads it does. 
      
      Below is an example of what I see when I run the script.
      
      ns2986:/home/nick/ # /usr/tcl85/bin/tclsh8.5 crash.tcl
      Menu
      l
      launching thead:1
      launching thead:2
      launching thead:3
      Segmentation fault
      
      NOTE: sometimes I have to start and close the script 
      again and then type 'l' to launch the thread creation, for 
      it to segfault. So it does not ALWAYS crash, it does 
      crash a lot though.
      
      Hope this helps you guys, might be my system, tls 
      package or TCL.
      
      I'v attached the script for testing purposes.
      
      Kind Regards,
      
      Nick Parrin
      
    4. foundin initialized to: "obsolete: 8.5a3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nickpa"
    9. subsystem initialized to: "80. Thread Package"
    10. title initialized to: "tcl8.5a3 segfault foreach loop thread creation"
    11. type initialized to: "Bug"
  2. Ticket change [494aa767f3] (rid 100034) by nickpa on 2005-11-15 00:22:35:

    1. icomment:
      
      
      File Added - 156228: crash.tcl
      
      
      
    2. login: "nickpa"
    3. mimetype: "text/plain"
    4. username: "nickpa"
  3. Add attachment "crash.tcl" [28d09781c1] (rid 88768) by nickpa on 2005-11-15 00:24:45.

  4. Ticket change [357e73f5df] (rid 106946) by nickpa on 2005-11-15 00:24:47:

    1. icomment:
      
      
      File Added - 156231: crash.tcl
      
      
      
    2. login: "nickpa"
    3. mimetype: "text/plain"
    4. username: "nickpa"
  5. Ticket change [e4cb4fc368] (rid 88020) by nickpa on 2005-11-15 00:27:08:

    1. icomment:
      
      
      File Deleted - 156228: 
      
      
      
    2. login: "nickpa"
    3. mimetype: "text/plain"
    4. username: "nickpa"
  6. Ticket change [3dd3bfe7c8] (rid 121163) by vasiljevic on 2005-12-20 19:18:40:

    1. icomment:
      Logged In: YES 
      user_id=95086
      
      Can you help me with this: What is TLS package?
      If you do not load the TLS package in newly created 
      threads, are you still able to get the crash?
      
      
    2. login: "vasiljevic"
    3. mimetype: "text/plain"
    4. username: "vasiljevic"
  7. Ticket change [ee7d357883] (rid 104090) by vasiljevic on 2007-06-30 21:55:21:

    1. closedate changed to: "2007-06-30T14:55:21"
    2. closer changed to: "vasiljevic"
    3. icomment:
      Logged In: YES 
      user_id=95086
      Originator: NO
      
      I cannot reproduce this with Tcl / Threa extension.
      It must be something related to external packages.
      
      
    4. login: "vasiljevic"
    5. mimetype: "text/plain"
    6. resolution changed to: "Out of Date"
    7. status changed to: "Closed"
    8. username: "vasiljevic"