[Bug 235604] ports-mgmt/pkg: bus error / segmentation fault (core dumped)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 25 15:28:32 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235604

--- Comment #2 from Oliver Fromme <olli at FreeBSD.org> ---
Here's another backtrace, trying to install libxml2.  I compiled pkg with -O0
-g, hoping that makes debugging a little easier.  It doesn't change the
frequency of "bus error" happening, though.

====> Compressing man pages (compress-man)
===>  Building package for libxml2-2.9.8
Child process pid=80214 terminated abnormally: Bus error
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/textproc/libxml2
*** Error code 1

Stop.
make: stopped in /usr/ports/textproc/libxml2

# lldb -f /usr/local/sbin/pkg-static -c pkg-static.core -bobt
(lldb) target create "/usr/local/sbin/pkg-static" --core "pkg-static.core"
Core file '/usr/ports/textproc/libxml2/pkg-static.core' (x86_64) was loaded.
(lldb) bt
* thread #1, name = 'pkg-static', stop reason = signal SIGBUS
  * frame #0: 0x000000000045595a
pkg-static`ucl_hash_destroy(hashlin=0x000000080091d240,
func=(pkg-static`ucl_object_dtor_unref at ucl_util.c:204)) at ucl_hash.c:229
    frame #1: 0x0000000000468737
pkg-static`ucl_object_free_internal(obj=0x0000000800908040, allow_rec=true,
dtor=(pkg-static`ucl_object_dtor_unref at ucl_util.c:204)) at ucl_util.c:243
    frame #2: 0x00000000004696dd
pkg-static`ucl_object_unref(obj=0x0000000800908040) at ucl_util.c:3283
    frame #3: 0x00000000003dc74e pkg-static`pkg_shutdown at pkg_config.c:1334
    frame #4: 0x00000000008c571f
pkg-static`__cxa_finalize(dso=0x0000000000000000) at atexit.c:239
    frame #5: 0x000000000085d4be pkg-static`exit(status=0) at exit.c:74
    frame #6: 0x0000000000396122 pkg-static`_start(ap=<unavailable>,
cleanup=<unavailable>) at crt1.c:76

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-pkg mailing list