Posted to tcl by mjanssen at Wed Nov 08 12:07:24 GMT 2017view pretty

mark.janssen [~/Downloads/tcltls-1.7.13]$ sudo gdb --args tclsh8.6 crash.tcl
GNU gdb (GDB) 8.0.1
Copyright (C) 2017 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 "x86_64-apple-darwin16.7.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from tclsh8.6...done.
(gdb) run
Starting program: /usr/local/opt/tclsrc/bin/tclsh8.6 crash.tcl
[New Thread 0x1903 of process 61336]
warning: unhandled dyld version (15)
[New Thread 0x1707 of process 61336]
[New Thread 0x1a03 of process 61336]
[New Thread 0x1b03 of process 61336]

Thread 2 received signal SIGILL, Illegal instruction.
0x00007fffc5f95e97 in ?? ()
(gdb) thread apply all bt

Thread 5 (Thread 0x1b03 of process 61336):
#0  0x00007fffc5e9244e in ?? ()
#1  0x00007fffc5f7c621 in ?? ()
#2  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x1a03 of process 61336):
#0  0x00007fffc5e9244e in ?? ()
#1  0x00007fffc5f7c48e in ?? ()
#2  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x1707 of process 61336):
#0  0x00007fffc5e9244e in ?? ()
#1  0x00007fffc5f7c621 in ?? ()
#2  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x1903 of process 61336):
#0  0x00007fffc5f95e97 in ?? ()
#1  0x6332945506e7235b in ?? ()
#2  0xc631aeafe79d0786 in ?? ()
#3  0x0000000102800000 in ?? ()
#4  0x0000000000000000 in ?? ()