Ticket UUID: | 1427570 | |||
Title: | interpreter crash in winpipe.c with threaded code | |||
Type: | Bug | Version: | obsolete: 8.4.12 | |
Submitter: | souellet_rambo | Created on: | 2006-02-08 14:36:35 | |
Subsystem: | 49. Threading | Assigned To: | vasiljevic | |
Priority: | 9 Immediate | Severity: | ||
Status: | Closed | Last Modified: | 2006-03-29 12:25:51 | |
Resolution: | Fixed | Closed By: | hobbs | |
Closed on: | 2006-03-29 05:25:51 | |||
Description: |
% puts $tcl_patchLevel 8.4.12 % array get tcl_platform osVersion 5.1 byteOrder littleEndian threaded 1 machine intel platform windows os {Windows NT} user souellet wordSize 4 The following code often cause the interpreter to crash in winpipe.c at line 913 or 2529. I am running on Windows XP. The crash does not happend on unix. | |||
User Comments: |
hobbs added on 2006-03-29 12:25:51:
Logged In: YES user_id=72656 This was a Thread bug in AppExitHandler - it was looping on exit, accessing the next item in a list that we had just spliced out and freed. Fixed post-2.6.3. welcomx added on 2006-02-20 01:05:14: Logged In: YES user_id=1456166 sdhn tyyy yt yz hobbs added on 2006-02-09 01:37:23: Logged In: YES user_id=72656 Confirmed crash with panic: Tcl_Release couldn't find reference for 0xf18860 souellet_rambo added on 2006-02-09 01:32:48: Logged In: YES user_id=1447062 I just tried it with tkcon, it does not happens. Try it with tclsh: tclsh test_crash2.tcl souellet_rambo added on 2006-02-09 01:03:57: File Added - 166678: test_crash2.tcl souellet_rambo added on 2006-02-09 01:03:56: Logged In: YES user_id=1447062 It seem it doesn't happens all that often. I modified the test program. This new version runs until it crashs, it usually takes less than 15 sec. hobbs added on 2006-02-09 00:22:33: Logged In: YES user_id=72656 I have no problem using ActiveTcl 8.4.12.0: (using tkcon, if that makes a difference) (bin) 23 % source C:/temp/dl/test_crash.tcl 5 2 7 4 6 1 10 8 15 9 11 3 13 18 16 12 17 14 20 19 (bin) 24 % source C:/temp/dl/test_crash.tcl 1 2 3 4 6 5 7 13 10 8 9 11 20 12 16 19 14 18 15 17 (bin) 24 % source C:/temp/dl/test_crash.tcl 1 2 4 3 7 6 10 11 9 8 12 14 16 5 13 17 19 20 15 18 souellet_rambo added on 2006-02-08 21:36:45: File Added - 166657: test_crash.tcl |