XBMC crashes when trying to play certain m3u8 playlists
#1
Hi

I developed a NHL Gamecenter add-on for XBMC. It works well for the most part but XBMC crashes sometimes when using the add-on on OSX and Linux.

I was not able to fix this and wanted to ask if I'm doing something wrong or if this is a bug in XBMC. I put together a very simple add-on that plays a local m3u8 file and exhibits the same crashes as my NHL Gamecenter add-on. Is there an error in the following code?

Code:
import xbmc
import xbmcplugin
import xbmcgui
import xbmcaddon
import os

ADDON = xbmcaddon.Addon()
ADDON_PATH = xbmc.translatePath(ADDON.getAddonInfo('path'))

xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]),url=os.path.join(ADDON_PATH, 'test.m3u8'),listitem=xbmcgui.ListItem('Play'))
xbmcplugin.endOfDirectory(int(sys.argv[1]))

On OSX Mavericks 10.9.2 I can get XBMC Gotham Beta 3 to crash consistently when I do the following:
1. Open the add-on
2. Play the single item in the list
3. Stop playback after 1-2 seconds
4. Repeat step 2 and 3 a few times

For some reason, I wasn't able to reproduce the error with this stream:
http://www.nasa.gov/multimedia/nasatv/NT...c-IPS.m3u8

It only crashes with the original NHL stream and with this local version of the stream.

I hope you can help me out.

You can download the add-on here: http://www.sendspace.com/file/tsm7q5
XBMC log: http://pastebin.com/viYqQTNB
Mac OSX crash log: http://pastebin.com/W80WzRyj
Reply
#2
Anyone?
Reply
#3
did you figure out the problem?
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC crashes when trying to play certain m3u8 playlists0