Attached is an example config file and python script which demonstrates the parsing error. This was reproduced on focal with:
$ apt-cache policy libexpat1 libexpat1: Installed: 2.2.9-1ubuntu0.2 Candidate: 2.2.9-1ubuntu0.2 Version table: *** 2.2.9-1ubuntu0.2 500 500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages 100 /var/lib/dpkg/status 2.2.9-1build1 500 500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages This example worked with 2.2.9-1build1 but not 2.2.9-1ubuntu0.2. To run the example: $ ./parser_example.py ./sample-config.xml The sample-config.xml was generated by jenkins (version 2.303.2) of a freestyle project with only the job name and description set. ** Attachment added: "sample-config-and-parser.tgz" https://bugs.launchpad.net/ubuntu/+source/expat/+bug/1961800/+attachment/5562745/+files/sample-config-and-parser.tgz ** Summary changed: - Seeing out of memory errors after upgrade to 2.2.5-3ubuntu0.4 + Seeing out of memory errors after upgrade to 2.2.5-3ubuntu0.4 (bionic) or 2.2.9-1ubuntu0.2 (focal) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1961800 Title: Seeing out of memory errors after upgrade to 2.2.5-3ubuntu0.4 (bionic) or 2.2.9-1ubuntu0.2 (focal) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/expat/+bug/1961800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs