[Bug 1815187] Re: Fix crash when opening DepCache before Cache
Launchpad Bug Tracker
1815187 at bugs.launchpad.net
Mon Feb 25 11:44:00 UTC 2019
This bug was fixed in the package apt - 1.0.1ubuntu2.20
---------------
apt (1.0.1ubuntu2.20) trusty; urgency=medium
[ Julian Andres Klode ]
* Fix crashes in apt search, cache file (LP: #1815187)
* Clean up some build artifacts and regenerate the po files
[ Heitor R. Alves de Siqueira ]
* backport "do not segfault in cache generation on mmap failure"
(Closes: 803417) (LP: #1815129)
-- Julian Andres Klode <juliank at ubuntu.com> Fri, 08 Feb 2019 13:12:26
+0100
** Changed in: apt (Ubuntu Trusty)
Status: Fix Committed => Fix Released
--
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/1815187
Title:
Fix crash when opening DepCache before Cache
Status in apt package in Ubuntu:
Fix Released
Status in apt source package in Trusty:
Fix Released
Bug description:
[Impact]
apt search and probably other code crashes some time, as GetDepCache() in trusty does not call BuildCaches() first.
[Test case]
Run apt search -o RootDir=/dev/null foobar, make sure it does not crash.
[Regression potential]
There may be some locking implications, as we build caches when opening depcache first, without locks. That said, the same code is in use in all post-trusty releases, and they work fine.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1815187/+subscriptions
More information about the foundations-bugs
mailing list