From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Sep 24 15:43:04 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A31649AA for ; Wed, 24 Sep 2014 15:43:04 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8901AF15 for ; Wed, 24 Sep 2014 15:43:04 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s8OFh4ws047209 for ; Wed, 24 Sep 2014 15:43:04 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 193890] On FreeBSD 10.1-BETA2 amd64, pkg 1.3.8 segfaults Date: Wed, 24 Sep 2014 15:43:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: lifanov@mail.lifanov.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2014 15:43:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193890 --- Comment #2 from Nikolai Lifanov --- 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.