Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Aug 2014 23:01:51 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: pkg segfault
Message-ID:  <53DEB14F.8010408@FreeBSD.org>
In-Reply-To: <53DEA664.4030204@hesiod.org>
References:  <53DEA664.4030204@hesiod.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--bx6lf2LSTjeax0BkRjNHgUtAIMkxUTVfa
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 03/08/2014 22:15, Jeff Anton wrote:
> So I just upgraded my 9.2 amd64 to 10.0 via src build...
> pkg upgrade (1.3.3) then seg faulted.
>=20
> updated my ports
> built pkg 1.3.4
> still seg faults
>=20
> under gdb
> atlas.hesiod.org:root[162]: gdb pkg-static
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and yo=
u
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for deta=
ils.
> This GDB was configured as "amd64-marcel-freebsd"...(no debugging
> symbols found)...
> (gdb) run -dddd upgrade
> Starting program:
> /noback/ports64/ports-mgmt/pkg/work/pkg-1.3.4/src/pkg-static -dddd upgr=
ade
> Updating repository catalogue
> pkg-static: http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/meta.txz:
> Not Found
> pkg-static: repository FreeBSD has no meta file, using default settings=

> FreeBSD repository is up-to-date
> All repositories are up-to-date
> Checking for upgrades: 39%
> llvm~devel/llvm32 has no direct installation candidates, change it to
> llvm32~devel/llvm32 [Y/n]:
>=20
> llvm~devel/llvm32 has no direct installation candidates, change it to
> llvm32~devel/llvm32 [Y/n]:
> Checking for upgrades: 100%
>=20
> Program received signal SIGSEGV, Segmentation fault.
> 0x0000000000714a6b in strlen ()
> (gdb) where
> #0  0x0000000000714a6b in strlen ()
> #1  0x00000000004523ba in pkg_solve_add_universe_variable ()
> #2  0x000000000044e9d6 in pkg_solve_add_universe_item ()
> #3  0x000000000044c9b3 in pkg_solve_jobs_to_sat ()
> #4  0x00000000004326e0 in pkg_jobs_solve ()
> #5  0x0000000000410331 in exec_upgrade ()
> #6  0x0000000000409e14 in main ()
>=20
> Grrr....

Can you raise an issue via Github https://github.com/freebsd/pkg/issues
please?   The output of 'bt full' from your gdb session would be useful.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



--bx6lf2LSTjeax0BkRjNHgUtAIMkxUTVfa
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJ8BAEBCgBmBQJT3rFQXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATAH0P/1WCCDv4FMQ8y/jGKahpBqoE
EgJb/3vAlb2p/hmcY7GPd44gimGI31ZG7eU28Hch4RW9LhqaYNijQyLfwdDO8roM
1clsIcovZSh1SFBljJGjcnTeu8LL1FXmLgp+jjP9nJlR11Km2T8cXzkvPBu2RMMG
I5MLDqxEZ1p2M6It78omIPN+Zq1N0wQft4Bk6GjxX4UnpSeZ+C/XSuZhVoewppV8
TCPzo+6j5DxMUUMVHlQmmcQAalcsBpmx4hstrPel3WDQgeTt+fXBFS3+JWCbUD5r
yckZu56tW43B88LblRC1v4nnJlRCj5wwxoUyATMLfJ8QLa0bNWqycs3m/gZmVm6U
EKXT9Xme9bydy53d1G5+gzCxRm5BOBBF+1QddNvCTCdtCGQqmuHMX6hj7+VJG+TZ
a0Nhv5Jn+Q1ngtY/0fE2E2jTzGJ2Ozw0AT2RG3u6uPvetlahCo0lQJgVfdXX6wEX
RImbAV4hA2Zl688JLeNundbpV8VQAjzV23YZVhfeHbDZexdGDGa+TABv1iblkZiw
BLqYKUg1kCPtdWNP93Q+GIPjuW8asfsji11njeLyEfmF2IcPa00xGyDFah0Mbjse
3SeD+FYLC2OM6YejzfmySXJoMzkC8eo+zXUPVEbQtfNexIH1i9RjU8gs9p5DOW20
8SHUQ1mp0uBmHDHX9FBI
=Ltev
-----END PGP SIGNATURE-----

--bx6lf2LSTjeax0BkRjNHgUtAIMkxUTVfa--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53DEB14F.8010408>