Artifacts Associated With Ticket 439581ffffffffffffffffffffffffffffffffff
Ticket change [297d19893d] (rid 88877) by fringe on 2001-07-09 01:33:17:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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 !! - foundin initialized to: "obsolete: 8.3.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "fringe"
- subsystem initialized to: "80. Thread Package"
- title initialized to: "crash when application terminates"
- type initialized to: "Bug"
Ticket change [0c1c81df41] (rid 114120) by andreas_kupries on 2001-08-23 05:51:45:
- assignee changed to: "andreas_kupries"
Ticket change [daf7759331] (rid 107878) by andreas_kupries on 2001-08-25 02:09:04:
- icomment:
File Added - 9948: scripts.tar.gz
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Add attachment "scripts.tar.gz" [008e005984] (rid 119341) by andreas_kupries on 2001-08-25 02:09:04.
Ticket change [84c0eb71ba] (rid 117613) by andreas_kupries on 2001-08-25 02:52:22:
- 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.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [9aa8375397] (rid 110987) by andreas_kupries on 2001-09-08 03:45:43:
- icomment:
Logged In: YES user_id=75003 Priority down as I get no response after two weeks since the last comment.
- login: "andreas_kupries"
- mimetype: "text/plain"
- priority changed to: "2"
- resolution changed to: "Remind"
- username: "andreas_kupries"
- icomment:
Ticket change [b8b00503ad] (rid 129006) by andreas_kupries on 2001-09-14 06:25:50:
- closedate changed to: "2001-09-13T23:25:50"
- closer changed to: "andreas_kupries"
- priority changed to: "5 Medium"
- status changed to: "Closed"
Ticket change [b14a8e16f0] (rid 98124) by andreas_kupries on 2001-09-29 03:23:55:
- closedate changed to: "2001-09-28T20:23:55"
- closer changed to: "andreas_kupries"
- resolution changed to: "Works For Me"