-
-
Save ararslan/4347c22e925e98f5fcacda5b438854a9 to your computer and use it in GitHub Desktop.
gdb from ports, Julia pkg test
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
[12:32:26] alex:julia git:(master) $ JULIA_CPU_CORES=2 JULIA_TEST_MAXRSS_MB=600 /usr/local/bin/gdb --args ./julia test/runtests.jl pkg | |
GNU gdb (GDB) 7.12.1 [GDB v7.12.1 for FreeBSD] | |
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-portbld-freebsd11.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 ./julia...done. | |
(gdb) run | |
Starting program: /usr/home/alex/Projects/julia/julia test/runtests.jl pkg | |
[New LWP 100833 of process 2868] | |
[New LWP 100834 of process 2868] | |
[New LWP 100835 of process 2868] | |
[New LWP 100836 of process 2868] | |
Test (Worker) | Time (s) | GC (s) | GC % | Alloc (MB) | RSS (MB) | |
INFO: Initializing package repository /tmp/OdagORXt/v0.7 | |
INFO: Cloning METADATA from https://github.com/JuliaLang/METADATA.jl | |
INFO: No packages to install, update or remove | |
[LWP 100835 of process 2868 exited] | |
[LWP 100834 of process 2868 exited] | |
[LWP 100836 of process 2868 exited] | |
0x00000008032ee980 in __jit_debug_register_code () from /usr/home/alex/Projects/julia/usr/lib/libLLVM-3.9.so | |
ptrace: No such process. | |
(gdb) bt | |
#0 0x00000008032ee980 in __jit_debug_register_code () from /usr/home/alex/Projects/julia/usr/lib/libLLVM-3.9.so | |
#1 0x00000008009199b1 in (anonymous namespace)::NotifyDebugger (JITCodeEntry=<optimized out>) at jitlayers.cpp:321 | |
#2 JuliaOJIT::DebugObjectRegistrar::NotifyGDB (this=<optimized out>, DebugObj=...) at jitlayers.cpp:446 | |
#3 JuliaOJIT::DebugObjectRegistrar::registerObject<llvm::object::ObjectFile*, std::__1::unique_ptr<llvm::RuntimeDyld::LoadedObjectInfo, std::__1::default_delete<llvm::RuntimeDyld::LoadedObjectInfo> > > (this=0x80f8711f8, H=..., | |
Object=@0x7fffffffbc10: 0x81e7f57c0, LO=...) at jitlayers.cpp:378 | |
#4 0x000000080091941c in JuliaOJIT::DebugObjectRegistrar::operator()<std::__1::vector<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > >, std::__1::allocator<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > > > >, std::__1::vector<std::__1::unique_ptr<llvm::RuntimeDyld::LoadedObjectInfo, std::__1::default_delete<llvm::RuntimeDyld::LoadedObjectInfo> >, std::__1::allocator<std::__1::unique_ptr<llvm::RuntimeDyld::LoadedObjectInfo, std::__1::default_delete<llvm::RuntimeDyld::LoadedObjectInfo> > > > > ( | |
this=0x80f8711f8, H=..., Objects=..., LOS=...) at jitlayers.cpp:426 | |
#5 std::__1::__invoke<JuliaOJIT::DebugObjectRegistrar&, std::__1::__list_iterator<std::__1::unique_ptr<llvm::orc::ObjectLinkingLayerBase::LinkedObjectSet, std::__1::default_delete<llvm::orc::ObjectLinkingLayerBase::LinkedObjectSet> >, void*>&, std::__1::vector<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > >, std::__1::allocator<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > > > > const&, std::__1::vector<std::__1::unique_ptr<llvm::RuntimeDyld::LoadedObjectInfo, std::__1::default_delete<llvm::RuntimeDyld::LoadedObjectInfo> >, std::__1::allocator<std::__1::unique_ptr<llvm::RuntimeDyld::LoadedObjectInfo, std::__1::default_delete<llvm::RuntimeDyld::LoadedObjectInfo> > > >&> (__f=..., __args=..., __args=..., __args=...) | |
at /usr/include/c++/v1/type_traits:4301 | |
#6 std::__1::reference_wrapper<JuliaOJIT::DebugObjectRegistrar>::operator()<std::__1::__list_iterator<std::__1::unique_ptr<llvm::orc::ObjectLinkingLayerBase::LinkedObjectSet, std::__1::default_delete<llvm::orc::ObjectLinkingLayerBase::LinkedObjectSet> >, void*>&, std::__1::vector<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > >, std::__1::allocator<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > > > > const&, std::__1::vector<std::__1::unique_ptr<llvm::RuntimeDyld::LoadedObjectInfo, std::__1::default_delete<llvm::RuntimeDyld::LoadedObjectInfo> >, std::__1::allocator<std::__1::unique_ptr<llvm::RuntimeDyld::LoadedObjectInfo, std::__1::default_delete<llvm::RuntimeDyld::LoadedObjectInfo> > > >&> (this=<optimized out>, __args=..., | |
__args=..., __args=...) at /usr/include/c++/v1/__functional_base:412 | |
#7 std::__1::__list_iterator<std::__1::unique_ptr<llvm::orc::ObjectLinkingLayerBase::LinkedObjectSet, std::__1::default_delete<llvm::orc::ObjectLinkingLayerBase::LinkedObjectSet> >, void*> llvm::orc::ObjectLinkingLayer<std::__1::reference_wrapper<JuliaOJIT::DebugObjectRegistrar> >::addObjectSet<std::__1::vector<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > >, std::__1::allocator<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > > > >, llvm::RTDyldMemoryManager*, std::__1::unique_ptr<llvm::orc::LambdaResolver<JuliaOJIT::addModule(std::__1::unique_ptr<llvm::Module, std::__1::default_delete<llvm::Module> >)::$_0, JuliaOJIT::addModule(std::__1::unique_ptr<llvm::Module, std::__1::default_delete<llvm::Module> >)::$_1>, std::__1::default_dele---Type <return> to continue, or q <return> to quit--- | |
te<llvm::orc::LambdaResolver<JuliaOJIT::addModule(std::__1::unique_ptr<llvm::Module, std::__1::default_delete<llvm::Module> >)::$_0, JuliaOJIT::addModule(std::__1::unique_ptr<llvm::Module, std::__1::default_delete<llvm::Module> >)::$_1> > > >(std::__1::vector<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > >, std::__1::allocator<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > > > >, llvm::RTDyldMemoryManager*, std::__1::unique_ptr<llvm::orc::LambdaResolver<JuliaOJIT::addModule(std::__1::unique_ptr<llvm::Module, std::__1::default_delete<llvm::Module> >)::$_0, JuliaOJIT::addModule(std::__1::unique_ptr<llvm::Module, std::__1::default_delete<llvm::Module> >)::$_1>, std::__1::default_delete<llvm::orc::LambdaResolver<JuliaOJIT::addModule(std::__1::unique_ptr<llvm::Module, std::__1::default_delete<llvm::Module> >)::$_0, JuliaOJIT::addModule(std::__1::unique_ptr<llvm::Module, std::__1::default_delete<llvm::Module> >)::$_1> > >)::{lambda(std::__1::__list_iterator<std::__1::unique_ptr<llvm::orc::ObjectLinkingLayerBase::LinkedObjectSet, std::__1::default_delete<llvm::orc::ObjectLinkingLayerBase::LinkedObjectSet> >, void*>, llvm::RuntimeDyld&, std::__1::vector<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > >, std::__1::allocator<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > > > > const&, std::__1::function<void ()>)#1}::operator()(std::__1::__list_iterator<std::__1::unique_ptr<llvm::orc::ObjectLinkingLayerBase::LinkedObjectSet, std::__1::default_delete<llvm::orc::ObjectLinkingLayerBase::LinkedObjectSet> >, void*>, llvm::RuntimeDyld&, std::__1::vector<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > >, std::__1::allocator<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > > > > const&, std::__1::function<void ()>) const ( | |
this=<optimized out>, H=..., RTDyld=..., Objs=..., LOSHandleLoad=...) | |
at /usr/home/alex/Projects/julia/usr/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h:262 | |
#8 llvm::orc::ObjectLinkingLayer<std::__1::reference_wrapper<JuliaOJIT::DebugObjectRegistrar> >::ConcreteLinkedObjectSet<std::__1::vector<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > >, std::__1::allocator<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > > > >, llvm::RTDyldMemoryManager*, std::__1::unique_ptr<llvm::orc::LambdaResolver<JuliaOJIT::addModule(std::__1::unique_ptr<llvm::Module, std::__1::default_delete<llvm::Module> >)::$_0, JuliaOJIT::addModule(std::__1::unique_ptr<llvm::Module, std::__1::default_delete<llvm::Module> >)::$_1>, std::__1::default_delete<llvm::orc::LambdaResolver<JuliaOJIT::addModule(std::__1::unique_ptr<llvm::Module, std::__1::default_delete<llvm::Module> >)::$_0, JuliaOJIT::addModule(std::__1::unique_ptr<llvm::Module, std::__1::default_delete<llvm::Module> >)::$_1> > >, std::__1::__list_iterator<std::__1::unique_ptr<llvm::orc::ObjectLinkingLayerBase::LinkedObjectSet, std::__1::default_delete<llvm::orc::ObjectLinkingLayerBase::LinkedObjectSet> >, void*> llvm::orc::ObjectLinkingLayer<std::__1::reference_wrapper<JuliaOJIT::DebugObjectRegistrar> >::addObjectSet<std::__1::vector<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > >, std::__1::allocator<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > > > >, llvm::RTDyldMemoryManager*, std::__1::unique_ptr<llvm::orc::LambdaResolver<JuliaOJIT::addModule(std::__1::unique_ptr<llvm::Module, std::__1::default_delete<llvm::Module> >)::$_0, JuliaOJIT::addModule(std::__1::unique_ptr<llvm::Module, std::__1::default_delete<llvm::Module> >)::$_1>, std::__1::default_delete<llvm::orc::LambdaResolver<JuliaOJIT::addModule(std::__---Type <return> to continue, or q <return> to quit--- | |
1::unique_ptr<llvm::Module, std::__1::default_delete<llvm::Module> >)::$_0, JuliaOJIT::addModule(std::__1::unique_ptr<llvm::Module, std::__1::default_delete<llvm::Module> >)::$_1> > > >(std::__1::vector<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > >, std::__1::allocator<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > > > >, llvm::RTDyldMemoryManager*, std::__1::unique_ptr<llvm::orc::LambdaResolver<JuliaOJIT::addModule(std::__1::unique_ptr<llvm::Module, std::__1::default_delete<llvm::Module> >)::$_0, JuliaOJIT::addModule(std::__1::unique_ptr<llvm::Module, std::__1::default_delete<llvm::Module> >)::$_1>, std::__1::default_delete<llvm::orc::LambdaResolver<JuliaOJIT::addModule(std::__1::unique_ptr<llvm::Module, std::__1::default_delete<llvm::Module> >)::$_0, JuliaOJIT::addModule(std::__1::unique_ptr<llvm::Module, std::__1::default_delete<llvm::Module> >)::$_1> > >)::{lambda(std::__1::__list_iterator<std::__1::unique_ptr<llvm::orc::ObjectLinkingLayerBase::LinkedObjectSet, std::__1::default_delete<llvm::orc::ObjectLinkingLayerBase::LinkedObjectSet> >, void*>, llvm::RuntimeDyld&, std::__1::vector<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > >, std::__1::allocator<std::__1::unique_ptr<llvm::object::OwningBinary<llvm::object::ObjectFile>, std::__1::default_delete<llvm::object::OwningBinary<llvm::object::ObjectFile> > > > > const&, std::__1::function<void ()>)#1}>::finalize() (this=0x81faaae40) | |
at /usr/home/alex/Projects/julia/usr/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h:125 | |
#9 0x000000080091444f in llvm::orc::ObjectLinkingLayer<std::__1::reference_wrapper<JuliaOJIT::DebugObjectRegistrar> >::emitAndFinalize (this=<optimized out>, H=...) | |
at /usr/home/alex/Projects/julia/usr/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h:333 | |
#10 llvm::orc::IRCompileLayer<llvm::orc::ObjectLinkingLayer<std::__1::reference_wrapper<JuliaOJIT::DebugObjectRegistrar> > >::emitAndFinalize (this=<optimized out>, H=...) | |
at /usr/home/alex/Projects/julia/usr/include/llvm/ExecutionEngine/Orc/IRCompileLayer.h:117 | |
#11 JuliaOJIT::addModule (this=<optimized out>, M=...) at jitlayers.cpp:588 | |
#12 0x0000000800914aa5 in jl_add_to_ee (m=<error reading variable: Cannot access memory at address 0x0>) | |
at jitlayers.cpp:811 | |
#13 jl_finalize_function (F=...) at jitlayers.cpp:819 | |
#14 0x00000008008c7bfc in getAddressForFunction (fname=...) at codegen.cpp:1281 | |
#15 0x00000008008c7e39 in jl_generate_fptr (li=<optimized out>, F=<optimized out>, world=<optimized out>) | |
at codegen.cpp:1384 | |
#16 0x000000080086168c in jl_compile_method_internal (meth=<optimized out>, fptr=<optimized out>) | |
at ./julia_internal.h:353 | |
#17 jl_call_method_internal (meth=0x80bda1d10, args=0x7fffffffbf10, nargs=2) at ./julia_internal.h:381 | |
#18 0x00000008022a70cd in japi1_read_61915 () at process.jl:651 | |
#19 0x00000008022a7199 in japi1_read_61914 () at process.jl:656 | |
#20 0x0000000802336fc7 in japi1_readchomp_62358 () at io.jl:552 | |
#21 0x00000008023358e2 in julia_#versioninfo#488_62357 () at interactiveutil.jl:283 | |
#22 0x0000000802336c05 in jlcall_#versioninfo#488_62356 () | |
#23 0x0000000802296019 in japi1_#versioninfo_61852 () | |
#24 0x00000008022b3cc2 in japi1_#8_61810 () at /usr/home/alex/Projects/julia/test/pkg.jl:71 | |
---Type <return> to continue, or q <return> to quit--- | |
#25 0x00000008022c2f77 in japi1_#6_61792 () at /usr/home/alex/Projects/julia/test/pkg.jl:35 | |
#26 0x0000000802286062 in japi1_withenv_61784 () at env.jl:157 | |
#27 0x0000000802285d55 in julia_#temp_pkg_dir#5_61784 () at /usr/home/alex/Projects/julia/test/pkg.jl:25 | |
#28 0x0000000802285d99 in jlcall_#temp_pkg_dir#5_61783 () | |
#29 0x000000080227ac47 in julia_temp_pkg_dir_61688 () at /usr/home/alex/Projects/julia/test/pkg.jl:25 | |
#30 0x000000080227ac81 in jlcall_temp_pkg_dir_61687 () | |
#31 0x000000080227a7f6 in japi1_temp_pkg_dir_61685 () at /usr/home/alex/Projects/julia/test/pkg.jl:25 | |
#32 0x00000008008779c8 in do_call (args=<optimized out>, nargs=2, s=0x7fffffffd238) at interpreter.c:70 | |
#33 0x0000000800875fba in eval (e=0x80ce1dd10, s=0x7fffffffd238) at interpreter.c:262 | |
#34 0x000000080087741c in eval_body (stmts=0x80abb2bf0, s=0x7fffffffd238, start=<optimized out>, toplevel=1) | |
at interpreter.c:539 | |
#35 0x00000008008778ee in jl_interpret_toplevel_thunk (m=0x80abc4fd0, src=0x80c589150) at interpreter.c:689 | |
#36 0x000000080088f0e3 in jl_toplevel_eval_flex (m=<optimized out>, e=<optimized out>, fast=1, | |
expanded=<optimized out>) at toplevel.c:622 | |
#37 0x000000080086cc7f in jl_parse_eval_all (fname=<optimized out>, content=<optimized out>, | |
contentlen=<optimized out>, inmodule=0xfffffffffffffb70) at ast.c:913 | |
#38 0x000000080088f813 in jl_load (module=0x80abc4fd0, fname=0x80c932118 "/usr/home/alex/Projects/julia/test/pkg.jl") | |
at toplevel.c:645 | |
#39 jl_load_ (module=0x80abc4fd0, str=<optimized out>) at toplevel.c:652 | |
#40 0x0000000804a66cee in japi1_include_relative_19087 () at loading.jl:464 | |
#41 0x0000000802277339 in include () at sysimg.jl:14 | |
#42 japi1_include_61672 () at /usr/home/alex/Projects/julia/test/testdefs.jl:11 | |
#43 0x0000000802276a5b in macro expansion () at /usr/home/alex/Projects/julia/test/testdefs.jl:18 | |
#44 macro expansion () at test.jl:943 | |
#45 macro expansion () at util.jl:379 | |
#46 macro expansion () at /usr/home/alex/Projects/julia/test/testdefs.jl:17 | |
#47 japi1_anonymous_61670 () at <missing>:65535 | |
#48 0x000000080088f212 in jl_call_fptr_internal (nargs=1, fptr=<optimized out>, meth=<optimized out>, | |
args=<optimized out>) at ./julia_internal.h:366 | |
#49 jl_call_method_internal (nargs=1, meth=<optimized out>, args=<optimized out>) at ./julia_internal.h:385 | |
#50 jl_toplevel_eval_flex (m=<optimized out>, e=<optimized out>, fast=<optimized out>, expanded=<optimized out>) | |
at toplevel.c:619 | |
#51 0x0000000800870539 in jl_toplevel_eval_in (m=<optimized out>, ex=0x80c0a3750) at builtins.c:505 | |
#52 0x0000000804b8a639 in japi1_eval_24312 () at boot.jl:291 | |
#53 0x0000000802275363 in julia_runtests_61663 () at /usr/home/alex/Projects/julia/test/testdefs.jl:21 | |
#54 0x00000008022746e5 in #145 () at distributed/remotecall.jl:332 | |
#55 julia_run_work_thunk_61662 () at distributed/process_messages.jl:56 | |
#56 0x000000080227473a in jlcall_run_work_thunk_61661 () | |
#57 0x00000008022743ed in japi1_#remotecall_fetch#150_61660 () at distributed/remotecall.jl:357 | |
---Type <return> to continue, or q <return> to quit--- | |
#58 0x000000080086ff53 in jl_apply (nargs=<optimized out>, args=<optimized out>) at ./julia.h:1447 | |
#59 jl_f__apply (F=<optimized out>, args=<optimized out>, nargs=<optimized out>) at builtins.c:435 | |
#60 0x000000080227429b in japi1_remotecall_fetch_61659 () at distributed/remotecall.jl:357 | |
#61 0x000000080086ff53 in jl_apply (nargs=<optimized out>, args=<optimized out>) at ./julia.h:1447 | |
#62 jl_f__apply (F=<optimized out>, args=<optimized out>, nargs=<optimized out>) at builtins.c:435 | |
#63 0x0000000802274187 in japi1_#remotecall_fetch#154_61658 () at distributed/remotecall.jl:385 | |
#64 0x000000080086ff53 in jl_apply (nargs=<optimized out>, args=<optimized out>) at ./julia.h:1447 | |
#65 jl_f__apply (F=<optimized out>, args=<optimized out>, nargs=<optimized out>) at builtins.c:435 | |
#66 0x0000000802273fbb in japi1_remotecall_fetch_61657 () at distributed/remotecall.jl:385 | |
#67 0x000000080227109f in macro expansion () at /usr/home/alex/Projects/julia/test/runtests.jl:57 | |
#68 japi1_#42_61656 () at task.jl:335 | |
#69 0x000000080087bd03 in jl_apply (args=<optimized out>, nargs=1) at ./julia.h:1447 | |
#70 start_task () at task.c:268 | |
#71 0x0000000000000000 in ?? () |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment