Skip to content

Instantly share code, notes, and snippets.

@staticfloat
Last active August 29, 2015 14:22
Show Gist options
  • Save staticfloat/58ad44f65fabe9de15c7 to your computer and use it in GitHub Desktop.
Save staticfloat/58ad44f65fabe9de15c7 to your computer and use it in GitHub Desktop.
Julia backtrace information
$ export LLDB_DEBUGSERVER_PATH=/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/debugserver
$ lldb ./julia
(lldb) target create "./julia"
Current executable set to './julia' (x86_64).
(lldb) r
Process 86238 launched: './julia' (x86_64)
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "help()" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.4.0-dev+5319 (2015-06-11 21:04 UTC)
_/ |\__'_|_|_|\__'_| | sf/pcre2stack/89709d9* (fork: 2 commits, 0 days)
|__/ | x86_64-apple-darwin14.3.0
julia> peakflops()
Process 86238 stopped
* thread #1: tid = 0xbde99, 0x00007fff9883b21a libsystem_kernel.dylib`kevent + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
frame #0: 0x00007fff9883b21a libsystem_kernel.dylib`kevent + 10
libsystem_kernel.dylib`kevent + 10:
-> 0x7fff9883b21a: jae 0x7fff9883b224 ; kevent + 20
0x7fff9883b21c: movq %rax, %rdi
0x7fff9883b21f: jmp 0x7fff98835c53 ; cerror_nocancel
0x7fff9883b224: retq
(lldb) bt
* thread #1: tid = 0xbde99, 0x00007fff9883b21a libsystem_kernel.dylib`kevent + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x00007fff9883b21a libsystem_kernel.dylib`kevent + 10
frame #1: 0x00000001000d1889 libjulia.dylib`uv__io_poll + 1625
frame #2: 0x00000001000b676c libjulia.dylib`uv_run + 220
frame #3: 0x00000001029e5c11 sys.dylib`julia_process_events_17704(block=<unavailable>) + 161 at stream.jl:585
frame #4: 0x00000001029e591d sys.dylib`julia_wait_17702 + 141 at task.jl:298
frame #5: 0x00000001029ebcfa sys.dylib`julia_wait_17884(c=<unavailable>) + 394 at task.jl:225
frame #6: 0x00000001029eb617 sys.dylib`julia_wait_readnb_17872(nb=0x0000000000000001) + 231 at stream.jl:343
frame #7: 0x00000001029eb4cb sys.dylib`julia_eof_17871 + 59 at stream.jl:48
frame #8: 0x00000001029eb381 sys.dylib`julia_match_input_17870(k=<unavailable>, s=<unavailable>, term=<unavailable>, cs=<unavailable>, keymap=<unavailable>) + 113 at LineEdit.jl:751
frame #9: 0x00000001000156c3 libjulia.dylib`jl_apply_generic [inlined] jl_apply(f=<unavailable>, args=0x00007fff5fbfe9b0, nargs=5) + 14 at julia.h:1297
frame #10: 0x00000001000156b5 libjulia.dylib`jl_apply_generic(F=<unavailable>, args=0x00007fff5fbfe9b0, nargs=5) + 293 at gf.c:1625
frame #11: 0x00000001029eb12d sys.dylib`julia_match_input_17865(k=<unavailable>, s=<unavailable>) + 237 at LineEdit.jl:751
frame #12: 0x00000001000156c3 libjulia.dylib`jl_apply_generic [inlined] jl_apply(f=<unavailable>, args=0x00007fff5fbfeca8, nargs=2) + 14 at julia.h:1297
frame #13: 0x00000001000156b5 libjulia.dylib`jl_apply_generic(F=<unavailable>, args=0x00007fff5fbfeca8, nargs=2) + 293 at gf.c:1625
frame #14: 0x00000001029ed1d3 sys.dylib`julia_prompt!_17916(term=<unavailable>, prompt=<unavailable>, s=<unavailable>) + 643 at LineEdit.jl:1575
frame #15: 0x00000001029eecb3 sys.dylib`julia_run_interface_17951 + 227 at LineEdit.jl:1549
frame #16: 0x00000001029eee4d sys.dylib`jlcall_run_interface_17951 + 13
frame #17: 0x00000001000156c3 libjulia.dylib`jl_apply_generic [inlined] jl_apply(f=<unavailable>, args=0x00007fff5fbfee88, nargs=2) + 14 at julia.h:1297
frame #18: 0x00000001000156b5 libjulia.dylib`jl_apply_generic(F=<unavailable>, args=0x00007fff5fbfee88, nargs=2) + 293 at gf.c:1625
frame #19: 0x00000001029f7c0d sys.dylib`julia_run_frontend_18233(repl=<unavailable>, backend=<unavailable>) + 493 at REPL.jl:840
frame #20: 0x00000001029f68e1 sys.dylib`julia_run_repl_18204(repl=<unavailable>) + 353 at REPL.jl:165
frame #21: 0x00000001000156c3 libjulia.dylib`jl_apply_generic [inlined] jl_apply(f=<unavailable>, args=0x00007fff5fbff160, nargs=1) + 14 at julia.h:1297
frame #22: 0x00000001000156b5 libjulia.dylib`jl_apply_generic(F=<unavailable>, args=0x00007fff5fbff160, nargs=1) + 293 at gf.c:1625
frame #23: 0x0000000102a09902 sys.dylib`julia__start_18726 + 3282 at client.jl:446
frame #24: 0x0000000102a09b16 sys.dylib`jlcall__start_18726 + 6
frame #25: 0x00000001000156c3 libjulia.dylib`jl_apply_generic [inlined] jl_apply(f=<unavailable>, args=0x0000000000000000, nargs=0) + 14 at julia.h:1297
frame #26: 0x00000001000156b5 libjulia.dylib`jl_apply_generic(F=<unavailable>, args=0x0000000000000000, nargs=0) + 293 at gf.c:1625
frame #27: 0x00000001000018a4 julia`true_main [inlined] jl_apply(args=0x0000000000000000, nargs=<unavailable>) + 5 at julia.h:1297
frame #28: 0x000000010000189f julia`true_main(argc=<unavailable>, argv=<unavailable>) + 271 at repl.c:454
frame #29: 0x0000000100001776 julia`main(argc=0, argv=0x00007fff5fbff3c0) + 86 at repl.c:528
frame #30: 0x0000000100000d24 julia`start + 52
(lldb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment