Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8a15f771ceffb40483592e5065f13bef57f8603b
Ticket: 1981001fffffffffffffffffffffffffffffffff
oo-14.6 freed memory read (was: oo-10.2 panic)
User & Date: das on 2008-06-01 00:22:09
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    oo-10.2 panics, I think this is new with the latest leak changes
     
    Tests running in interp:  ./tcltest
    Tests located in:  tcl/tests
    Tests running in:  .
    Temporary files stored in .
    Test files sourced into current interpreter
    Running tests that match:  oo-10.2
    Skipping test files that match:  l.*.test
    Only running test files that match:  oo.test
    Tests began at Sun Jun 01 02:15:58 CEST 2008
    oo.test
    ---- oo-10.2 start
    Running…
    Pending breakpoint 7 - ""tclPanic.c:92" resolved
    (gdb) bt
    #0  Tcl_PanicVA (format=0x131444 "alloc: invalid block: %p: %x %x", argList=0xbfffc414 "\300\256C") at tcl/generic/tclPanic.c:83
    #1  0x000c9c27 in Tcl_Panic (format=0x131444 "alloc: invalid block: %p: %x %x") at tcl/generic/tclPanic.c:131
    #2  0x000f9209 in Ptr2Block (ptr=0x43aed0 "") at tcl/generic/tclThreadAlloc.c:735
    #3  0x000f88cc in TclpFree (ptr=0x43aed0 "") at tcl/generic/tclThreadAlloc.c:376
    #4  0x0001e5c3 in Tcl_Free (ptr=0x43aed0 "") at tcl/generic/tclCkalloc.c:1182
    #5  0x000dc1de in Tcl_DiscardInterpState (state=0x43aed0) at tcl/generic/tclResult.c:192
    #6  0x000dc122 in Tcl_RestoreInterpState (interp=0x1aac10, state=0x43aed0) at tcl/generic/tclResult.c:155
    #7  0x00015607 in CallCommandTraces (iPtr=0x1aac10, cmdPtr=0x3be710, oldName=0x4361b0 "::O", newName=0x0, flags=16512) at tcl/generic/tclBasic.c:2928
    #8  0x0001527e in Tcl_DeleteCommandFromToken (interp=0x1aac10, cmd=0x3be710) at tcl/generic/tclBasic.c:2742
    #9  0x000bf406 in TclOO_Object_Destroy (clientData=0x0, interp=0x1aac10, context=0x1b2d60, objc=2, objv=0x1b2c40) at tcl/generic/tclOOBasic.c:233
    #10 0x000c0c79 in TclOOInvokeContext (interp=0x1aac10, contextPtr=0x1b2d60, objc=2, objv=0x1b2c40) at tcl/generic/tclOOCall.c:287
    #11 0x000bea4e in TclOOObjectCmdCore (oPtr=0x3be410, interp=0x1aac10, objc=2, objv=0x1b2c40, flags=1, startCls=0x0) at tcl/generic/tclOO.c:1912
    #12 0x000be6b1 in PublicObjectCmd (clientData=0x3be410, interp=0x1aac10, objc=2, objv=0x1b2c40) at tcl/generic/tclOO.c:1778
    #13 0x00016898 in TclEvalObjvInternal (interp=0x1aac10, objc=2, objv=0x1b2c40, command=0x42fd95 "O destroy\n", length=10, flags=0) at tcl/generic/tclBasic.c:3650
    #14 0x000179c2 in TclEvalEx (interp=0x1aac10, script=0x42fd90 "\n    O destroy\n", numBytes=15, flags=262144, line=2) at tcl/generic/tclBasic.c:4297
    #15 0x00017117 in Tcl_EvalEx (interp=0x1aac10, script=0x42fd90 "\n    O destroy\n", numBytes=15, flags=262144) at tcl/generic/tclBasic.c:4003
    #16 0x00018104 in TclEvalObjEx (interp=0x1aac10, objPtr=0x4304b0, flags=262144, invoker=0x0, word=0) at tcl/generic/tclBasic.c:4675
    #17 0x00017e07 in Tcl_EvalObjEx (interp=0x1aac10, objPtr=0x0, flags=262144) at tcl/generic/tclBasic.c:4556
    #18 0x000d811c in Tcl_UplevelObjCmd (dummy=0x0, interp=0x1aac10, objc=1, objv=0x1b2a84) at tcl/generic/tclProc.c:911
    #19 0x00016898 in TclEvalObjvInternal (interp=0x1aac10, objc=3, objv=0x1b2a7c, command=0xffffffff <Address 0xffffffff out of bounds>, length=-1, flags=0) at tcl/generic/tclBasic.c:3650
    #20 0x00070915 in TclExecuteByteCode (interp=0x1aac10, codePtr=0x419010) at tcl/generic/tclExecute.c:2327
    #21 0x000d9331 in TclObjInterpProcCore (interp=0x1aac10, procNameObj=0x430900, skip=1, errorProc=0xd99c9 <MakeProcError>) at tcl/generic/tclProc.c:1721
    #22 0x000d8f2b in TclObjInterpProc (clientData=0x337750, interp=0x1aac10, objc=11, objv=0x1b2690) at tcl/generic/tclProc.c:1615
    #23 0x000af2aa in InvokeImportedCmd (clientData=0x3356d0, interp=0x1aac10, objc=11, objv=0x1b2690) at tcl/generic/tclNamesp.c:1889
    #24 0x00016898 in TclEvalObjvInternal (interp=0x1aac10, objc=11, objv=0x1b2690, command=0x41f877 "test oo-10.2 {OO: recursive invoke and modify} -setup {\n    oo::object create O\n} -cleanup {\n    O destroy\n} -body {\n    oo::objdefine O method foo {} {\n\too::objdefine [self] method foo {} {\n\t    erro"..., length=281, flags=0) at tcl/generic/tclBasic.c:3650
    #25 0x000179c2 in TclEvalEx (interp=0x1aac10, script=0x41b010 "# This file contains a collection of tests for Tcl's built-in object system.\n# Sourcing this file into Tcl runs the tests and generates output for errors.\n# No output means no errors were found.\n#\n# C"..., numBytes=49556, flags=0, line=664) at tcl/generic/tclBasic.c:4297
    #26 0x00017117 in Tcl_EvalEx (interp=0x1aac10, script=0x41b010 "# This file contains a collection of tests for Tcl's built-in object system.\n# Sourcing this file into Tcl runs the tests and generates output for errors.\n# No output means no errors were found.\n#\n# C"..., numBytes=49556, flags=0) at tcl/generic/tclBasic.c:4003
    #27 0x000a3be7 in Tcl_FSEvalFileEx (interp=0x1aac10, pathPtr=0x3da6f8, encodingName=0x0) at tcl/generic/tclIOUtil.c:1776
    #28 0x0002ebfd in Tcl_SourceObjCmd (dummy=0x0, interp=0x1aac10, objc=2, objv=0x3bcc60) at tcl/generic/tclCmdMZ.c:955
    #29 0x00016898 in TclEvalObjvInternal (interp=0x1aac10, objc=2, objv=0x3bcc60, command=0x0, length=0, flags=262144) at tcl/generic/tclBasic.c:3650
    #30 0x00016f4c in Tcl_EvalObjv (interp=0x1aac10, objc=2, objv=0x3bcc60, flags=262144) at tcl/generic/tclBasic.c:3845
    #31 0x00018038 in TclEvalObjEx (interp=0x1aac10, objPtr=0x3da5f0, flags=262144, invoker=0x0, word=0) at tcl/generic/tclBasic.c:4644
    #32 0x00017e07 in Tcl_EvalObjEx (interp=0x1aac10, objPtr=0x0, flags=262144) at tcl/generic/tclBasic.c:4556
    #33 0x000d811c in Tcl_UplevelObjCmd (dummy=0x0, interp=0x1aac10, objc=1, objv=0x1b24a0) at tcl/generic/tclProc.c:911
    #34 0x00016898 in TclEvalObjvInternal (interp=0x1aac10, objc=3, objv=0x1b2498, command=0xffffffff <Address 0xffffffff out of bounds>, length=-1, flags=0) at tcl/generic/tclBasic.c:3650
    #35 0x00070915 in TclExecuteByteCode (interp=0x1aac10, codePtr=0x347010) at tcl/generic/tclExecute.c:2327
    #36 0x000d9331 in TclObjInterpProcCore (interp=0x1aac10, procNameObj=0x30b2a0, skip=1, errorProc=0xd99c9 <MakeProcError>) at tcl/generic/tclProc.c:1721
    #37 0x000d8f2b in TclObjInterpProc (clientData=0x313190, interp=0x1aac10, objc=1, objv=0x1b21e0) at tcl/generic/tclProc.c:1615
    #38 0x000af2aa in InvokeImportedCmd (clientData=0x382fd0, interp=0x1aac10, objc=1, objv=0x1b21e0) at tcl/generic/tclNamesp.c:1889
    #39 0x00016898 in TclEvalObjvInternal (interp=0x1aac10, objc=1, objv=0x1b21e0, command=0x1d3666 "runAllTests\n", length=12, flags=0) at tcl/generic/tclBasic.c:3650
    #40 0x000179c2 in TclEvalEx (interp=0x1aac10, script=0x1d3410 "# all.tcl --\n#\n# This file contains a top-level script to run all of the Tcl\n# tests.  Execute it by invoking \"source all.test\" when running tcltest\n# in this directory.\n#\n# Copyright (c) 1998-1999 by"..., numBytes=610, flags=0, line=19) at tcl/generic/tclBasic.c:4297
    #41 0x00017117 in Tcl_EvalEx (interp=0x1aac10, script=0x1d3410 "# all.tcl --\n#\n# This file contains a top-level script to run all of the Tcl\n# tests.  Execute it by invoking \"source all.test\" when running tcltest\n# in this directory.\n#\n# Copyright (c) 1998-1999 by"..., numBytes=610, flags=0) at tcl/generic/tclBasic.c:4003
    #42 0x000a3be7 in Tcl_FSEvalFileEx (interp=0x1aac10, pathPtr=0x1af8b0, encodingName=0x0) at tcl/generic/tclIOUtil.c:1776
    #43 0x000ac72c in Tcl_Main (argc=-1, argv=0xbffff438, appInitProc=0x116985 <Tcl_AppInit>) at tcl/generic/tclMain.c:443
    #44 0x0011697a in main (argc=10, argv=0xbffff410) at tcl/unix/tclAppInit.c:87
    (gdb) c
    Continuing.
    alloc: invalid block: 0x43aec0: c0 0
    Program received signal:  “SIGABRT”.
    
    
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "8"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "das"
  10. subsystem changed to: "35. TclOO Package"
  11. title changed to: "oo-10.2 panic"
  12. type changed to: "Bug"