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

 
 

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

Submitter:  None
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup
   

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

Hi,

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.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

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

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

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.13-cf05.
Corresponding source code