Skip to content
Tcl Source Code View Ticket
Login

View Ticket

socket.test hangs (MSVC 6)

Closed / Fixed218887ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:07:12
OriginalBugID: 2538 Bug
Version: 8.2b3
SubmitDate: '1999-08-12'
LastModified: '1999-10-21'
Severity: SER
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Windows NT
Machine: X86
FixedDate: '1999-10-21'
FixedInVersion: 8.2
ClosedDate: '2000-10-25'


Name:
Petteri Kettunen

CustomShell:
Patched bug in SerialSetOptionProc as described in my previous bug report.

Comments:
1) I wouldn't rely on MSVC version 5 on these days.
    2) Your bug form does not list tcl8.2b3

ReproducibleScript:
1) download 8.2b3 (zip) from Scriptics
    2) nmake TOOLS32=c:\visualstudio\vc98
    TOOLS32_rc=c:\visualstudio\common\msdev98 INSTALLDIR=e:\pr\tcl82
    NODEBUG=0 -f makefile.vc test

ObservedBehavior:
Test suite hangs in socket.test.
    
    Call stack from tcltest:
    
    NTDLL! 77f6825b()
    KERNEL32! 77f04f97()
    TcpInputProc(int * 0x0f2ac770, char * 0x0f3042a0, int 4096, int *
    0x0026e0f0) line 1696 + 28 bytes
    GetInput(Channel * 0x0f296380) line 4884 + 37 bytes
    FilterInputBytes(Channel * 0x0f296380, GetsState * 0x0026e18c) line 3732
    + 9 bytes
    Tcl_GetsObj(Tcl_Channel_ * 0x0f296380, Tcl_Obj * 0x03059520) line 3427 +
    13 bytes
    Tcl_GetsObjCmd(int * 0x00000000, Tcl_Interp * 0x002b33e8, int 2, Tcl_Obj
    * const * 0x002dbd58) line 241 + 13 bytes
    TclExecuteByteCode(Tcl_Interp * 0x002b33e8, ByteCode * 0x0f3f19d8) line
    844 + 25 bytes
    Tcl_EvalObjEx(Tcl_Interp * 0x002b33e8, Tcl_Obj * 0x0f28b278, int 0) line
    2698 + 13 bytes
    Tcl_UplevelObjCmd(int * 0x00000000, Tcl_Interp * 0x002b33e8, int 1,
    Tcl_Obj * const * 0x002dbd50) line 603 + 17 bytes
    TclExecuteByteCode(Tcl_Interp * 0x002b33e8, ByteCode * 0x00349038) line
    844 + 25 bytes
    Tcl_EvalObjEx(Tcl_Interp * 0x002b33e8, Tcl_Obj * 0x002f7f20, int 0) line
    2698 + 13 bytes
    TclObjInterpProc(int * 0x003023f8, Tcl_Interp * 0x002b33e8, int 6,
    Tcl_Obj * const * 0x0026ecdc) line 995 + 21 bytes
    InvokeImportedCmd(int * 0x00294fc8, Tcl_Interp * 0x002b33e8, int 6,
    Tcl_Obj * const * 0x0026ecdc) line 1453 + 25 bytes
    EvalObjv(Tcl_Interp * 0x002b33e8, int 6, Tcl_Obj * const * 0x0026ecdc,
    char * 0x21118bb7, int 19097, int 0) line 932 + 25 bytes
    Tcl_EvalEx(Tcl_Interp * 0x002b33e8, char * 0x21112fe0, int 42608, int 0)
    line 1393 + 30 bytes
    Tcl_EvalFile(Tcl_Interp * 0x002b33e8, char * 0x0028d088) line 323 + 19
    bytes
    Tcl_SourceObjCmd(int * 0x00000000, Tcl_Interp * 0x002b33e8, int 2,
    Tcl_Obj * const * 0x002dbd44) line 710 + 13 bytes
    TclExecuteByteCode(Tcl_Interp * 0x002b33e8, ByteCode * 0x002c8218) line
    844 + 25 bytes
    Tcl_EvalObjEx(Tcl_Interp * 0x002b33e8, Tcl_Obj * 0x00345188, int 0) line
    2698 + 13 bytes
    Tcl_CatchObjCmd(int * 0x00000000, Tcl_Interp * 0x002b33e8, int 3,
    Tcl_Obj * const * 0x002dbd38) line 261 + 18 bytes
    TclExecuteByteCode(Tcl_Interp * 0x002b33e8, ByteCode * 0x002c6718) line
    844 + 25 bytes
    Tcl_EvalObjEx(Tcl_Interp * 0x002b33e8, Tcl_Obj * 0x0029f3c0, int 0) line
    2698 + 13 bytes
    Tcl_ForeachObjCmd(int * 0x00000000, Tcl_Interp * 0x002b33e8, int 4,
    Tcl_Obj * const * 0x0026f7ec) line 1793 + 15 bytes
    EvalObjv(Tcl_Interp * 0x002b33e8, int 4, Tcl_Obj * const * 0x0026f7ec,
    char * 0x002d6901, int 300, int 0) line 932 + 25 bytes
    Tcl_EvalEx(Tcl_Interp * 0x002b33e8, char * 0x002d6438, int 1525, int 0)
    line 1393 + 30 bytes
    Tcl_EvalFile(Tcl_Interp * 0x002b33e8, char * 0x0026fe90) line 323 + 19
    bytes
    Tcl_Main(int 1, char * * 0x00283b9c, int (Tcl_Interp *)* 0x00408e2d
    Tcl_AppInit(Tcl_Interp *)) line 144 + 16 bytes
    main() line 64 + 19 bytes
    mainCRTStartup() line 338 + 17 bytes
    KERNEL32! 77f1ba3c()

DesiredBehavior:
Test suite done.


The test suite passes fine for 8.2.0.  It could have been a fixed
bug.  There is the slight chance that VC++6 is at fault, since we
do not compile with that (we use VC++5). 
-- 10/21/1999 hobbs
welch Closed ticket [218887ffff]. [History diff]2000-10-26 08:31:14
dgp Ticket [218887ffff]: 3 changes [History diff]2001-04-01 01:47:34
Log in (anonymous is fine) to add a comment.