bugGNUpod - Bugs: bug #34886, gnupod programs fail to parse a...


bug #34886: gnupod programs fail to parse a large GNUtunesDB.xml file

Submitted by:  None
Submitted on:  Wed 23 Nov 2011 05:12:47 PM UTC  
Category:  General Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 23 Nov 2011 05:12:47 PM UTC, original submission:  


My GNUtunesDB.xml file got too large for XML::Parser to buffer via ->parse_file, and all programs were failing with this error:

> Parsing XML document...

Ran out of memory for input buffer at /usr/lib/perl5/XML/Parser/Expat.pm line 469.

Attached is a patch that fixes the issue by incrementally parsing.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #24435:  gnupod-xml-parse-out-of-memory.diff added by None (469B - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2011-11-23 None Attached File- => Added gnupod-xml-parse-out-of-memory.diff, #24435

Back to the top

Powered by Savane 3.5