Here it the same thing with gdb:
$ export JULIA_COPY_STACKS=1
$ gdb ./julia-debug.exe
GNU gdb (GDB) (Cygwin 8.3.1-1) 8.3.1
Copyright (C) 2019 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 ./julia-debug.exe...
(gdb) run
Starting program: /home/kittisopikulm/julia/usr/bin/julia-debug.exe
[New Thread 34296.0x8f40]
[New Thread 34296.0x5f60]
[New Thread 34296.0x461c]
[New Thread 34296.0x1b98]
[New Thread 34296.0x740]
[New Thread 34296.0x4330]
[New Thread 34296.0x8b8c]
[New Thread 34296.0x75a8]
[New Thread 34296.0x8cc4]
[New Thread 34296.0x5980]
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.6.0-DEV.1185 (2020-10-11)
_/ |\__'_|_|_|\__'_| | Commit 3bfcb743c2 (0 days old master)
|__/ |
gdb: unknown target exception 0x80000001 at 0x5a85d0f
Thread 1 received signal ?, Unknown signal.
0x0000000005a85d0f in llvm::MemoryDependenceResults::getSimplePointerDependencyFrom(llvm::MemoryLocation const&, bool, llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction, false, false, void>, false, false>, llvm::BasicBlock*, llvm::Instruction*, unsi
gned int*, llvm::OrderedBasicBlock*) () from /home/kittisopikulm/julia/usr/bin/LLVM.dll
(gdb) bt
#0 0x0000000005a85d0f in llvm::MemoryDependenceResults::getSimplePointerDependencyFrom(llvm::MemoryLocation const&, bool, llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction, false, false, void>, false, false>, llvm::BasicBlock*, llvm::Instruction*,
unsigned int*, llvm::OrderedBasicBlock*) () from /home/kittisopikulm/julia/usr/bin/LLVM.dll
#1 0x0000000005a880bc in llvm::MemoryDependenceResults::getPointerDependencyFrom(llvm::MemoryLocation const&, bool, llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction, false, false, void>, false, false>, llvm::BasicBlock*, llvm::Instruction*, unsign
ed int*, llvm::OrderedBasicBlock*) () from /home/kittisopikulm/julia/usr/bin/LLVM.dll
#2 0x0000000005a8868d in llvm::MemoryDependenceResults::GetNonLocalInfoForBlock(llvm::Instruction*, llvm::MemoryLocation const&, bool, llvm::BasicBlock*, std::vector<llvm::NonLocalDepEntry, std::allocator<llvm::NonLocalDepEntry> >*, unsigned int) ()
from /home/kittisopikulm/julia/usr/bin/LLVM.dll
#3 0x0000000005a8b987 in llvm::MemoryDependenceResults::getNonLocalPointerDepFromBB(llvm::Instruction*, llvm::PHITransAddr const&, llvm::MemoryLocation const&, bool, llvm::BasicBlock*, llvm::SmallVectorImpl<llvm::NonLocalDepResult>&, llvm::DenseMap<llvm::BasicBlock*, ll
vm::Value*, llvm::DenseMapInfo<llvm::BasicBlock*>, llvm::detail::DenseMapPair<llvm::BasicBlock*, llvm::Value*> >&, bool) () from /home/kittisopikulm/julia/usr/bin/LLVM.dll
#4 0x0000000005a8c2d4 in llvm::MemoryDependenceResults::getNonLocalPointerDepFromBB(llvm::Instruction*, llvm::PHITransAddr const&, llvm::MemoryLocation const&, bool, llvm::BasicBlock*, llvm::SmallVectorImpl<llvm::NonLocalDepResult>&, llvm::DenseMap<llvm::BasicBlock*, ll
vm::Value*, llvm::DenseMapInfo<llvm::BasicBlock*>, llvm::detail::DenseMapPair<llvm::BasicBlock*, llvm::Value*> >&, bool) () from /home/kittisopikulm/julia/usr/bin/LLVM.dll
#5 0x0000000005a8c2d4 in llvm::MemoryDependenceResults::getNonLocalPointerDepFromBB(llvm::Instruction*, llvm::PHITransAddr const&, llvm::MemoryLocation const&, bool, llvm::BasicBlock*, llvm::SmallVectorImpl<llvm::NonLocalDepResult>&, llvm::DenseMap<llvm::BasicBlock*, ll
vm::Value*, llvm::DenseMapInfo<llvm::BasicBlock*>, llvm::detail::DenseMapPair<llvm::BasicBlock*, llvm::Value*> >&, bool) () from /home/kittisopikulm/julia/usr/bin/LLVM.dll
#6 0x0000000005a8d870 in llvm::MemoryDependenceResults::getNonLocalPointerDependency(llvm::Instruction*, llvm::SmallVectorImpl<llvm::NonLocalDepResult>&) () from /home/kittisopikulm/julia/usr/bin/LLVM.dll
#7 0x00000000056079b8 in llvm::GVN::processNonLocalLoad(llvm::LoadInst*) [clone .part.931] () from /home/kittisopikulm/julia/usr/bin/LLVM.dll
#8 0x0000000005607dd5 in llvm::GVN::processLoad(llvm::LoadInst*) () from /home/kittisopikulm/julia/usr/bin/LLVM.dll
#9 0x00000000056080cb in llvm::GVN::processInstruction(llvm::Instruction*) () from /home/kittisopikulm/julia/usr/bin/LLVM.dll
#10 0x00000000056086d8 in llvm::GVN::processBlock(llvm::BasicBlock*) () from /home/kittisopikulm/julia/usr/bin/LLVM.dll
#11 0x0000000005609384 in llvm::GVN::iterateOnFunction(llvm::Function&) () from /home/kittisopikulm/julia/usr/bin/LLVM.dll
#12 0x000000000560957b in llvm::GVN::runImpl(llvm::Function&, llvm::AssumptionCache&, llvm::DominatorTree&, llvm::TargetLibraryInfo const&, llvm::AAResults&, llvm::MemoryDependenceResults*, llvm::LoopInfo*, llvm::OptimizationRemarkEmitter*) ()
from /home/kittisopikulm/julia/usr/bin/LLVM.dll
#13 0x00000000067d1ddc in llvm::gvn::GVNLegacyPass::runOnFunction(llvm::Function&) () from /home/kittisopikulm/julia/usr/bin/LLVM.dll
#14 0x0000000004bc5374 in llvm::FPPassManager::runOnFunction(llvm::Function&) () from /home/kittisopikulm/julia/usr/bin/LLVM.dll
#15 0x0000000004bc5aa3 in llvm::FPPassManager::runOnModule(llvm::Module&) () from /home/kittisopikulm/julia/usr/bin/LLVM.dll
#16 0x0000000004bc5e80 in llvm::legacy::PassManagerImpl::run(llvm::Module&) () from /home/kittisopikulm/julia/usr/bin/LLVM.dll
#17 0x0000000000fc70a0 in JuliaOJIT::CompilerT::operator() (this=0x101c85798, M=...) at /home/kittisopikulm/julia/src/jitlayers.cpp:550
#18 0x00000000010e6667 in llvm::orc::LegacyIRCompileLayer<llvm::orc::LegacyRTDyldObjectLinkingLayer, JuliaOJIT::CompilerT>::addModule (this=0x101c85790, K=1, M=...) at /home/kittisopikulm/julia/usr/include/llvm/ExecutionEngine/Orc/IRCompileLayer.h:109
#19 0x0000000000fc81cc in JuliaOJIT::addModule (this=0x101c84390, M=...) at /home/kittisopikulm/julia/src/jitlayers.cpp:674
#20 0x0000000000fc9980 in jl_add_to_ee (m=...) at /home/kittisopikulm/julia/src/jitlayers.cpp:967
#21 0x0000000000fc9ddc in jl_add_to_ee (M=..., NewExports=..., Queued=..., ToMerge=..., depth=1) at /home/kittisopikulm/julia/src/jitlayers.cpp:1011
#22 0x0000000000fca002 in jl_add_to_ee (M=..., NewExports=...) at /home/kittisopikulm/julia/src/jitlayers.cpp:1033
#23 0x0000000000fc5979 in _jl_compile_codeinst (codeinst=0x103a4f320 <jl_system_image_data+17503328>, src=0x10b088190, world=7131) at /home/kittisopikulm/julia/src/jitlayers.cpp:137
#24 0x0000000000fc65b3 in jl_generate_fptr (mi=0x103a4e980 <jl_system_image_data+17500864>, world=7131) at /home/kittisopikulm/julia/src/jitlayers.cpp:322
#25 0x0000000000f21ce3 in jl_compile_method_internal (mi=0x103a4e980 <jl_system_image_data+17500864>, world=7131) at /home/kittisopikulm/julia/src/gf.c:1924
#26 0x0000000000f22bcb in _jl_invoke (F=0x103a4ee00 <jl_system_image_data+17502016>, args=0xc3bda8, nargs=5, mfunc=0x103a4e980 <jl_system_image_data+17500864>, world=7131) at /home/kittisopikulm/julia/src/gf.c:2183
#27 0x0000000000f23458 in jl_apply_generic (F=0x103a4ee00 <jl_system_image_data+17502016>, args=0xc3bda8, nargs=5) at /home/kittisopikulm/julia/src/gf.c:2373
#28 0x00000001022cb1a7 in japi1_GeneratedFunctionStub_8982 (g=..., args...=<optimized out>) at boot.jl:571
#29 0x0000000000f21f15 in jl_fptr_args (f=0x104262120 <jl_system_image_data+25969248>, args=0xc3bda8, nargs=5, m=0x103938f90 <jl_system_image_data+16363728>) at /home/kittisopikulm/julia/src/gf.c:1960
#30 0x0000000000f22b57 in _jl_invoke (F=0x104262120 <jl_system_image_data+25969248>, args=0xc3bda8, nargs=5, mfunc=0x1039383e0 <jl_system_image_data+16360736>, world=7131) at /home/kittisopikulm/julia/src/gf.c:2172
#31 0x0000000000f23458 in jl_apply_generic (F=0x104262120 <jl_system_image_data+25969248>, args=0xc3bda8, nargs=5) at /home/kittisopikulm/julia/src/gf.c:2373
#32 0x0000000000f93b6e in jl_apply (args=0xc3bda0, nargs=6) at /home/kittisopikulm/julia/src/julia.h:1690
#33 0x0000000000f96008 in jl_call_staged (def=0x1037c4840 <jl_system_image_data+14838144>, generator=0x104262120 <jl_system_image_data+25969248>, sparam_vals=0x10b0a2dd0, args=0x10b0589d8, nargs=3) at /home/kittisopikulm/julia/src/method.c:396
#34 0x0000000000f962eb in jl_code_for_staged (linfo=0x10b0a7750) at /home/kittisopikulm/julia/src/method.c:443
#35 0x0000000102196974 in japi1_get_staged_11569 (li=...) at compiler/utilities.jl:94
#36 0x000000010250a349 in retrieve_code_info () at compiler/utilities.jl:105
#37 julia_InferenceState_8163 (result=..., cached=1 '\001', interp=...) at compiler/inferencestate.jl:129
#38 0x0000000102586d15 in julia_typeinf_ext_11469 (interp=..., mi=...) at compiler/typeinfer.jl:629
#39 0x0000000102172e0e in julia_typeinf_ext_toplevel_12386 (interp=..., linfo=...) at compiler/typeinfer.jl:664
#40 0x0000000102587b93 in julia_typeinf_ext_toplevel_12392 (mi=..., world=29278) at compiler/typeinfer.jl:660
#41 0x0000000102587bf3 in jfptr_typeinf_ext_toplevel_12393 () from /home/kittisopikulm/julia/usr/lib/julia/sys-debug.dll
#42 0x0000000000f22b57 in _jl_invoke (F=0x1058b7a40 <jl_system_image_data+49388416>, args=0xc3c958, nargs=2, mfunc=0x102bad080 <jl_system_image_data+2159040>, world=4186) at /home/kittisopikulm/julia/src/gf.c:2172
#43 0x0000000000f23458 in jl_apply_generic (F=0x1058b7a40 <jl_system_image_data+49388416>, args=0xc3c958, nargs=2) at /home/kittisopikulm/julia/src/gf.c:2373
#44 0x0000000000f1a9ce in jl_apply (args=0xc3c950, nargs=3) at /home/kittisopikulm/julia/src/julia.h:1690
#45 0x0000000000f1c33c in jl_type_infer (mi=0x10b0a7750, world=29278, force=0) at /home/kittisopikulm/julia/src/gf.c:300
#46 0x0000000000fc64de in jl_generate_fptr (mi=0x10b0a7750, world=29278) at /home/kittisopikulm/julia/src/jitlayers.cpp:310
#47 0x0000000000f21ce3 in jl_compile_method_internal (mi=0x10b0a7750, world=29278) at /home/kittisopikulm/julia/src/gf.c:1924
#48 0x0000000000f22bcb in _jl_invoke (F=0x104261510 <jl_system_image_data+25966160>, args=0xc3ce98, nargs=2, mfunc=0x10b0a7750, world=29278) at /home/kittisopikulm/julia/src/gf.c:2183
#49 0x0000000000f23458 in jl_apply_generic (F=0x104261510 <jl_system_image_data+25966160>, args=0xc3ce98, nargs=2) at /home/kittisopikulm/julia/src/gf.c:2373
#50 0x00000001026740e4 in japi1_Type##kw_52860 (prompt=0x105b794b0 <jl_system_image_data+52278768>) at C:\cygwin64\home\kittisopikulm\julia\usr\share\julia\stdlib\v1.6\REPL\src\LineEdit.jl:2409
#51 0x00000001027d4829 in julia_setup_interface_49139 (repl=..., hascolor=1 '\001', extra_repl_keymap=0x10b001be0) at C:\cygwin64\home\kittisopikulm\julia\usr\share\julia\stdlib\v1.6\REPL\src\REPL.jl:887
#52 0x00000001027d7c15 in julia_#setup_interface#68_49120 (hascolor=1 '\001', extra_repl_keymap=0x10b001be0, repl=...) at C:\cygwin64\home\kittisopikulm\julia\usr\share\julia\stdlib\v1.6\REPL\src\REPL.jl:848
#53 0x00000001026dfc22 in setup_interface () at C:\cygwin64\home\kittisopikulm\julia\usr\share\julia\stdlib\v1.6\REPL\src/REPL.jl:848
#54 japi1_#1_19481 (repl=...) at C:\cygwin64\home\kittisopikulm\julia\usr\share\julia\stdlib\v1.6\Pkg\src\Pkg.jl:541
#55 0x0000000000f21f15 in jl_fptr_args (f=0x102fb9810 <jl_system_image_data+6404432>, args=0xc3d610, nargs=1, m=0x104d22710 <jl_system_image_data+37242960>) at /home/kittisopikulm/julia/src/gf.c:1960
#56 0x0000000000f22b57 in _jl_invoke (F=0x102fb9810 <jl_system_image_data+6404432>, args=0xc3d610, nargs=1, mfunc=0x102fb9320 <jl_system_image_data+6403168>, world=29278) at /home/kittisopikulm/julia/src/gf.c:2172
#57 0x0000000000f23458 in jl_apply_generic (F=0x102fb9810 <jl_system_image_data+6404432>, args=0xc3d610, nargs=1) at /home/kittisopikulm/julia/src/gf.c:2373
#58 0x00000001027e674e in japi1___atreplinit_31444 (repl=...) at client.jl:336
#59 0x0000000000f21f15 in jl_fptr_args (f=0x1038bf250 <jl_system_image_data+15864720>, args=0xc3da28, nargs=1, m=0x1038beeb0 <jl_system_image_data+15863792>) at /home/kittisopikulm/julia/src/gf.c:1960
#60 0x0000000000f22b57 in _jl_invoke (F=0x1038bf250 <jl_system_image_data+15864720>, args=0xc3da28, nargs=1, mfunc=0x1038bedf0 <jl_system_image_data+15863600>, world=29278) at /home/kittisopikulm/julia/src/gf.c:2172
#61 0x0000000000f23458 in jl_apply_generic (F=0x1038bf250 <jl_system_image_data+15864720>, args=0xc3da28, nargs=1) at /home/kittisopikulm/julia/src/gf.c:2373
#62 0x0000000000f3264f in jl_apply (args=0xc3da20, nargs=2) at /home/kittisopikulm/julia/src/julia.h:1690
#63 0x0000000000f35af9 in do_apply (F=0x0, args=0xc3dcd0, nargs=2, iterate=0x0) at /home/kittisopikulm/julia/src/builtins.c:672
--Type <RET> for more, q to quit, c to continue without paging--
#64 0x0000000000f35c15 in jl_f__apply (F=0x0, args=0xc3dcd0, nargs=2) at /home/kittisopikulm/julia/src/builtins.c:686
#65 0x0000000000f35df6 in jl_f__apply_latest (F=0x0, args=0xc3dcd0, nargs=2) at /home/kittisopikulm/julia/src/builtins.c:722
#66 0x00000001025c0cf8 in #invokelatest#2 () at essentials.jl:709
#67 invokelatest () at essentials.jl:708
#68 _atreplinit () at client.jl:343
#69 julia_#859_29017 (REPL=0x101ef4a08) at client.jl:386
#70 0x00000001025c0e43 in jfptr_YY.859_29018 () from /home/kittisopikulm/julia/usr/lib/julia/sys-debug.dll
#71 0x0000000000f22b57 in _jl_invoke (F=0x10b04c300, args=0xc3df58, nargs=1, mfunc=0x1038be4c0 <jl_system_image_data+15861248>, world=29278) at /home/kittisopikulm/julia/src/gf.c:2172
#72 0x0000000000f23458 in jl_apply_generic (F=0x10b04c300, args=0xc3df58, nargs=1) at /home/kittisopikulm/julia/src/gf.c:2373
#73 0x0000000000f3264f in jl_apply (args=0xc3df50, nargs=2) at /home/kittisopikulm/julia/src/julia.h:1690
#74 0x0000000000f35af9 in do_apply (F=0x0, args=0xc3e340, nargs=2, iterate=0x0) at /home/kittisopikulm/julia/src/builtins.c:672
#75 0x0000000000f35c15 in jl_f__apply (F=0x0, args=0xc3e340, nargs=2) at /home/kittisopikulm/julia/src/builtins.c:686
#76 0x0000000000f35df6 in jl_f__apply_latest (F=0x0, args=0xc3e340, nargs=2) at /home/kittisopikulm/julia/src/builtins.c:722
#77 0x00000001026cc055 in #invokelatest#2 () at essentials.jl:709
#78 invokelatest () at essentials.jl:708
#79 julia_run_main_repl_33960 (interactive=1 '\001', quiet=0 '\000', banner=1 '\001', history_file=1 '\001', color_set=0 '\000') at client.jl:372
#80 0x00000001026d9c00 in julia_exec_options_30469 (opts=...) at client.jl:302
#81 0x00000001026dc415 in julia__start_48984 () at client.jl:485
#82 0x00000001026dc5e5 in jfptr.start_48985 () from /home/kittisopikulm/julia/usr/lib/julia/sys-debug.dll
#83 0x0000000000f22b57 in _jl_invoke (F=0x103181b90 <jl_system_image_data+8273104>, args=0xc3faf8, nargs=0, mfunc=0x103181720 <jl_system_image_data+8271968>, world=29278) at /home/kittisopikulm/julia/src/gf.c:2172
#84 0x0000000000f23458 in jl_apply_generic (F=0x103181b90 <jl_system_image_data+8273104>, args=0xc3faf8, nargs=0) at /home/kittisopikulm/julia/src/gf.c:2373
#85 0x0000000000f97d09 in jl_apply (args=0xc3faf0, nargs=1) at /home/kittisopikulm/julia/src/julia.h:1690
#86 0x0000000000f99d14 in true_main (argc=0, argv=0xda3e98) at /home/kittisopikulm/julia/src/jlapi.c:553
#87 0x0000000000f9a34a in repl_entrypoint (argc=0, argv=0xda3e98) at /home/kittisopikulm/julia/src/jlapi.c:672
#88 0x0000000000401eab in load_repl (exe_dir=0x406000 <exe_dir> "C:\\cygwin64\\home\\kittisopikulm\\julia\\usr\\bin", argc=1, argv=0xda3e90) at /home/kittisopikulm/julia/cli/loader_lib.c:183
#89 0x000000000040113c in mainCRTStartup () at /home/kittisopikulm/julia/cli/loader_exe.c:46