[Bug 1877987] Re: apt search coredumping

Launchpad Bug Tracker 1877987 at bugs.launchpad.net
Wed Apr 7 02:21:00 UTC 2021


This bug was fixed in the package apt - 2.0.5

---------------
apt (2.0.5) focal; urgency=medium

  [ Julian Andres Klode ]
  * private-search: Only use V.TranslatedDescription() if good (LP: #1877987)
  * Implement update --error-on=any (Closes: #594813) (LP: #1693900)
  * Include all translations when building the cache (LP: #1907850)
  * Add basic support for the Protected field, and do not require force-loopbreak
    on Protected/Important packages (Closes: #983014) (LP: #1916725)
  * Protect currently running kernel at run-time (LP: #1615381)
  * Make ADDARG{,C}() macros expand to single statements
  * Default Acquire::AllowReleaseInfoChange::Suite to "true" (Closes: #931566)
    (LP: #1918907)

  [ David Kalnischkies ]
  * Fix incorrect base64 encoding due to int promotion (LP: #1916050)
  * Harden test for no new acquires after transaction abort (Closes: #984966)
    (LP: #1918920)

 -- Julian Andres Klode <juliank at ubuntu.com>  Fri, 12 Mar 2021 12:47:30
+0100

** Changed in: apt (Ubuntu Focal)
       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/1877987

Title:
  apt search coredumping

Status in apt package in Ubuntu:
  Fix Released
Status in apt source package in Focal:
  Fix Released

Bug description:
  [Impact]
  Search sometimes crashes if no translated description is available, as the translated description object was used without a check as to whether it exists.

  [Test case]
  No reproducer available at the moment.

  
  [Where problems could occur]
  In search command only, and only when looking at descriptions

  [Original bug report]
  root at citoyx:/var/crash# apt search jdk
  Sorting... Done
  Segmentation fault (core dumped)

  May 11 12:34:25 citoyx kernel: [ 1354.337907] apt[10418]: segfault at 7f67292dcfc0 ip 00007f6309ce4997 sp 00007ffdab880930 error 4 in libapt-pkg.so.6.0.0[7f6309bb5000+147000]
  May 11 12:34:25 citoyx kernel: [ 1354.337916] Code: 48 8b 45 18 48 8b 04 d0 48 83 c4 08 5b 5d c3 0f 1f 40 00 f3 0f 1e fa 55 48 89 fd 53 48 89 f3 48 83 ec 08 48 8b 06 48 8b 4e 08 <8b> 10 48 8d 04 d5 00 00 00 00 48 29 d0 48 8b 51 60 48 8d 04 c2 0f

  root at citoyx:/var/crash# cat /etc/lsb-release
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=20.04
  DISTRIB_CODENAME=focal
  DISTRIB_DESCRIPTION="Ubuntu 20.04 LTS"

  apt search is coredumping
  While apt install/upgrade/update is running fine

  crash file in attachment.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1877987/+subscriptions



More information about the foundations-bugs mailing list