Comment 2 for bug 1961800

Revision history for this message
Francis Ginther (fginther) wrote : Re: Seeing out of memory errors after upgrade to 2.2.5-3ubuntu0.4

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.