Tcl Source Code

Artifact [f25a2c8e2f]
Login

Artifact f25a2c8e2fda52ffd8e18e730a1bc50c7d2aad40:

Attachment "oops.valgrind" to ticket [0ef291c1c2] added by aspect 2016-09-20 10:33:09.
==10718== Memcheck, a memory error detector
==10718== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==10718== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==10718== Command: /home/aspect/Tcl/Env/Build/tcl/tcltest oops.tcl
==10718== 
initialize finalize writeinitialize finalize writeinitialize finalize write==10718== Invalid read of size 4
==10718==    at 0x4FBBAAB: Tcl_DbIncrRefCount (tclObj.c:3712)
==10718==    by 0x4FAA09E: NewListIntRep (tclListObj.c:124)
==10718==    by 0x4FAA236: Tcl_DbNewListObj (tclListObj.c:299)
==10718==    by 0x4FCD883: InitArgsAndLocals (tclProc.c:1487)
==10718==    by 0x4FCDD8F: TclNRInterpProcCore (tclProc.c:1717)
==10718==    by 0x4FCDD46: TclNRInterpProc (tclProc.c:1680)
==10718==    by 0x4E80ECE: Dispatch (tclBasic.c:4358)
==10718==    by 0x4E80F5B: TclNRRunCallbacks (tclBasic.c:4391)
==10718==    by 0x4E807AE: Tcl_EvalObjv (tclBasic.c:4121)
==10718==    by 0x4FA0521: InvokeTclMethod (tclIORTrans.c:2019)
==10718==    by 0x4FA1C2A: TransformWrite (tclIORTrans.c:3174)
==10718==    by 0x4F9FB9D: ReflectOutput (tclIORTrans.c:1296)
==10718==  Address 0x61f2198 is 56 bytes inside a block of size 120 free'd
==10718==    at 0x4C2CD5A: free (vg_replace_malloc.c:530)
==10718==    by 0x4E75B32: TclpFree (tclAlloc.c:722)
==10718==    by 0x4E8E576: Tcl_DbCkfree (tclCkalloc.c:653)
==10718==    by 0x4FB9381: TclFreeObj (tclObj.c:1372)
==10718==    by 0x4FBBC74: Tcl_DbDecrRefCount (tclObj.c:3806)
==10718==    by 0x4FA06E5: InvokeTclMethod (tclIORTrans.c:2074)
==10718==    by 0x4FA1C2A: TransformWrite (tclIORTrans.c:3174)
==10718==    by 0x4F9FB9D: ReflectOutput (tclIORTrans.c:1296)
==10718==    by 0x4F8AC51: ChanWrite (tclIO.c:517)
==10718==    by 0x4F8CF6D: FlushChannel (tclIO.c:2747)
==10718==    by 0x4F8EC77: Write (tclIO.c:4398)
==10718==    by 0x4F8E4C0: Tcl_WriteChars (tclIO.c:4093)
==10718==  Block was alloc'd at
==10718==    at 0x4C2BBAD: malloc (vg_replace_malloc.c:299)
==10718==    by 0x4E75B18: TclpAlloc (tclAlloc.c:699)
==10718==    by 0x4E8DD9C: Tcl_DbCkalloc (tclCkalloc.c:409)
==10718==    by 0x4FD5285: Tcl_DbNewStringObj (tclStringObj.c:331)
==10718==    by 0x4FA0435: InvokeTclMethod (tclIORTrans.c:1989)
==10718==    by 0x4FA1C2A: TransformWrite (tclIORTrans.c:3174)
==10718==    by 0x4F9FB9D: ReflectOutput (tclIORTrans.c:1296)
==10718==    by 0x4F8AC51: ChanWrite (tclIO.c:517)
==10718==    by 0x4F8CF6D: FlushChannel (tclIO.c:2747)
==10718==    by 0x4F8EC77: Write (tclIO.c:4398)
==10718==    by 0x4F8E4C0: Tcl_WriteChars (tclIO.c:4093)
==10718==    by 0x4F97D08: Tcl_PutsObjCmd (tclIOCmd.c:189)
==10718== 
file = /home/aspect/Tcl/Env/src/tcl/generic/tclListObj.c, line = 124
incrementing refCount of previously disposed object
==10718== 
==10718== Process terminating with default action of signal 6 (SIGABRT)
==10718==    at 0x5BE96F5: raise (in /usr/lib64/libc-2.23.so)
==10718==    by 0x5BEB2F9: abort (in /usr/lib64/libc-2.23.so)
==10718==    by 0x4FBD75B: Tcl_PanicVA (tclPanic.c:123)
==10718==    by 0x4FBD7FA: Tcl_Panic (tclPanic.c:160)
==10718==    by 0x4FBBAFB: Tcl_DbIncrRefCount (tclObj.c:3715)
==10718==    by 0x4FAA09E: NewListIntRep (tclListObj.c:124)
==10718==    by 0x4FAA236: Tcl_DbNewListObj (tclListObj.c:299)
==10718==    by 0x4FCD883: InitArgsAndLocals (tclProc.c:1487)
==10718==    by 0x4FCDD8F: TclNRInterpProcCore (tclProc.c:1717)
==10718==    by 0x4FCDD46: TclNRInterpProc (tclProc.c:1680)
==10718==    by 0x4E80ECE: Dispatch (tclBasic.c:4358)
==10718==    by 0x4E80F5B: TclNRRunCallbacks (tclBasic.c:4391)
==10718== 
==10718== HEAP SUMMARY:
==10718==     in use at exit: 782,238 bytes in 6,105 blocks
==10718==   total heap usage: 13,197 allocs, 7,092 frees, 1,728,732 bytes allocated
==10718== 
==10718== LEAK SUMMARY:
==10718==    definitely lost: 0 bytes in 0 blocks
==10718==    indirectly lost: 0 bytes in 0 blocks
==10718==      possibly lost: 0 bytes in 0 blocks
==10718==    still reachable: 782,238 bytes in 6,105 blocks
==10718==         suppressed: 0 bytes in 0 blocks
==10718== Rerun with --leak-check=full to see details of leaked memory
==10718== 
==10718== For counts of detected and suppressed errors, rerun with: -v
==10718== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)