Bus error when doing Pkg.update() on FreeBSD 11

I have Julia 0.6.0 on FreeBSD 11. It is exhibiting the following behavior:

type [ko@wiley ~]$ julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.6.0 (2017-06-19 13:05 UTC)
 _/ |\__'_|_|_|\__'_|  |  
|__/                   |  amd64-unknown-freebsd11.1

julia> Pkg.update()
INFO: Updating METADATA...
INFO: Computing changes...
INFO: Upgrading DocStringExtensions: v0.3.4 => v0.4.0
INFO: Upgrading Plots: v0.12.2 => v0.12.3

signal (10): Bus error
while loading no file, in expression starting on line 0
Bus error
[ko@wiley ~]$ 

I’ve tried running gdb on a core dump, and the backtrace is more than 3000 lines. The most informative part seems to be the tail:

[ko@wiley ~]$ tail btr
#3113 <signal handler called>
#3114 x86_64_freebsd_fallback_frame_state (context=0x7fffdf1f6e20, context=0x7fffdf1f6e20, fs=0x7fffdf1f6b70) at ./md-unwind-support.h:60
#3115 uw_frame_state_for (context=context@entry=0x7fffdf1f6e20, fs=fs@entry=0x7fffdf1f6b70) at /wrkdirs/usr/ports/lang/gcc5/work/gcc-5.4.0/libgcc/unwind-dw2.c:1249
#3116 0x0000000805c40fdb in _Unwind_ForcedUnwind_Phase2 (exc=exc@entry=0x823aa1230, context=context@entry=0x7fffdf1f6e20) at /wrkdirs/usr/ports/lang/gcc5/work/gcc-5.4.0/libgcc/unwind.inc:155
#3117 0x0000000805c41314 in _Unwind_ForcedUnwind (exc=0x823aa1230, stop=0x805e5d7b0, stop_argument=<optimized out>) at /wrkdirs/usr/ports/lang/gcc5/work/gcc-5.4.0/libgcc/unwind.inc:207
#3118 0x0000000805e5d613 in ?? () from /lib/libthr.so.3
#3119 0x0000000805e5d42b in pthread_exit () from /lib/libthr.so.3
#3120 0x0000000805e4fbcd in ?? () from /lib/libthr.so.3
#3121 0x00007fffdeff7000 in ?? ()
Backtrace stopped: Cannot access memory at address 0x7fffdf1f7000
[ko@wiley ~]$ 

I don’t know what this implies. Is there some way to debug “more at the source level”? With stacktrace()?

I’ve also built julia 0.7-dev from the git repository, so that no FreeBSD system libraries are used. The problem persists.

i cannot judge if related, but recently:
https://github.com/JuliaLang/julia/issues/23328

Yes, this seems like the same thing.

Problem solved by the fix reported for issue “Segfault in Pkg tests on FreeBSD 11.1 #23328