Kodi Community Forum

Full Version: Crash when entering a folder with FLV files
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

when I enter a folder with flv files XBMC crashes I use XBMC with my EasyVDR setup.

ii xbmc 5:11.0-pvr+odk-eden~git20120228.af89a07-0easyVDR2.8 XBMC Media Center (arch-independent data package)
ii xbmc-bin 5:11.0-pvr+odk-eden~git20120228.af89a07-0easyVDR2.8 XBMC Media Center (binary data package)

Can some one please help ?

TIA
Thanks. Please paste the crashlog on pastebin and link to it from here - having to unzip just slows things down for everyone.
Sorry, I've only done what I've seen here. Here you are: http://pastie.org/3605126
Hi frantek. Sorry to delay yet again, but we need debug logging enabled from System settings, System, Debugging. This increases the amount data logged and gives us a better change of seeing what's going on.Can you enable debug logging then restart XBMC (so debug logging is on from the start) and go into the flv folder or whatever is needed to make it crash.

JR
With file and folder names stripped .... http://pastie.org/3614138
It's crashing while trying to extract thumbnails. Specifically it's crashing between https://github.com/xbmc/xbmc/blob/master...g.cpp#L450 and https://github.com/xbmc/xbmc/blob/master...g.cpp#L465. I would guess it's the call to m_dllAvFormat.av_find_stream_info that's crashing.

I'm not sure there's a lot we can do about this. I think m_dllAvFormat.av_find_stream_info is the ffmpeg code, and we didn't write that. For now the only option is to resample the offending flv or remove it. The next version of XBMC will have the latest version of the ffmpeg code.

I use flv videos from the BBC iPlayer, but they are converted to mp4 using:

Code:
ffmpeg -i somefile.flv -vcodec copy -acodec copy -f mp4 -y somefile.mp4

You could try this on the offending flv and see if it helps. The conversion only takes a few seconds because it's just a container change not a resample.

JR
ffmpeg crashes with these options.

is it possible to prevent xbmc from trying to generate thumbs? This would solve the problem too.
Settings->Video->File Lists or similar.
thanks, fixed it as a workaround ...