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

2022-02-22 Thread Francis Ginther
Moving this to xmltodict as I've been able to parse multiple xml files
through just python3's xml.parsers.expat without error, but none of them
through xmltodict.

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

** Changed in: python-xmltodict (Ubuntu)
   Status: New => Confirmed

** Changed in: expat (Ubuntu)
   Status: Confirmed => Invalid

** Summary changed:

- Seeing out of memory errors after upgrade to 2.2.5-3ubuntu0.4 (bionic) or 
2.2.9-1ubuntu0.2 (focal)
+ Seeing out of memory errors after libexpat1 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
Touch seeded packages, which is subscribed to expat 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:
  Invalid
Status in python-xmltodict package in Ubuntu:
  Confirmed

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2022-02-22 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: expat (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to expat in 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)

Status in expat package in Ubuntu:
  Confirmed
Status in python-xmltodict package in Ubuntu:
  New

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2022-02-22 Thread Francis Ginther
This may be an issue with the python3 xmltodict module. Further testing
indicates that parsing a file with just xml.parsers.expat is working
just fine.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to expat in 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)

Status in expat package in Ubuntu:
  New

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1961800] Re: Seeing out of memory errors after upgrade to 2.2.5-3ubuntu0.4

2022-02-22 Thread Francis Ginther
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
Touch seeded packages, which is subscribed to expat in 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)

Status in expat package in Ubuntu:
  New

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1961800] Re: Seeing out of memory errors after upgrade to 2.2.5-3ubuntu0.4

2022-02-22 Thread Francis Ginther
I was able to workaround the issue by downgrading to the release version
of the package:

$ sudo apt-get install libexpat1=2.2.5-3 libexpat1-dev=2.2.5-3

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to expat in Ubuntu.
https://bugs.launchpad.net/bugs/1961800

Title:
  Seeing out of memory errors after upgrade to 2.2.5-3ubuntu0.4

Status in expat package in Ubuntu:
  New

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp