[Bug 1961800] Re: Seeing out of memory errors after libexpat1 upgrade to 2.2.5-3ubuntu0.4 (bionic) or 2.2.9-1ubuntu0.2 (focal)

Corey Bryant 1961800 at bugs.launchpad.net
Wed Jan 11 20:24:59 UTC 2023


Also fixed in jammy expat 2.4.7

** Also affects: expat (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: python-xmltodict (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Changed in: expat (Ubuntu Jammy)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-xmltodict in Ubuntu.
https://bugs.launchpad.net/bugs/1961800

Title:
  Seeing out of memory errors after libexpat1 upgrade to
  2.2.5-3ubuntu0.4 (bionic) or 2.2.9-1ubuntu0.2 (focal)

Status in expat package in Ubuntu:
  Fix Released
Status in python-xmltodict package in Ubuntu:
  Invalid
Status in expat source package in Bionic:
  Fix Released
Status in python-xmltodict source package in Bionic:
  Invalid
Status in expat source package in Focal:
  Fix Released
Status in python-xmltodict source package in Focal:
  Invalid
Status in expat source package in Jammy:
  Fix Released
Status in python-xmltodict source package in Jammy:
  Invalid
Status in expat source package in Kinetic:
  Fix Released
Status in python-xmltodict source package in Kinetic:
  Invalid
Status in expat source package in Lunar:
  Fix Released
Status in python-xmltodict source package in Lunar:
  Invalid

Bug description:
  I started seeing errors parsing XML files today (Feb 22, 2022) after
  my system was updated to 2.2.5-3ubuntu0.4. This is on a bionic server.

  The parsing is being done by python3's xmltodict module, which uses
  python3 expat as the actual parser. This is the error it raises:

  xml.parsers.expat.ExpatError: out of memory: line 1, column 0

  So far this is happening on multiple xml files, although they all come
  from the same source (these are jenkins config.xml files). I'm working
  on coming up with a minimal test case which I'll provide once I have
  it cleaned up of any private data.

  [System info]
  $ lsb_release -rd
  Description:    Ubuntu 18.04.6 LTS
  Release:        18.04

  $ apt-cache policy libexpat1
  libexpat1:
    Installed: 2.2.5-3ubuntu0.4
    Candidate: 2.2.5-3ubuntu0.4
    Version table:
   *** 2.2.5-3ubuntu0.4 500
          500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
          500 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages
          100 /var/lib/dpkg/status
       2.2.5-3 500
          500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages

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




More information about the Ubuntu-openstack-bugs mailing list