Skip to content
Tcl Source Code History Of Ticket 439581ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 439581ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 439581ffffffffffffffffffffffffffffffffff

  1. Ticket change [297d19893d] (rid 88877) by fringe on 2001-07-09 01:33:17:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Name: 
        Sangho Park
      
      Extensions: 
        Thread 2.1
      
      CustomShell: 
      
      Comments: 
        tcl 8.3.3 compiled on CC with threads enabled. 
      Solaris 2.5.1
      
      ObservedBehavior: 
        Below I include a thread script which causes a crash 
      when application terminate.  It crash 1~2 out of 20 
      executions. Error message is various : "Segment 
      Fault", "Tcl_Release couldn't find reference for 
      0xedfb8" "Bus Error". 
      
      ReproducibleScript: 
      
      -------- run.csh ------
      #!/bin/csh
      while ( 1 )
         main_thread.tcl
      end
      
      ---- main_thread.tcl ----
      #!/usr/local/bin/tclsh
      package require Thread
      
      set total_done 10
      set current 0
      
      proc returnProc {thread_result} {
      global total_done current
      incr current -1
      }
      
      for { set i 0 } { $i < $total_done} { incr i } {
          while { $current == 4 } {
      after 10 ; update
          }
      
          set childid1 [thread::create {source 
      child_thread.tcl; thread::wait}]
          incr current
          thread::send $childid1 "set b 100"
          thread::send -async $childid1 "run_child 
      [thread::id]"
      
      }
      
      while { [llength [thread::names]] > 1 } {
          after 10 ; update
      }
      
      ---- child_thread.tcl ----
      proc run_child { main_id } {
          thread::send $main_id "returnProc [thread::id]"
          thread::exit
      }
      
      
      DesiredBehavior: 
        It should not happen !!
      
      
    4. foundin initialized to: "obsolete: 8.3.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "fringe"
    9. subsystem initialized to: "80. Thread Package"
    10. title initialized to: "crash when application terminates"
    11. type initialized to: "Bug"
  2. Ticket change [0c1c81df41] (rid 114120) by andreas_kupries on 2001-08-23 05:51:45:

    1. assignee changed to: "andreas_kupries"
  3. Ticket change [daf7759331] (rid 107878) by andreas_kupries on 2001-08-25 02:09:04:

    1. icomment:
      
      
      File Added - 9948: scripts.tar.gz
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  4. Add attachment "scripts.tar.gz" [008e005984] (rid 119341) by andreas_kupries on 2001-08-25 02:09:04.

  5. Ticket change [84c0eb71ba] (rid 117613) by andreas_kupries on 2001-08-25 02:52:22:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      I tried this using the newest sources from the
      "core-8-3-1-branch" branch from the CVS at
      SourceForge. This is tcl 8.3.3 + a number of
      bugfixes. I used the head revision of Thread
      (2.1.1) from the CVS at SourceForge. The
      machine was a Sun running Solaris 2.6.
      
      The bug did not happen. Please retest on your
      system using the sources of Tcl and Thread
      described above to see if it the change in the
      OS or in Tcl/Thread which made the bug go away.
      
      Please configure and compile with --enable-symbols
      so that symbol information is available. If the
      bug still happens a stack trace would extremely
      valuable in diagnosing the problem.
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  6. Ticket change [9aa8375397] (rid 110987) by andreas_kupries on 2001-09-08 03:45:43:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      Priority down as I get no response after two weeks since 
      the last comment.
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. priority changed to: "2"
    5. resolution changed to: "Remind"
    6. username: "andreas_kupries"
  7. Ticket change [b8b00503ad] (rid 129006) by andreas_kupries on 2001-09-14 06:25:50:

    1. closedate changed to: "2001-09-13T23:25:50"
    2. closer changed to: "andreas_kupries"
    3. priority changed to: "5 Medium"
    4. status changed to: "Closed"
  8. Ticket change [b14a8e16f0] (rid 98124) by andreas_kupries on 2001-09-29 03:23:55:

    1. closedate changed to: "2001-09-28T20:23:55"
    2. closer changed to: "andreas_kupries"
    3. resolution changed to: "Works For Me"