Posted to tcl by hypnotoad at Fri Dec 29 23:37:09 GMT 2017view pretty

Deleteing variable ::errorCode
alloc: invalid block: 0x102a3ac40: 40 2
Process 4995 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00007fff7b2d9e3e libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill:
->  0x7fff7b2d9e3e <+10>: jae    0x7fff7b2d9e48            ; <+20>
    0x7fff7b2d9e40 <+12>: movq   %rax, %rdi
    0x7fff7b2d9e43 <+15>: jmp    0x7fff7b2d10b8            ; cerror_nocancel
    0x7fff7b2d9e48 <+20>: retq   
Target 0: (tcltest) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
  * frame #0: 0x00007fff7b2d9e3e libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x00007fff7b418150 libsystem_pthread.dylib`pthread_kill + 333
    frame #2: 0x00007fff7b236312 libsystem_c.dylib`abort + 127
    frame #3: 0x0000000100241cfd libtcl8.7.dylib`Tcl_PanicVA(format="alloc: invalid block: %p: %x %x", argList=0x00007ffeefbfec10) at tclPanic.c:123
    frame #4: 0x0000000100241e59 libtcl8.7.dylib`Tcl_Panic(format="alloc: invalid block: %p: %x %x") at tclPanic.c:160
    frame #5: 0x000000010026fc2f libtcl8.7.dylib`Ptr2Block(ptr="`\x88#") at tclThreadAlloc.c:833
    frame #6: 0x000000010026fa3c libtcl8.7.dylib`TclpFree(ptr="`\x88#") at tclThreadAlloc.c:399
    frame #7: 0x000000010025356e libtcl8.7.dylib`Tcl_EventuallyFree(clientData=0x0000000102a3ac50, freeProc=0x0000000000000003) at tclPreserve.c:294
    frame #8: 0x0000000100284d17 libtcl8.7.dylib`UnsetVarStruct(varPtr=0x0000000102a2a410, arrayPtr=0x0000000000000000, iPtr=0x00000001029d4e10, part1Ptr=0x0000000102a72a30, part2Ptr=0x0000000000000000, flags=1, index=-1) at tclVar.c:2537
    frame #9: 0x0000000100289709 libtcl8.7.dylib`TclDeleteNamespaceVars(nsPtr=0x0000000102a3b210) at tclVar.c:5183
    frame #10: 0x0000000100235264 libtcl8.7.dylib`TclTeardownNamespace(nsPtr=0x0000000102a3b210) at tclNamesp.c:1113
    frame #11: 0x00000001000eba3d libtcl8.7.dylib`DeleteInterpProc(interp=0x00000001029d4e10) at tclBasic.c:1467
    frame #12: 0x000000010025357d libtcl8.7.dylib`Tcl_EventuallyFree(clientData=0x00000001029d4e10, freeProc=(libtcl8.7.dylib`DeleteInterpProc at tclBasic.c:1383)) at tclPreserve.c:296
    frame #13: 0x00000001000eb82b libtcl8.7.dylib`Tcl_DeleteInterp(interp=0x00000001029d4e10) at tclBasic.c:1356
    frame #14: 0x0000000100205719 libtcl8.7.dylib`SlaveObjCmdDeleteProc(clientData=0x00000001029d4e10) at tclInterp.c:2702
    frame #15: 0x00000001000ecd1f libtcl8.7.dylib`Tcl_DeleteCommandFromToken(interp=0x0000000103800010, cmd=0x0000000102a99e10) at tclBasic.c:3218
    frame #16: 0x0000000100235350 libtcl8.7.dylib`TclTeardownNamespace(nsPtr=0x0000000101009a10) at tclNamesp.c:1139
    frame #17: 0x0000000100233f82 libtcl8.7.dylib`Tcl_DeleteNamespace(namespacePtr=0x0000000101009a10) at tclNamesp.c:1033
    frame #18: 0x000000010023973f libtcl8.7.dylib`NamespaceDeleteCmd(dummy=0x0000000000000000, interp=0x0000000103800010, objc=2, objv=0x000000010286ec20) at tclNamesp.c:3291
    frame #19: 0x00000001000f398e libtcl8.7.dylib`Dispatch(data=0x000000010291a808, interp=0x0000000103800010, result=0) at tclBasic.c:4452
    frame #20: 0x00000001000ef7e6 libtcl8.7.dylib`TclNRRunCallbacks(interp=0x0000000103800010, result=0, rootPtr=0x0000000000000000) at tclBasic.c:4485
    frame #21: 0x00000001000ef514 libtcl8.7.dylib`Tcl_EvalObjv(interp=0x0000000103800010, objc=3, objv=0x00000001038042f0, flags=2097168) at tclBasic.c:4215
    frame #22: 0x00000001000f0ee8 libtcl8.7.dylib`TclEvalEx(interp=0x0000000103800010, script="# This file contains a collection of tests for the msgcat package.\n# Sourcing this file into Tcl runs the tests and\n# generates output for errors.  No output means no errors were found.\n#\n# Copyright (c) 1998 Mark Harrison.\n# Copyright (c) 1998-1999 by Scriptics Corporation.\n# Contributions from Don Porter, NIST, 2002.  (not subject to US copyright)\n#\n# See the file \"license.terms\" for information on usage and redistribution\n# of this file, and for a DISCLAIMER OF ALL WARRANTIES.\n#\n# Note that after running these tests, entries will be left behind in the\n# message catalogs for locales foo, foo_BAR, and foo_BAR_baz.\n\npackage require Tcl 8.5-\nif {[catch {package require tcltest 2}]} {\n    puts stderr \"Skipping tests in [info script].  tcltest 2 required.\"\n    return\n}\nif {[catch {package require msgcat 1.6}]} {\n    puts stderr \"Skipping tests in [info script].  No msgcat 1.6 found to test.\"\n    return\n}\n\nnamespace eval ::msgcat::test {\n    namespace import ::msgcat::*\n    namespace import ::tcltest::test\n    na"..., numBytes=29001, flags=0, line=1081, clNextOuter=0x0000000000000000, outerScript="# This file contains a collection of tests for the msgcat package.\n# Sourcing this file into Tcl runs the tests and\n# generates output for errors.  No output means no errors were found.\n#\n# Copyright (c) 1998 Mark Harrison.\n# Copyright (c) 1998-1999 by Scriptics Corporation.\n# Contributions from Don Porter, NIST, 2002.  (not subject to US copyright)\n#\n# See the file \"license.terms\" for information on usage and redistribution\n# of this file, and for a DISCLAIMER OF ALL WARRANTIES.\n#\n# Note that after running these tests, entries will be left behind in the\n# message catalogs for locales foo, foo_BAR, and foo_BAR_baz.\n\npackage require Tcl 8.5-\nif {[catch {package require tcltest 2}]} {\n    puts stderr \"Skipping tests in [info script].  tcltest 2 required.\"\n    return\n}\nif {[catch {package require msgcat 1.6}]} {\n    puts stderr \"Skipping tests in [info script].  No msgcat 1.6 found to test.\"\n    return\n}\n\nnamespace eval ::msgcat::test {\n    namespace import ::msgcat::*\n    namespace import ::tcltest::test\n    na"...) at tclBasic.c:5354
    frame #23: 0x0000000100226ed1 libtcl8.7.dylib`Tcl_FSEvalFileEx(interp=0x0000000103800010, pathPtr=0x0000000103845940, encodingName=0x0000000000000000) at tclIOUtil.c:1858
    frame #24: 0x00000001002328d8 libtcl8.7.dylib`Tcl_MainEx(argc=-1, argv=0x00007ffeefbff928, appInitProc=(tcltest`Tcl_AppInit at tclAppInit.c:112), interp=0x0000000103800010) at tclMain.c:420
    frame #25: 0x00000001000027b5 tcltest`main(argc=2, argv=0x00007ffeefbff918) at tclAppInit.c:86
    frame #26: 0x00007fff7b18a115 libdyld.dylib`start + 1
    frame #27: 0x00007fff7b18a115 libdyld.dylib`start + 1