#3366 interpreter crash in winpipe.c with threaded code

obsolete: 8.4.12
closed-fixed
9
2006-03-29
2006-02-08
No

% 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.

Discussion

  • Sylvain Ouellet

    Sylvain Ouellet - 2006-02-08

    test program

     
    Attachments
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2006-02-08

    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

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2006-02-08
    • status: open --> pending-works-for-me
     
  • Sylvain Ouellet

    Sylvain Ouellet - 2006-02-08

    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.

     
  • Sylvain Ouellet

    Sylvain Ouellet - 2006-02-08
    • status: pending-works-for-me --> open-works-for-me
     
  • Sylvain Ouellet

    Sylvain Ouellet - 2006-02-08

    improved test program

     
    Attachments
  • Sylvain Ouellet

    Sylvain Ouellet - 2006-02-08

    Logged In: YES
    user_id=1447062

    I just tried it with tkcon, it does not happens.
    Try it with tclsh:

    tclsh test_crash2.tcl

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2006-02-08
    • assigned_to: nobody --> hobbs
    • priority: 5 --> 8
    • status: open-works-for-me --> open
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2006-02-08

    Logged In: YES
    user_id=72656

    Confirmed crash with panic:

    Tcl_Release couldn't find reference for 0xf18860

     
  • User account name (username) m

    Logged In: YES
    user_id=1456166

    sdhn tyyy yt yz

     
  • Don Porter

    Don Porter - 2006-03-10
    • priority: 8 --> 9
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2006-03-29

    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.

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2006-03-29
    • assigned_to: hobbs --> vasiljevic
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks