[Bug 193890] On FreeBSD 10.1-BETA2 amd64, pkg 1.3.8 segfaults

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 24 15:43:04 UTC 2014


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

--- Comment #2 from Nikolai Lifanov <lifanov at mail.lifanov.com> ---
Better backtrace here. Removing /usr/local/etc/pkg/repos/FreeBSD.conf makes pkg
work again. I also created a github issue #1024 about it. I always get the best
numbers!

Core was generated by `pkg'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libpkg.so.3...done.
Loaded symbols for /usr/local/lib/libpkg.so.3
Reading symbols from /usr/lib/libelf.so.1...done.
Loaded symbols for /usr/lib/libelf.so.1
Reading symbols from /usr/lib/libexecinfo.so.1...done.
Loaded symbols for /usr/lib/libexecinfo.so.1
Reading symbols from /usr/lib/libfetch.so.6...done.
Loaded symbols for /usr/lib/libfetch.so.6
Reading symbols from /lib/libutil.so.9...done.
Loaded symbols for /lib/libutil.so.9
Reading symbols from /usr/lib/libssl.so.7...done.
Loaded symbols for /usr/lib/libssl.so.7
Reading symbols from /lib/libcrypto.so.7...done.
Loaded symbols for /lib/libcrypto.so.7
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libjail.so.1...done.
Loaded symbols for /lib/libjail.so.1
Reading symbols from /usr/lib/libarchive.so.6...done.
Loaded symbols for /usr/lib/libarchive.so.6
Reading symbols from /lib/libz.so.6...done.
Loaded symbols for /lib/libz.so.6
Reading symbols from /usr/lib/libbz2.so.4...done.
Loaded symbols for /usr/lib/libbz2.so.4
Reading symbols from /usr/lib/liblzma.so.5...done.
Loaded symbols for /usr/lib/liblzma.so.5
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libbsdxml.so.4...done.
Loaded symbols for /lib/libbsdxml.so.4
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x00000008029a8f8b in strlen () from /lib/libc.so.7
(gdb) bt
#0  0x00000008029a8f8b in strlen () from /lib/libc.so.7
#1  0x00000008028f7f42 in strdup () from /lib/libc.so.7
#2  0x00000008008968df in pkg_repo_overwrite (r=0x80384d0c0, 
    name=0x803835290 "FreeBSD", url=0x0, type=0x0) at pkg_config.c:1070
#3  0x00000008008958d7 in add_repo (obj=0x803836e00, r=0x80384d0c0, 
    rname=0x803835290 "FreeBSD", flags=0) at pkg_config.c:533
#4  0x000000080089513b in walk_repo_obj (obj=0x803836dc0, 
    file=0x7fffffffde60 "/usr/local/etc/pkg/repos/FreeBSD.conf", flags=0)
    at pkg_config.c:595
#5  0x000000080089506c in load_repo_file (
    repofile=0x7fffffffde60 "/usr/local/etc/pkg/repos/FreeBSD.conf", flags=0)
    at pkg_config.c:648
#6  0x0000000800894ea4 in load_repo_files (
    repodir=0x803828200 "/usr/local/etc/pkg/repos/", flags=0)
    at pkg_config.c:675
#7  0x0000000800894077 in load_repositories (repodir=0x0, flags=0)
    at pkg_config.c:694
#8  0x0000000800893bed in pkg_ini (path=0x800a5d21e "/usr/local/etc/pkg.conf", 
    reposdir=0x0, flags=0) at pkg_config.c:1009
#9  0x00000000004169b7 in main (argc=1, argv=0x7fffffffe958) at main.c:705

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


More information about the freebsd-ports-bugs mailing list