Created
March 30, 2014 10:55
-
-
Save tkelman/9871004 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tony@TK-samsung ~/julia/base | |
$ gdb --args ../usr/bin/julia-debug.exe --build /home/Tony/julia/usr/lib/julia/sys -J /home/Tony/julia/usr/lib/julia/sys0.ji -f sysimg.jl | |
GNU gdb (GDB) 7.6 | |
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 "x86_64-w64-mingw32". | |
For bug reporting instructions, please see: | |
<http://www.gnu.org/software/gdb/bugs/>... | |
Reading symbols from D:\code\msys64\home\Tony\julia\usr\bin\julia-debug.exe...done. | |
(gdb) start | |
Temporary breakpoint 1 at 0x4022c8: file repl.c, line 308. | |
Starting program: D:\code\msys64\home\Tony\julia\usr\bin\julia-debug.exe --build D:/code/msys64/home/Tony/julia/usr/lib/julia/sys -J D:/code/msys64/home/Tony/julia/usr/lib/julia/sys0.ji -f sysimg.jl | |
[New Thread 19228.0x900] | |
Temporary breakpoint 1, main (argc=0, argv=0x7) at repl.c:308 | |
308 { | |
(gdb) b jl_errorf | |
Breakpoint 2 at 0x6b6551d0: file builtins.c, line 45. | |
(gdb) run | |
The program being debugged has been started already. | |
Start it from the beginning? (y or n) [answered Y; input not from terminal] | |
Starting program: D:\code\msys64\home\Tony\julia\usr\bin\julia-debug.exe --build D:/code/msys64/home/Tony/julia/usr/lib/julia/sys -J D:/code/msys64/home/Tony/julia/usr/lib/julia/sys0.ji -f sysimg.jl | |
[New Thread 16996.0x4ad4] | |
[New Thread 16996.0x1484] | |
[New Thread 16996.0x110c] | |
[New Thread 16996.0x63c] | |
[New Thread 16996.0x4144] | |
[New Thread 16996.0x4834] | |
[New Thread 16996.0x3c8] | |
[New Thread 16996.0x488c] | |
[New Thread 16996.0x4ac4] | |
Breakpoint 2, jl_errorf (fmt=0x40 <Address 0x40 out of bounds>) | |
at builtins.c:45 | |
45 { | |
(gdb) bt | |
#0 jl_errorf (fmt=0x40 <Address 0x40 out of bounds>) at builtins.c:45 | |
#1 0x000000006b69cd2e in jl_load ( | |
fname=0x1e4bf320 "D:\\code\\msys64\\home\\Tony\\julia\\base") | |
at toplevel.c:544 | |
#2 0x000000006b69cdf0 in jl_load_ (str=0x1e6fdd10) at toplevel.c:560 | |
#3 0x000000000028478a in ?? () | |
#4 0x0000000000000000 in ?? () | |
(gdb) list | |
40 JL_GC_PUSH1(&msg); | |
41 jl_throw(jl_new_struct(jl_errorexception_type, msg)); | |
42 } | |
43 | |
44 void jl_errorf(const char *fmt, ...) | |
45 { | |
46 va_list args; | |
47 ios_t buf; | |
48 ios_mem(&buf, 0); | |
49 va_start(args, fmt); | |
(gdb) print jlbacktrace() | |
$1 = void | |
(gdb) print gdbbacktrace() | |
rec_backtrace at ???: offset 6b6923d9 | |
rec_backtrace_ctx at ???: offset 6b69264e | |
[New Thread 16996.0x40fc] | |
[New Thread 16996.0x4150] | |
[New Thread 16996.0x485c] | |
$2 = void |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment