Project

General

Profile

Actions

Bug #2565

open

xmltv2vdr fails to process large xml files

Added by avakh over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
Start date:
09/30/2018
Due date:
% Done:

0%

Estimated time:
0:30 h

Description

If xmltv XML file reaches some critical size (my file was 43 MB, attached) the plugin fails to process it and enters infinite loop continiously trying to reparse the file, see log below.

This can be easily fixed by activation of huge file parsing in libxml call, see attachd patch. I request to apply the patch to Mainstream Version.

Sep 29 21:12:54 vdrmain vdr27886: [28419] xmltv2vdr: 'iptvx' iptvx 7 '' 0 pervy-kanal-eu rtr-planeta-eu
Sep 29 21:12:57 vdrmain vdr27886: Entity: line 85401: parser error : internal error: Huge input lookup
Sep 29 21:12:57 vdrmain vdr27886: [80B blob data]
Sep 29 21:12:57 vdrmain vdr27886: ^
Sep 29 21:12:57 vdrmain vdr27886: Entity: line 85401: parser error : Extra content at the end of the document
Sep 29 21:12:57 vdrmain vdr27886: [80B blob data]
Sep 29 21:12:57 vdrmain vdr27886: ^
Sep 29 21:12:57 vdrmain vdr27886: [28419] xmltv2vdr: 'iptvx' ERROR failed to parse xmltv


Files

iptvx.xml.gz (4.7 MB) iptvx.xml.gz xmltv file causing error avakh, 09/30/2018 12:49 PM
parse.hugexml.patch (385 Bytes) parse.hugexml.patch suggested patch avakh, 09/30/2018 12:49 PM

No data to display

Actions

Also available in: Atom PDF