Skip to content

Instantly share code, notes, and snippets.

@tkelman
Created December 15, 2014 12:07
Show Gist options
  • Save tkelman/36e33256183f54284780 to your computer and use it in GitHub Desktop.
Save tkelman/36e33256183f54284780 to your computer and use it in GitHub Desktop.
$ gdb --args usr/bin/julia-debug test/runtests.jl numbers
GNU gdb (GDB) 7.8
Copyright (C) 2014 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-pc-cygwin".
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 usr/bin/julia-debug...done.
(gdb) r
Starting program: /home/Tony/julia/usr/bin/julia-debug test/runtests.jl numbers
[New Thread 8812.0x208c]
DW_FORM_strp pointing outside of .debug_str section [in module /home/Tony/julia/usr/lib/julia/sys.DLL]
DW_FORM_strp pointing outside of .debug_str section [in module /home/Tony/julia/usr/lib/julia/sys.DLL]
DW_FORM_strp pointing outside of .debug_str section [in module /home/Tony/julia/usr/lib/julia/sys.dll]
[New Thread 8812.0x32b8]
[New Thread 8812.0x37a0]
[New Thread 8812.0x3364]
[New Thread 8812.0x33ec]
[New Thread 8812.0x96c]
[New Thread 8812.0x2f88]
[New Thread 8812.0x18dc]
[New Thread 8812.0x36f8]
[New Thread 8812.0x2d3c]
* numbers[New Thread 8812.0x2814]
[New Thread 8812.0x2f70]
[New Thread 8812.0xe2c]
[Thread 8812.0x2d3c exited with code 0]
[Thread 8812.0x2f70 exited with code 0]
[Thread 8812.0xe2c exited with code 0]
[Thread 8812.0x2814 exited with code 0]
Program received signal SIGFPE, Arithmetic exception.
0x0000000063041550 in __gmp_exception () from /home/Tony/julia/usr/bin/libgmp.DLL
(gdb) bt
#0 0x0000000063041550 in __gmp_exception () from /home/Tony/julia/usr/bin/libgmp.DLL
#1 0x000000006304158e in __gmp_divide_by_zero () from /home/Tony/julia/usr/bin/libgmp.DLL
#2 0x0000000063052d30 in __gmpz_powm () from /home/Tony/julia/usr/bin/libgmp.DLL
#3 0x000000000edd2d59 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) c
Continuing.
Program received signal SIGILL, Illegal instruction.
0x0000000068ac151f in ?? () from /home/Tony/julia/usr/bin/libssp-0.dll
(gdb) bt
#0 0x0000000068ac151f in ?? () from /home/Tony/julia/usr/bin/libssp-0.dll
#1 0x0000000068ac1545 in libssp-0!.stack_chk_fail () from /home/Tony/julia/usr/bin/libssp-0.dll
#2 0x000000006ea1a521 in jl_trampoline (F=0x1ed0bfd0, args=0x0, nargs=0) at builtins.c:826
#3 0x000000006ea5840d in jl_apply (f=0x1ed0bfd0, args=0x0, nargs=0) at julia.h:988
#4 0x000000006ea589ed in start_task () at task.c:245
#5 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment