[Bug 1839714] Re: Segmentation fault when running apt update using libapt-pkg5.90_1.9.2
shemgp
1839714 at bugs.launchpad.net
Thu Aug 15 01:57:31 UTC 2019
Here's the backtrace:
0x00007ffff7dc4310 in pkgAcquire::Enqueue (this=0x7fffffffdf20, Item=...) at ../apt-pkg/acquire.cc:339
warning: Source file is more recent than executable.
339 if (Config->LocalOnly == true
(gdb) bt
#0 0x00007ffff7dc4310 in pkgAcquire::Enqueue (this=0x7fffffffdf20, Item=...) at ../apt-pkg/acquire.cc:339
#1 0x00007ffff7d874e4 in pkgAcquire::Item::QueueURI (this=<optimized out>, Item=...) at ../apt-pkg/acquire-item.cc:403
#2 0x00007ffff7d98a1b in pkgAcqMetaIndex::pkgAcqMetaIndex(pkgAcquire*, pkgAcqMetaClearSig*, IndexTarget const&, IndexTarget const&) ()
at ../apt-pkg/acquire-item.cc:2075
#3 0x00007ffff7d98dde in pkgAcqMetaClearSig::pkgAcqMetaClearSig(pkgAcquire*, IndexTarget const&, IndexTarget const&, IndexTarget const&, metaIndex*) ()
at ../apt-pkg/acquire-item.cc:1886
#4 0x00007ffff7e2e0d3 in debReleaseIndex::GetIndexes (this=<optimized out>, Owner=0x7fffffffdf20, GetAll=@0x7fffffffdeec: false)
at /usr/include/c++/9/ext/new_allocator.h:80
#5 0x00007ffff7e9fd19 in pkgSourceList::GetIndexes (this=this at entry=0x55555557bd40, Owner=Owner at entry=0x7fffffffdf20, GetAll=<optimized out>, GetAll at entry=false)
at ../apt-pkg/sourcelist.cc:487
#6 0x00007ffff7eacced in ListUpdate (Stat=..., List=..., PulseInterval=PulseInterval at entry=0) at ../apt-pkg/update.cc:34
#7 0x00007ffff7f584ca in DoUpdate (CmdL=...) at ../apt-private/private-update.cc:72
#8 0x00007ffff7defa4f in CommandLine::DispatchArg (this=this at entry=0x7fffffffe430, Map=<optimized out>, NoMatch=NoMatch at entry=true)
at ../apt-pkg/contrib/cmndline.cc:369
#9 0x00007ffff7f1f7b7 in DispatchCommandLine (CmdL=..., Cmds=std::vector of length 31, capacity 32 = {...}) at /usr/include/c++/9/bits/stl_iterator.h:806
#10 0x00005555555563ea in main (argc=2, argv=0x7fffffffe588) at ../cmdline/apt.cc:120
Diffing the 1.9.1 and 1.9.2 acquire shows that pkgAcquire::QueueName was
changed.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1839714
Title:
Segmentation fault when running apt update using libapt-pkg5.90_1.9.2
Status in apt package in Ubuntu:
New
Bug description:
apt update doesn't work after upgrading apt to 1.9.2 with strace:
openat(AT_FDCWD, "/var/lib/apt/lists/lock", O_RDWR|O_CREAT|O_NOFOLLOW, 0640) = 4
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
fcntl(4, F_SETLK, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x5e} ---
+++ killed by SIGSEGV (core dumped) +++
downgrading libapt-pkg5.90 to 1.9.1 fixes it.
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: libapt-pkg5.90 1.9.2
ProcVersionSignature: Ubuntu 5.2.0-8.9+test1-generic 5.2.0
Uname: Linux 5.2.0-8-generic x86_64
ApportVersion: 2.20.11-0ubuntu7
Architecture: amd64
CurrentDesktop: GNOME
Date: Sat Aug 10 21:27:42 2019
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-09-28 (1411 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: apt
UpgradeStatus: Upgraded to eoan on 2019-07-26 (14 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1839714/+subscriptions
More information about the foundations-bugs
mailing list