Crashing issue on SHIELD (UK H264)

Ok. here’s 3 logs in the linked zip file

https://www.dropbox.com/s/uda4bsxq7d0idl0/channels.zip?dl=0

output3.txt is where the ANR happened while seeking in the DVR playback
output4.txt was then after choosing “close app” after the ANR I went into the guide, selected a channel and it locked up. The only way to get it working again was to reboot the shield.

There was one other odd scenario (output2.txt). I was seeking and the seekbar was still moving and the app kept responding but the image was totally frozen until I came out of the playing DVR file and restarted it. While it was in this state it allowed me to seek back beyond the start of the file (so it got to showing -90mins into the program)

Let me know if you need anything else.

Thanks, that’s helpful.

I’ve just finished a large rewrite of the core video decoder, which should fix a number of bugs including the ANRs and the random buffering sometimes happening during playback (also related to the sync problem I think).

Would appreciate if you could both put the latest alpha through the paces. If an ANR happens again, can you grab adb shell cat /data/anr/traces.txt as well.

1 Like

Will do, thanks

I’ve had the same anr with the v36 beta, but wasn’t logging at the time. I’ll try and catch the details again in the next few days

Ok, I’ve managed to get the logcat and traces and uploaded them onto dropbox here:
https://www.dropbox.com/s/4ja6d26auxroeno/anr.zip?dl=0

Let me know if there’s anything else you need from it.

1 Like

I’ve not experienced any issues at all so far other than the channels being replaced with the Welsh versions! I’ve ordered an attenuator as mentioned above in the hope of resolving the issue.

Thanks! I’m uploading build 37 to beta with a fix for the issue I saw in the logs.

1 Like

Sadly it still crashed with beta 38

Here’s the logcat and traces again:

https://www.dropbox.com/s/n2c3lmeqgx546sv/anr2.zip?dl=0

Thanks.

Does it happen on recording playback only, or live tv as well?

I’ve only seen it on recording playback. It doesn’t happen very often, so when testing I’m choosing a recording and skipping backwards and forwards for usually about 1-2 minutes before it happens.
Once it’s happened it kills pretty much everything until the shield is rebooted. Live tv, dvr stop working and the guide looses pretty much all its data.

Thanks. I’ll see if I can reproduce here with debug symbols.

If you can’t and you want the recording file, let me know and I’ll sort one for you tomorrow as it’s late here.

I tried fff/rw like crazy on both a mpeg2 and h264 recording here and couldn’t reproduce. Maybe it has something to do with aac audio or interlaced h264. Can you upload a recording to google drive or similar?

Will do

I looks like they were all auto backing up to my onedrive anyway so here’s a link to one that I know I’ve had issues with: https://1drv.ms/v/s!AhkBnFp-5uB_jqhq_qXqVe6d_9rNlg

Just so you know my setup I’m running on an nvidia shield for the client and using the dvr on my synology nas drive all with a wired network.

1 Like

Hrm… I played that recording on my SHIELD and FF/RW through it a bunch of times but couldn’t get it to ANR.

Maybe I’m not doing something that you are? Perhaps you can make a video with your phone so I can see the steps.

For what it’s worth, I am not experiencing any issues at all at the moment. Everything is working great.

Here’s the latest traces and logs to go along with the video
https://www.dropbox.com/s/gl9rcog5oj1wjao/anr3.zip?dl=0

And here’s the recording of things happening
https://photos.app.goo.gl/FxJ7wv9g6F5VRSDG3

So firstly the video shows the ANR happening in a recorded video.

Then I relaunch channels and try another dvr video (but the same will happen with live tv) that there’s nothing and just an ANR.

Then I launch the hdhomerun app and when it tries to access a channel it just quits (I tried this twice)

Then I launch plex’s live tv which also eventually anr’s

After a reboot of the shield everything is back to working again.

I’ve uploaded a new beta with some big changes that might help with this deadlock issue.

Latest beta has some more major changes to the video decoder and player which should fix seeking stalls. Let me know if you’re still able to reproduce the issue.