Bug rtmp streams crash XBMC 12.3 & 13.0 Beta 1
#1
Exclamation 
Hi,
I am so anoyed with this issue, I just have to post a new thread (have done it earlier also without getting any response).

Playing rtmp iptv-streams via a PVR-client addon causes XBMC to crash after a while. It happens mainly while switching channels (fullscreen or not).
First couple of zapps go fine, then all of a sudden it would just hang, without starting the selected stream\channel. If I press Back, it goes to the main channels list, if I press X (stop) it freezes xbmc, and at it end I need to kill the process.
Very anoying having to restart XMBC after switching a few channels. Tested this both on 12.3, 13.0 alpha builds and the latest 13.0 beta. Same issue.
Have also tried updating librtmp.dll to the latest versjon for xbmc win32, still same issue.

Debug log: http://xbmclogs.com/show.php?id=143673

Sometimes I also get this exception dialog (on multiple\different machines):
Image

Have no issue running these streams on other devices or programs. Like vlc-based players, ipad, smartv.
HTPC Server - Windows 8.1 + XBMC Helix | Intel QuadCore, 4GB RAM, 4 TB SATA
Intel NUC D54250WYK - Windows 8.1 + XBMC Helix | Logitech Harmony 750
Samsung UE8005 | Bluetooth keyboard & mousepad
Reply
#2
BUMP
HTPC Server - Windows 8.1 + XBMC Helix | Intel QuadCore, 4GB RAM, 4 TB SATA
Intel NUC D54250WYK - Windows 8.1 + XBMC Helix | Logitech Harmony 750
Samsung UE8005 | Bluetooth keyboard & mousepad
Reply
#3
Really? No one?
HTPC Server - Windows 8.1 + XBMC Helix | Intel QuadCore, 4GB RAM, 4 TB SATA
Intel NUC D54250WYK - Windows 8.1 + XBMC Helix | Logitech Harmony 750
Samsung UE8005 | Bluetooth keyboard & mousepad
Reply
#4
A quick look over your debug and one can see there certainly is a lot of errors trying to play the data, most seem to becoming from the DXVA hardware acceleration and it looks like you have enough CPU muscle to try software decoding. I doubt it will help that much but it's worth a shot to go for software rendering. You also want to play with your video cache and external video buffers to see if you can smooth out the bandwidth a bit.

http://wiki.xbmc.org/index.php?title=HOW...ideo_cache
Reply
#5
http://trac.xbmc.org/ticket/14916
Reply
#6
Thank you both for replying, this problem is getting really annoying. Smile
I will try your advice PatK.

@NedScott, yeah I was aware of those tickets, and they are very similar issues. I didn't want to post a new ticket because I tought it was fixed in Gotham beta. Seems like there are more people with the same issue.

Should we just wait untill developers fix the issue or is there more debugging needed?
HTPC Server - Windows 8.1 + XBMC Helix | Intel QuadCore, 4GB RAM, 4 TB SATA
Intel NUC D54250WYK - Windows 8.1 + XBMC Helix | Logitech Harmony 750
Samsung UE8005 | Bluetooth keyboard & mousepad
Reply
#7
I'm honestly not sure, but I will try to attract some more attention to the issue.
Reply
#8
Okay, I was testing last night with the advice from PatK.

Test 1 - rtmp
I tryed first using Software rendering, but no improvment. There are some weird looking errors here. (Line 390).
Debug Log - Software rendering: http://xbmclogs.com/show.php?id=147348

I also tryed playing aroud with the cache and buffer. Hmmm, when I used all 3 settings (buffermode 2, around 300mb cache and readbufferfactor 4.0), there was some improvment.
I managed to switch to multiple channels (like 10 or so), but at the end it stopped\hanged again, with the same type or errors in the log. After restart, I tryed again and it crashed on the first try.

On time when it crashed I was watching the XBMC folder under Roaming, and it started generating a huge amount of debug and stack files. In a matter of 10 secconds it created over 100 files. I had to kill the process.


Test 2 - http
I wanted to see if there are some issues with the rtmp stream itself or if this is an isse with the handling of the streams. I tested the same thing with the providers own http streams (they have both rtmp and http).
So I added the http streams with "|User-agent=SomeValueHere" at the end of each url (this is needed for http streams). And I can see from the log that the connection is established, and the stream starts.
In XBMC I see no video, I do hear the sound for a seccond or two, I get the "Working\Playing" spinner at the top, it stays like this for 5-10 secconds and just stops (it does not crash).
Debug log - Http streams: http://xbmclogs.com/show.php?id=147354
HTPC Server - Windows 8.1 + XBMC Helix | Intel QuadCore, 4GB RAM, 4 TB SATA
Intel NUC D54250WYK - Windows 8.1 + XBMC Helix | Logitech Harmony 750
Samsung UE8005 | Bluetooth keyboard & mousepad
Reply
#9
Bump
HTPC Server - Windows 8.1 + XBMC Helix | Intel QuadCore, 4GB RAM, 4 TB SATA
Intel NUC D54250WYK - Windows 8.1 + XBMC Helix | Logitech Harmony 750
Samsung UE8005 | Bluetooth keyboard & mousepad
Reply
#10
Have there been some changes to this in the Gotham 13.0 beta2?

I tested now, and it seems to have improved, greatly. Smile It looks like if there is an "error" in stream reading, it does not hang anymore. The spinner disapears right away and I can just start the channel again. Much better than having xbmc crash on me Smile

I'll keep testing some more.
HTPC Server - Windows 8.1 + XBMC Helix | Intel QuadCore, 4GB RAM, 4 TB SATA
Intel NUC D54250WYK - Windows 8.1 + XBMC Helix | Logitech Harmony 750
Samsung UE8005 | Bluetooth keyboard & mousepad
Reply
#11
Nope, spoke too soon.
Tested this on my Intel NUC, keeps hanging\freezing\crashing xmbc while watching live-streams of type rtmp.
HTPC Server - Windows 8.1 + XBMC Helix | Intel QuadCore, 4GB RAM, 4 TB SATA
Intel NUC D54250WYK - Windows 8.1 + XBMC Helix | Logitech Harmony 750
Samsung UE8005 | Bluetooth keyboard & mousepad
Reply
#12
also having the same issue. please fix this!
Image
Reply

Logout Mark Read Team Forum Stats Members Help
rtmp streams crash XBMC 12.3 & 13.0 Beta 10