Roku app crashes while watching live TV

Update, This beta it’s now a public build and anyone that’s having the app crash while watching live TV I encourage you drop a comment below:).

Hello I’m working on trying to send logs for the Roku preview app as it seems to randomly crash back to the Roku home screen after about 40 minutes of watching live TV. Doesn’t happen on the stable build but I wanted to get logs sent to help out. But it seems like Roku has a 20-minute limit on logging. Please advise:).

I pushed out a hot fix to the preview channel to log for 60 minutes instead of 20. Please check for an update to get the hotfix. Happy to look at the logs once you can replicate the behavior. Could you also DM your Roku serial number to me? I’ll most likely have to reach out to Roku for crash reports on that device.

Okay will do and I’ll private message you the serial number later today with logs if I can duplicate. Happened twice this morning so shouldn’t be an issue:). Thank you :blush:

It may be useful to know any steps you took before it went to the home screen.

  1. did you simply play channel and it crashed after 40 minutes, or did you interact with the guide, change channels, etc.
  2. Do you have MPEG2 enabled, curious so I can test in my own setup.
  3. What does the Stream Info say? (go to settings in the OSD → steam info)

With that said, I’ve been running through Live TV for the past 2 hours with no crashes yet. I’m wondering if this by chance may be happening in the official channel, it you use it long enough?

I have been experiencing this on the public release on my Roku stick +. It seems to be random for me though. Think it started a couple releases ago. Doesn’t happen on my Roku TV.

I have a hdhomerun prime and all my channels are h.264 720p not mpeg2.

Testing now on the preview Channel again.

Yes just simply went from the screensaver opened the Plex preview app and then chose Fox 13 from recent channels and then right around the 40 minute mark the app just closed and went back to the Roku home screen.

Yes, this is the way!!



I’m very new to Roku for myself, although I own many of them. I am switching from Nvidia Shield so I’m a noob :grinning_face_with_smiling_eyes:. I’ve been using the 2020 Roku Ultra for 2 days 19 hours and 31 minutes. So far for live TV I’ve never had that issue until this morning on the preview Channel. Just sent you my serial number via private message.

Been running for over an hour and it hasn’t happened. But I’ll make sure that I enable logging each time I go on to try to duplicate and I’ll send the logs as soon as it happens. I appreciate the quick response!

I’ve been running this for over an hour too without issues. One thing I recall is that that it’s possible the Roku may crash/reboot when it has multiple failures trying to buffer additional segments. Hopefully we’ll see something in the logs when you can reproduce this, and I’ll keep trying here.

1 Like

Sorry I should have asked you this before. When enabling logging does it still show the logs from the previous crash or it has to be enabled before the crash happens? Just trying to figure out if it’s something that I can replicate then go back in, enable logging, download it, then send it to you (like android :upside_down_face:) or I have to have that enabled at all times and make sure it’s within the hour? Thank you :blush:

Yeah, due to limitations logging has to be enabled at the time of the crash. We won’t be able to pull logs after a crash. We are working with very limited memory.

Ok no problem :blush:

I have been unsuccessful in getting logs:(. When the app crashes it takes the logs with it. When I reopen the app it has no log data left. I have been able to duplicate 3x in 2 days.

What I have noticed is that if I change channels many times in a short period the app will start to get sluggish and then crash to the Roku home screen. Setting a channel and forgetting or changing channels over a long period of time can stream all day long. Using Roku Streaming Stick+.

@kegbeach did you make the switch as well?Welcome to team purple🤣. I find myself jumping back and forth between my shield for watching movies and my Roku for watching TV. Although the Roku can watch movies with no problem it just seems a little sharper on the shield probably because of the 4K upscale and they load quicker. Sorry getting off topic. I notice it primarily on the preview app I haven’t seen it on the public build. Seems to happen every time I wake up in the morning to watch my news.

Yes I made the switch for Live TV but use the Firestick for all other media. There’s a bug in Roku that has it not playing certain media and it wants to transcode a lot so gotta turn direct play to force but if they are deciding to break Live TV on the Roku too I’ll get rid of plex alltogether. Do not break Live TV on the Roku please until you fix your Android devices… Write your unit tests plex. Stop releasing beta software on the main release channel. Stop making beta software public releases after 3 days. Like seriously… don’t. And I wouldn’t even care except all upgrades on the Roku are forced. What a trash device for real… but don’t break it. kthx.

:laughing: whoa their buddy, this is not the Android section haha. I’m almost certain you don’t have to worry about that. This is a pre-release (preview) and it’s to be expected to have minor bugs that’s why we download it and test it. What’s nice is the person that actually works on the Roku software actually uses it themselves for live TV!This makes a huge difference!! Hence no time change issues. It’s been fairly stable for years and I don’t foresee that changing. All my family members in my house use Roku and I have 16 rokus. They finally got me to switch, at least for the live TV section.

Also to touch on the subject of the problem you’re having, do you have a number (mbps) set in upload cap on your server (under remote Network)? If so remove it and try the same file again.

That is expected. Remote logs however will run for 60 minutes, so I’ll be able to pull those logs after your crash. Please see if you can enable remote logs and replicate the crash within 60 minutes. If so, send me over the time and timezone and I’ll pull the logs.

On that note, we have still been unable to replicate this behavior. The one thing I noticed in your screenshots is that your server is showing a 0.6 speed while copying. It’s possible the server is not keeping up with the transcode. One change here (in the preview) is that a transcode session will be used because seeking MPEG2 during direct play does not work on the Roku. This has always happened to fix that issue, but we didn’t catch the edge case when users select “force direct play”. Roku cannot handle direct play MPEG2 properly, so it’s not allowed any longer.

1 Like

Will do I will enable remote logs and let you know when it happens. I can definitely replicate it in preview. Yeah I brought that out there about two years ago I thought it was odd that it has .6 set as the speed but this has always been like this:). My server should be plenty strong it’s on a 10-gig network switch, all hard-wired I-9 10900k with 1070. I was able to no longer Force direct play as it’s just a hiccup because Roku reports that uses 10 to 20 gigabytes for live TV it causes me to go over my allotted 800 megabit cap. Removing this fixes that problem.

./rant over - must have had some animosity left over from android.

The problem im refering to when it’s not playing certain files is this: Roku TV app stops playing shortly after start of certain files

I seem to hit this bug quite a lot. But the bandwidth setting shouldn’t effect anything locally as it is ignored for local lan or any other ip range you specify.

I get the Roku displaying 20Gbps on the dashboard too if I don’t have direct play set to force. Sometimes when I change it to auto it will want to transcode certain channels but setting it to force solves that issue for me. It was a real problem for some of my users cause I host my live tv on a dedicated server but it doesn’t have hardware transcoding so it was trial and error to figure out why it wanted to transcode.

Yeah movie Playback problems is not my strong suit. I’m more geared towards life TV stuff by trial and error :grinning_face_with_smiling_eyes:. I wonder in the future if there’s a way maybe to have it give you a reason for transcoding on the dashboard similar to Emby. Example on Roku if you’re watching a movie (Im probably going to mess this terminology up) the container is not supported it will tell you the exact reason on the dashboard and also under nerd stats in the actual client while watching the movie. This may already exist and I think it already does in the client under playback status. I mainly have TCL and Hisense 4K HDR Roku TVs and honestly I rarely see any transcoding. Now my Roku Express plugged into a 32in 1080p TV is a different story, it loves to transcode randomly.