pkg segfault

Matthew Seaman matthew at FreeBSD.org
Sun Aug 3 22:02:01 UTC 2014


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.
> 
> updated my ports
> built pkg 1.3.4
> still seg faults
> 
> 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 you
> 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 details.
> 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 upgrade
> 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]:
> 
> llvm~devel/llvm32 has no direct installation candidates, change it to
> llvm32~devel/llvm32 [Y/n]:
> Checking for upgrades: 100%
> 
> 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 ()
> 
> 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

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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1036 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20140803/d70277f7/attachment.sig>


More information about the freebsd-questions mailing list