Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 60b36b7dbf05a8a2640b6e3b41da7a2cb7df3c82
Ticket: 759749ffffffffffffffffffffffffffffffffff
dict.test fails - tcltest dumps core
User & Date: mmokrejs on 2003-06-24 10:57:20
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Hi,
      on Tru64Unxi 5.1A current cvs compiled with cc fails
    with this test:
    
    
    $ make test TESTFLAGS="-file dict.test"
    LD_LIBRARY_PATH=`pwd`:/software/@sys/usr/lib:/usr/local/lib:/usr/local/openssl/lib:/usr/lib:/usr/share/lib:/usr/shlib:;
    export LD_LIBRARY_PATH; \
    TCL_LIBRARY="/mnt/cvs-tcl/library"; export TCL_LIBRARY; \
    ./tcltest ./../tests/all.tcl -file dict.test 
    Tests running in interp:  /mnt/cvs-tcl/unix/tcltest
    Tests located in:  /mnt/cvs-tcl/tests
    Tests running in:  /mnt/cvs-tcl/unix
    Temporary files stored in /mnt/cvs-tcl/unix
    Test files run in separate interpreters
    Running tests that match:  *
    Skipping test files that match:  l.*.test
    Only running test files that match:  dict.test
    Tests began at Tue Jun 24 12:47:15 MEST 2003
    dict.test
    Test file error: child killed: floating-point exception
    
    Tests ended at Tue Jun 24 12:47:15 MEST 2003
    all.tcl:        Total   0       Passed  0       Skipped
    0       Failed  0
    Sourced 1 Test Files.
    
    Test files exiting with errors:  
    
      dict.test
    
    $ file core
    core:   core dump, generated from 'tcltest'
    $
    
    $ dbx ./tcltest ./core
    dbx version 5.1
    Type 'help' for help.
    Core file created by program "tcltest"
    
    signal Floating point exception at   [Tcl_HashStats:769
    +0x1c,0x3ffbffa0f0c]    average +=
    (tmp+1.0)*(tmp/tablePtr->numEntries)/2.0;
    
    warning: Files compiled -g3: parameter values probably
    wrong
    (dbx) where
    >  0 Tcl_HashStats(tablePtr = 0x140091c00)
    ["./../generic/tclHash.c":769, 0x3ffbffa0f0c]
       1 DictInfoCmd(interp = 0x140008c00, objc = 3, objv =
    0x11fff9670) ["./../generic/tclDictObj.c":1654,
    0x3ffbff86180]
       2 Tcl_DictObjCmd(clientData = (nil), interp =
    0x140008c00, objc = 3, objv = 0x11fff9670)
    ["./../generic/tclDictObj.c":2562, 0x3ffbff887cc]
       3 TclEvalObjvInternal(interp = 0x140008c00, objc =
    3, objv = 0x11fff9670, command = 0x1400bf1c7 = "dict
    info {}\n    subst {}\n", length = 13, flags = 0)
    ["./../generic/tclBasic.c":3111, 0x3ffbff4fe04]
       4 Tcl_EvalEx(interp = 0x140008c00, script =
    0x1400bf140 = "\n    # Actual string returned by this
    command is undefined; it is\n    # intended for human
    consumption and not for use by scripts.\n    d\...",
    numBytes = 161, flags = 262144)
    ["./../generic/tclBasic.c":3540, 0x3ffbff50624]
       5 Tcl_EvalObjEx(interp = 0x140008c00, objPtr =
    0x1400106b0, flags = 262144)
    ["./../generic/tclBasic.c":3763, 0x3ffbff50c04]
       6 Tcl_UplevelObjCmd(dummy = (nil), interp =
    0x140008c00, objc = 1, objv = 0x140016048)
    ["./../generic/tclProc.c":674, 0x3ffbffd3b50]
       7 TclEvalObjvInternal(interp = 0x140008c00, objc =
    3, objv = 0x140016038, command = (nil), length = 0,
    flags = 0) ["./../generic/tclBasic.c":3111, 0x3ffbff4fe04]
       8 TclExecuteByteCode(interp = 0x140008c00, codePtr =
    0x140097e00) ["./../generic/tclExecute.c":1407,
    0x3ffbff8fb34]
       9 TclCompEvalObj(interp = 0x140008c00, objPtr =
    0x140060da0) ["./../generic/tclExecute.c":986,
    0x3ffbff8f290]
      10 TclObjInterpProc(clientData = 0x14005de80, interp
    = 0x140008c00, objc = 3, objv = 0x14009f0a0)
    ["./../generic/tclProc.c":1080, 0x3ffbffd43c4]
      11 TclEvalObjvInternal(interp = 0x140008c00, objc =
    3, objv = 0x14009f0a0, command = 0x3fffffeb478 = "",
    length = 0, flags = 262144)
    ["./../generic/tclBasic.c":3111, 0x3ffbff4fe04]
      12 Tcl_EvalObjv(interp = 0x140008c00, objc = 3, objv
    = 0x14009f0a0, flags = 262144)
    ["./../generic/tclBasic.c":3222, 0x3ffbff50078]
      13 Tcl_EvalObjEx(interp = 0x140008c00, objPtr =
    0x14009b580, flags = 262144)
    ["./../generic/tclBasic.c":3759, 0x3ffbff50bc0]
      14 Tcl_UplevelObjCmd(dummy = (nil), interp =
    0x140008c00, objc = 1, objv = 0x140016030)
    ["./../generic/tclProc.c":674, 0x3ffbffd3b50]
      15 TclEvalObjvInternal(interp = 0x140008c00, objc =
    3, objv = 0x140016020, command = (nil), length = 0,
    flags = 0) ["./../generic/tclBasic.c":3111, 0x3ffbff4fe04]
      16 TclExecuteByteCode(interp = 0x140008c00, codePtr =
    0x14009e000) ["./../generic/tclExecute.c":1407,
    0x3ffbff8fb34]
      17 TclCompEvalObj(interp = 0x140008c00, objPtr =
    0x140061070) ["./../generic/tclExecute.c":986,
    0x3ffbff8f290]
      18 TclObjInterpProc(clientData = 0x1400667c0, interp
    = 0x140008c00, objc = 3, objv = 0x140090020)
    ["./../generic/tclProc.c":1080, 0x3ffbffd43c4]
      19 TclEvalObjvInternal(interp = 0x140008c00, objc =
    3, objv = 0x140090020, command = 0x3fffffeb478 = "",
    length = 0, flags = 262144)
    ["./../generic/tclBasic.c":3111, 0x3ffbff4fe04]
      20 Tcl_EvalObjv(interp = 0x140008c00, objc = 3, objv
    = 0x140090020, flags = 262144)
    ["./../generic/tclBasic.c":3222, 0x3ffbff50078]
      21 Tcl_EvalObjEx(interp = 0x140008c00, objPtr =
    0x140093610, flags = 262144)
    ["./../generic/tclBasic.c":3759, 0x3ffbff50bc0]
      22 Tcl_UplevelObjCmd(dummy = (nil), interp =
    0x140008c00, objc = 1, objv = 0x140016018)
    ["./../generic/tclProc.c":674, 0x3ffbffd3b50]
      23 TclEvalObjvInternal(interp = 0x140008c00, objc =
    3, objv = 0x140016008, command = (nil), length = 0,
    flags = 0) ["./../generic/tclBasic.c":3111, 0x3ffbff4fe04]
      24 TclExecuteByteCode(interp = 0x140008c00, codePtr =
    0x14008b000) ["./../generic/tclExecute.c":1407,
    0x3ffbff8fb34]
      25 TclCompEvalObj(interp = 0x140008c00, objPtr =
    0x140061130) ["./../generic/tclExecute.c":986,
    0x3ffbff8f290]
      26 TclObjInterpProc(clientData = 0x14005e540, interp
    = 0x140008c00, objc = 5, objv = 0x11fffb980)
    ["./../generic/tclProc.c":1080, 0x3ffbffd43c4]
      27 InvokeImportedCmd(clientData = 0x14005c480, interp
    = 0x140008c00, objc = 5, objv = 0x11fffb980)
    ["./../generic/tclNamesp.c":1475, 0x3ffbffbfa94]
      28 TclEvalObjvInternal(interp = 0x140008c00, objc =
    5, objv = 0x11fffb980, command = 0x14003a269 = "test
    dict-10.1 {dict info command} {\n    # Actual string
    returned by this command is undefined; it is\n    #
    intended for human consumpti\...", length = 202, flags
    = 0) ["./../generic/tclBasic.c":3111, 0x3ffbff4fe04]
      29 Tcl_EvalEx(interp = 0x140008c00, script =
    0x140038020 = "# This test file covers the dictionary
    object type and the dict\n# command used to work with
    values of that type.\n#\n# This file contains \...",
    numBytes = 25528, flags = 0)
    ["./../generic/tclBasic.c":3540, 0x3ffbff50624]
      30 Tcl_FSEvalFile(interp = 0x140008c00, pathPtr =
    0x14000d490) ["./../generic/tclIOUtil.c":1420,
    0x3ffbffb58c4]
      31 Tcl_Main(argc = 35, argv = 0x11fffc020,
    appInitProc = 0x120005c4c)
    ["./../generic/tclMain.c":292, 0x3ffbffbd1c8]
      32 main(argc = 36, argv = 0x11fffc018)
    ["./../unix/tclAppInit.c":90, 0x120005c30]
    (dbx) 
    
  4. foundin changed to: "obsolete: 8.5a0"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "mmokrejs"
  9. subsystem changed to: "34. tcltest Package"
  10. title changed to: "dict.test fails - tcltest dumps core"
  11. type changed to: "Bug"