[Bug 1815188] [NEW] Fix crash when opening DepCache before Cache

Julian Andres Klode 1815188 at bugs.launchpad.net
Fri Feb 8 11:39:59 UTC 2019


Public bug reported:

[Impact]
apt search and probably other code crashes some time, as GetDepCache() in trusty does not call BuildCaches() first.

[Test case]
TODO, some apt search -o RootDir=<something> foobar

[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.

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/1815188

Title:
  Fix crash when opening DepCache before Cache

Status in apt package in Ubuntu:
  New

Bug description:
  [Impact]
  apt search and probably other code crashes some time, as GetDepCache() in trusty does not call BuildCaches() first.

  [Test case]
  TODO, some apt search -o RootDir=<something> foobar

  [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/1815188/+subscriptions



More information about the foundations-bugs mailing list