{"action":"created","issue":{"url":"https://api.github.com/repos/kodi-pvr/pvr.vbox/issues/59","labels_url":"https://api.github.com/repos/kodi-pvr/pvr.vbox/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/kodi-pvr/pvr.vbox/issues/59/comments","events_url":"https://api.github.com/repos/kodi-pvr/pvr.vbox/issues/59/events","html_url":"https://github.com/kodi-pvr/pvr.vbox/issues/59","id":85132002,"number":59,"title":"Repeated crash with UK external XMLTV file - buffer overrun?","user":{"login":"sunstealer","id":12748918,"avatar_url":"https://avatars.githubusercontent.com/u/12748918?v=3","gravatar_id":"","url":"https://api.github.com/users/sunstealer","html_url":"https://github.com/sunstealer","followers_url":"https://api.github.com/users/sunstealer/followers","following_url":"https://api.github.com/users/sunstealer/following{/other_user}","gists_url":"https://api.github.com/users/sunstealer/gists{/gist_id}","starred_url":"https://api.github.com/users/sunstealer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunstealer/subscriptions","organizations_url":"https://api.github.com/users/sunstealer/orgs","repos_url":"https://api.github.com/users/sunstealer/repos","events_url":"https://api.github.com/users/sunstealer/events{/privacy}","received_events_url":"https://api.github.com/users/sunstealer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kodi-pvr/pvr.vbox/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-06-04T14:50:26Z","updated_at":"2015-06-11T11:47:50Z","closed_at":null,"body":"This tag:\r\n`<desc lang=\"en\">With Catriona Young. Mozart: Overture: Singspiel in three acts: Die Entfuhrung aus dem Serail, K384. Balakirev: Oriental Fantasy orch Lyapunov: Islamey. Holst: Oriental Suite: Beni Mora, Op 29 No 1. Borusan Istanbul Philharmonic Orchestra, conductor Sascha Goetzel. 1.04 Handel: Solomon - oratorio, Act 3; Sinfonia (Arrival of the Queen of Sheba). 1.08 Respighi: Suite: Belkis, regina di Saba (Belkis, Queen of Sheba). 1.33 Erkin: Kocekce. 1.43 Mozart: Quintet for piano, oboe, clarinet, bassoon and horn in E flat, K452. 2.08 Purcell: Timon of Athens, the Man-Hater, Z632. 2.31 Bartok: Violin Concerto No 1 Op Post, Sz36. 2.53 Martinu: Symphony No 1. 3.30 Dvorak: Slavonic Dance No 10 in E minor, Op 72 No 2. 3.36 Mendelssohn: Venetian Boat Song, Op 30 No 6 (Songs Without Words, Book II). 3.40 Vivaldi: Concerto in F for violin, two oboes, two horns, bassoon and cello, Rv569. 3.53 Part: The Woman with the Alabaster box for chorus. 4.00 Faure: Piano Nocturne No 6 in D flat, Op 63. 4.09 Borgs</desc>`\r\n\r\nis ok and loads without crashing during the initial population of the EPG after booting\r\n\r\nThis tag:\r\n`<desc lang=\"en\">With Catriona Young. Mozart: Overture: Singspiel in three acts: Die Entfuhrung aus dem Serail, K384. Balakirev: Oriental Fantasy orch Lyapunov: Islamey. Holst: Oriental Suite: Beni Mora, Op 29 No 1. Borusan Istanbul Philharmonic Orchestra, conductor Sascha Goetzel. 1.04 Handel: Solomon - oratorio, Act 3; Sinfonia (Arrival of the Queen of Sheba). 1.08 Respighi: Suite: Belkis, regina di Saba (Belkis, Queen of Sheba). 1.33 Erkin: Kocekce. 1.43 Mozart: Quintet for piano, oboe, clarinet, bassoon and horn in E flat, K452. 2.08 Purcell: Timon of Athens, the Man-Hater, Z632. 2.31 Bartok: Violin Concerto No 1 Op Post, Sz36. 2.53 Martinu: Symphony No 1. 3.30 Dvorak: Slavonic Dance No 10 in E minor, Op 72 No 2. 3.36 Mendelssohn: Venetian Boat Song, Op 30 No 6 (Songs Without Words, Book II). 3.40 Vivaldi: Concerto in F for violin, two oboes, two horns, bassoon and cello, Rv569. 3.53 Part: The Woman with the Alabaster box for chorus. 4.00 Faure: Piano Nocturne No 6 in D flat, Op 63. 4.09 Borgst</desc>`\r\n\r\nreliably crashes every time - with a Kodi reboot loop effectively being created as it can't get past the EPG upload without a crash.\r\n\r\nThe difference is 996 characters vs. 995 characters.  Presumably, there is some memory being allocated somewhere with a fixed size?\r\n\r\nThis is a problem in the UK where program descriptions can be even longer than this.\r\n\r\nFor example, the full tag in this particular program is:\r\n\r\n`<desc lang=\"en\">With Catriona Young. Mozart: Overture: Singspiel in three acts: Die Entfuhrung aus dem Serail, K384. Balakirev: Oriental Fantasy orch Lyapunov: Islamey. Holst: Oriental Suite: Beni Mora, Op 29 No 1. Borusan Istanbul Philharmonic Orchestra, conductor Sascha Goetzel. 1.04 Handel: Solomon - oratorio, Act 3; Sinfonia (Arrival of the Queen of Sheba). 1.08 Respighi: Suite: Belkis, regina di Saba (Belkis, Queen of Sheba). 1.33 Erkin: Kocekce. 1.43 Mozart: Quintet for piano, oboe, clarinet, bassoon and horn in E flat, K452. 2.08 Purcell: Timon of Athens, the Man-Hater, Z632. 2.31 Bartok: Violin Concerto No 1 Op Post, Sz36. 2.53 Martinu: Symphony No 1. 3.30 Dvorak: Slavonic Dance No 10 in E minor, Op 72 No 2. 3.36 Mendelssohn: Venetian Boat Song, Op 30 No 6 (Songs Without Words, Book II). 3.40 Vivaldi: Concerto in F for violin, two oboes, two horns, bassoon and cello, Rv569. 3.53 Part: The Woman with the Alabaster box for chorus. 4.00 Faure: Piano Nocturne No 6 in D flat, Op 63. 4.09 Borgstrom: Music to Johan Gabriel Borkman. 4.21 Haydn: Overture: Sinfonia (L' Isola disabitata). 4.31 Mozart: Overture: Der Schauspieldirektor, K486. 4.35 Schubert: Impromptu No 2 in E flat, D899. 4.41 Delibes: Suite: Sylvia. 4.59 Reutter: Ecce quomodo moritur justus. 5.06 Mendelssohn: String Quartet No 2 in A minor, Op 13. 5.36 Bach: Ricercare a 6 (Musical Offering, BWV1079). 5.45 Kutev: Symphonic Dances. 5.56 Noskowski: The Highlander's Fantasy, Op 17. 6.05 Reinecke: Ballade for flute and orchestra. 6.13 Bach: Quintet No 4 in E flat for flute, oboe, violin, viola and double bass, Op 11.</desc>`\r\n\r\nThis renders the add-on effectively unusable in the UK because without external XMLTV, the EPG is too lousy to use and with external XMLTV, it crashes. It is worth noting that the Simple IPTV PVR plugin parses the same XMLTV file perfectly and also loads the channel icons and the graphics for each program, which vbox.pvr doesn't seem to be able to do.\r\n\r\nI hope this is enough detail to track down the problem - please let me know - I tried to find the bug in your source but didn't find it yet, so please let me know where it is when you find it - thanks"},"comment":{"url":"https://api.github.com/repos/kodi-pvr/pvr.vbox/issues/comments/111100878","html_url":"https://github.com/kodi-pvr/pvr.vbox/issues/59#issuecomment-111100878","issue_url":"https://api.github.com/repos/kodi-pvr/pvr.vbox/issues/59","id":111100878,"user":{"login":"sunstealer","id":12748918,"avatar_url":"https://avatars.githubusercontent.com/u/12748918?v=3","gravatar_id":"","url":"https://api.github.com/users/sunstealer","html_url":"https://github.com/sunstealer","followers_url":"https://api.github.com/users/sunstealer/followers","following_url":"https://api.github.com/users/sunstealer/following{/other_user}","gists_url":"https://api.github.com/users/sunstealer/gists{/gist_id}","starred_url":"https://api.github.com/users/sunstealer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunstealer/subscriptions","organizations_url":"https://api.github.com/users/sunstealer/orgs","repos_url":"https://api.github.com/users/sunstealer/repos","events_url":"https://api.github.com/users/sunstealer/events{/privacy}","received_events_url":"https://api.github.com/users/sunstealer/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T11:47:50Z","updated_at":"2015-06-11T11:47:50Z","body":"I was wondering the same thing - I will investigate"}}