Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ea669b3fca04cbb82c5f3752f0f377712c151192
Ticket: 674387ffffffffffffffffffffffffffffffffff
Tcl/Tk threaded test failures on NT4...
User & Date: nobody on 2003-01-25 00:30:45
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    Output from test suite:
    
    =================================
    =================================
    =============
    *** Compiler has 'Optimizations'
    *** Compiler has 'Pentium 0x0f fix'
    *** Linker has 'Win98 alignment problem'
    *** Doing threads
    *** Doing symbols
    *** Doing profile
    *** Doing memdbg
    *** Doing compdbg
    *** Intermediate directory will 
    be '.\Debug\tcl_ThreadedDynamic'
    *** Output directory will be '.\Debug'
    *** Suffix for binaries will be 'td'
    *** Optional defines are '-DTCL_MEM_DEBUG -
    DTCL_COMPILE_DEBUG -DTCL_COMPILE_STAT
    S -DTCL_THREADS=1'
    *** Dependency rules are not being used.
    
            set TCL_LIBRARY=../library
            .\Debug\tcltest.exe ../tests/all.tcl
    Tests running in interp:  
    F:/tcl/checkout/8.4.1/tcl/win/Debug/tcltest.exe
    Tests located in:  F:/tcl/checkout/8.4.1/tcl/tests
    Tests running in:  F:/tcl/checkout/8.4.1/tcl/win
    Temporary files stored in 
    F:/tcl/checkout/8.4.1/tcl/win
    Test files run in separate interpreters
    Running tests that match:  *
    Skipping test files that match:  l.*.test
    Only running test files that match:  *.test
    Tests began at Fri Jan 24 4:04:09 PM Pacific 
    Standard Time 2003
    append.test
    appendComp.test
    assocd.test
    async.test
    autoMkindex.test
    basic.test
    binary.test
    case.test
    clock.test
    cmdAH.test
    cmdIL.test
    cmdInfo.test
    cmdMZ.test
    compExpr-old.test
    compExpr.test
    compile.test
    concat.test
    dcall.test
    dstring.test
    encoding.test
    env.test
    error.test
    eval.test
    event.test
    exec.test
    execute.test
    expr-old.test
    expr.test
    fCmd.test
    fileName.test
    Warning: files left behind:
            fileName.test:  globTest
    fileSystem.test
    for-old.test
    for.test
    foreach.test
    format.test
    get.test
    history.test
    http.test
    Running httpd in thread 184
    httpold.test
    if-old.test
    if.test
    incr-old.test
    incr.test
    indexObj.test
    info.test
    init.test
    interp.test
    io.test
    ioCmd.test
    ioUtil.test
    iogt.test
    join.test
    lindex.test
    link.test
    linsert.test
    list.test
    listObj.test
    llength.test
    load.test
    lrange.test
    lreplace.test
    lsearch.test
    lset.test
    lsetComp.test
    macFCmd.test
    main.test
    
    ==== Tcl_Main-1.4 Tcl_Main: encoding of 
    arguments: done by system encoding
            Note the shortcoming explained in Tcl Patch 
    491789 FAILED
    ==== Contents of test case:
    
            read $f
    
    ---- Result was:
    script ? 0
    
    ---- Result should have been (exact matching):
    script ? 0
    
    ==== Tcl_Main-1.4 FAILED
    
    
    ==== Tcl_Main-1.6 Tcl_Main: encoding of script 
    name: system encoding loss
            Note the shortcoming explained in Tcl Patch 
    491789 FAILED
    ==== Contents of test case:
    
            read $f
    
    ---- Result was:
    
    ---- Result should have been (exact matching):
    ? {} 0
    
    ---- Test cleanup failed:
    couldn't read file "?": no such file or directory
    ==== Tcl_Main-1.6 FAILED
    
    misc.test
    msgcat.test
    namespace-old.test
    namespace.test
    obj.test
    opt.test
    osa.test
    package.test
    parse.test
    parseExpr.test
    parseOld.test
    pid.test
    pkg.test
    pkgMkIndex.test
    platform.test
    proc-old.test
    proc.test
    pwd.test
    reg.test
    regexp.test
    regexpComp.test
    registry.test
    rename.test
    resource.test
    result.test
    safe.test
    scan.test
    security.test
    set-old.test
    set.test
    socket.test
    source.test
    split.test
    stack.test
    string.test
    stringComp.test
    stringObj.test
    subst.test
    switch.test
    tcltest.test
    Warning: files left behind:
            tcltest.test:   efile
    thread.test
    timer.test
    trace.test
    unixFCmd.test
    unixFile.test
    unixInit.test
    unixNotfy.test
    unknown.test
    uplevel.test
    upvar.test
    utf.test
    util.test
    var.test
    while-old.test
    while.test
    winConsole.test
    winDde.test
    Test file error: child killed: segmentation violation
    winFCmd.test
    winFile.test
    winNotify.test
    winPipe.test
    You should see this
    winTime.test
    
    Tests ended at Fri Jan 24 4:13:10 PM Pacific 
    Standard Time 2003
    all.tcl:        Total   10391   Passed  9692    Skipped 
    697     Failed  2
    Sourced 128 Test Files.
    Files with failing tests: main.test
    Number of tests skipped for each constraint:
            2       .console
            15      95
            8       cdrom
            22      eformat
            47      emptyTest
            2       hasIsoLocale
            9       hasLinks
            1       interactive
            13      knownBug
            1       largefileSupport
            16      linkDirectory
            3       linkFile
            25      localeRegexp
            133     macOnly
            6       macOrUnix
            121     nonPortable
            1       nonRoot
            26      pkga.dllRequired
            2       sharedCdrive
            1       singleTestInterp
            15      testfilehandler
            1       testfilewait
            21      testwordend
            2       unix
            15      unixExecs
            159     unixOnly
            2       unixOnly && !testthread
            3       unknownFailure
            22      wideIntegerUnparsed
            3       win2000orXP
    
    Test files exiting with errors:
    
      winDde.test
    
    -----------------------------------------
    --------------------------------------
    
    I am unable to duplicate this failure with regularity:
    
    ---- Result was:
    ok ok
    ---- Result should have been (exact matching):
    timeout ok
    ==== httpold-4.12 FAILED
    
    -----------------------------------------
    --------------------------------------
    
    During the winDde.test failure, the tcltest.exe 
    instances all die in the same spot:
    
    TclpFinalizeThreadDataKey(Tcl_ThreadDataKey_ * * 
    0x00f754b8) line 672 + 3 bytes
    TclFinalizeSynchronization() line 452 + 9 bytes
    Tcl_Finalize() line 859
    Tcl_Exit(int 0x00000000) line 565
    Tcl_ExitObjCmd(void * 0x00000000, Tcl_Interp * 
    0x008d6e10, int 0x00000002, Tcl_Obj * const * 
    0x0026fc94) line 667 + 9 bytes
    TclEvalObjvInternal(Tcl_Interp * 0x008d6e10, int 
    0x00000002, Tcl_Obj * const * 0x0026fc94, const 
    char * 0x0026fd34, int 0x00000006, int 
    0x00000000) line 3055 + 25 bytes
    Tcl_EvalEx(Tcl_Interp * 0x008d6e10, const char * 
    0x0026fd34, int 0x00000006, int 0x00000000) line 
    3654 + 42 bytes
    Tcl_Eval(Tcl_Interp * 0x008d6e10, const char * 
    0x0026fd34) line 3818 + 17 bytes
    Tcl_Main(int 0x00000023, char * * 0x008e1234, int 
    (Tcl_Interp *)* 0x0040d615 Tcl_AppInit(Tcl_Interp 
    *)) line 500 + 19 bytes
    main() line 110 + 19 bytes
    mainCRTStartup() line 338 + 17 bytes
    
    void
    TclpFinalizeThreadDataKey(keyPtr)
        Tcl_ThreadDataKey *keyPtr;
    {
        DWORD *indexPtr;
        if (*keyPtr != NULL) {   // <-- *** CRASH HERE ***
    indexPtr = *(DWORD **)keyPtr;
    TlsFree(*indexPtr);
    ckfree((char *)indexPtr);
    *keyPtr = NULL;
        }
    }
    
    -----------------------------------------
    --------------------------------------
    
    During the unixFCmd.test, a dialog pops up and 
    prompts to create program groups:
    
    NOTE: This test should only be run on Unix, not 
    Windows, and that is the root cause of this oddity.  
    I have attached a screenshot showing the dialog, 
    which is apparently a Borland program related to 
    their install program.
    
    -----------------------------------------
    --------------------------------------
    
    JJM
    
    
    
  4. foundin changed to: "obsolete: 8.4.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "None"
  10. title changed to: "Tcl/Tk threaded test failures on NT4..."
  11. type changed to: "Bug"