Posted to tcl by hypnotoad at Tue Sep 02 19:19:24 GMT 2014view pretty

$ gdb ./tclsh86.exe
GNU gdb (GDB) 7.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from c:\odie\sandbox\tcl\win\tclsh86.exe...done.
(gdb) run exit.tcl
Starting program: c:\odie\sandbox\tcl\win/./tclsh86.exe exit.tcl
[New Thread 680.0x6c4]
warning: HEAP[tclsh86.exe]:
warning: Invalid address specified to RtlFreeHeap( 00730000, 00A02D60 )


Program received signal SIGTRAP, Trace/breakpoint trap.
0x77140575 in ntdll!RtlpNtEnumerateSubKey ()
   from C:\Windows\system32\ntdll.dll
(gdb) bt
#0  0x77140575 in ntdll!RtlpNtEnumerateSubKey ()
   from C:\Windows\system32\ntdll.dll
#1  0x77102aba in ntdll!RtlUlonglongByteSwap ()
   from C:\Windows\system32\ntdll.dll
#2  0x00a02d58 in ?? ()
#3  0x771415cf in ntdll!RtlpNtEnumerateSubKey ()
   from C:\Windows\system32\ntdll.dll
#4  0x770fac29 in ntdll!RtlUlonglongByteSwap ()
   from C:\Windows\system32\ntdll.dll
#5  0x00730000 in ?? ()
#6  0x770a34a2 in ntdll!RtlImageNtHeader () from C:\Windows\system32\ntdll.dll
#7  0x769f14ad in KERNEL32!HeapFree () from C:\Windows\syswow64\kernel32.dll
#8  0x6d5ffdcf in TclFreeAllocCache () from c:\odie\sandbox\tcl\win\tcl86.dll
#9  0x6d62c855 in TclpFreeAllocCache () from c:\odie\sandbox\tcl\win\tcl86.dll
#10 0x6d600654 in TclFinalizeThreadAllocThread ()
   from c:\odie\sandbox\tcl\win\tcl86.dll
#11 0x6d593bab in Tcl_Exit () from c:\odie\sandbox\tcl\win\tcl86.dll
#12 0x6d523a36 in Tcl_ExitObjCmd () from c:\odie\sandbox\tcl\win\tcl86.dll
#13 0x6d510480 in Dispatch () from c:\odie\sandbox\tcl\win\tcl86.dll
#14 0x6d5151f5 in TclNRRunCallbacks () from c:\odie\sandbox\tcl\win\tcl86.dll
#15 0x6d51721f in TclEvalEx () from c:\odie\sandbox\tcl\win\tcl86.dll
#16 0x6d5c3a43 in Tcl_FSEvalFileEx () from c:\odie\sandbox\tcl\win\tcl86.dll
#17 0x6d5ca7b3 in Tcl_MainExW () from c:\odie\sandbox\tcl\win\tcl86.dll
#18 0x004039fa in main ()