CumulusTV icon indicating copy to clipboard operation
CumulusTV copied to clipboard

[Bug] Crash on boot

Open davic-anime opened this issue 7 years ago • 10 comments

Hi Fleker, There is a crash if I start Live Channels after a full reboot of the Android TV box (Mi Box). Only way to bypass that crash is by first booting Cumulus TV before starting Live Channels after a reboot.

davic-anime avatar Feb 02 '17 21:02 davic-anime

yea i have the same problem since the latest beta update

ghost avatar Feb 03 '17 05:02 ghost

I will check crash reports for what's happening. There's probably some Null pointer exception.

On Feb 3, 2017 12:44 AM, "i" [email protected] wrote:

yea i have the same problem

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Fleker/CumulusTV/issues/254#issuecomment-277169597, or mute the thread https://github.com/notifications/unsubscribe-auth/ADI5857q8itYwkgI7pzy4OPZIjZ0tjBpks5rYr7TgaJpZM4L1rHy .

Fleker avatar Feb 03 '17 15:02 Fleker

I'm going to initialize some data when the device first boots to prevent this from causing crashes. I think that's what's happening.

Fleker avatar Feb 19 '17 20:02 Fleker

If this is the same issue as #260, then it seems to have been fixed in 1.7.8. Not getting any crashes on reboot or resuming from sleep anymore.

loueradun avatar Mar 20 '17 02:03 loueradun

It's good to hear the bug has been resolved. I haven't heard any other comments. I will be closing this.

Fleker avatar Mar 23 '17 02:03 Fleker

@Fleker It looks like this issue may not be 100% resolved in all cases... It had been running good, and then I saw this issue again just the other day. If I happen to find out exactly what situation brings about the issue I'll report back.

loueradun avatar Mar 27 '17 19:03 loueradun

😖

On Mon, Mar 27, 2017, 3:57 PM loueradun [email protected] wrote:

@Fleker https://github.com/Fleker It looks like this issue may not be 100% resolved in all cases... It had been running good, and then I saw this issue again just the other day. If I happen to find out exactly what situation brings about the issue I'll report back.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/Fleker/CumulusTV/issues/254#issuecomment-289555752, or mute the thread https://github.com/notifications/unsubscribe-auth/ADI586gkZymXesdXTD_3qz9HML_XRCuZks5rqAqxgaJpZM4L1rHy .

Fleker avatar Mar 27 '17 20:03 Fleker

I'm not entirely sure what is going on here. I can reboot my Shield, launch Cumulus and everything works. I can put my Shield to sleep and resume it, and everything works. If I put the Shield to sleep and it sits for a while, that's when I seem to start having issues. Most of the time I get the "Your channel will be available shortly" message, but other times it will crash in an endless loop (requires force close of live channels to stop endless launching of Cumulus). That said, it is much better than it used to be. Any reboot/sleep would cause the issue previously. I think now it may be due to some garbage collection after the device has sat idle for a while, and proper detection of that state.

loueradun avatar Mar 31 '17 17:03 loueradun

Yes it's definitely saving things in memory and it is having issues recovering that save. It's hard to find a solution since it's hard to reliably reproduce.

Fleker avatar Apr 01 '17 06:04 Fleker

I think I can cache a lot more stuff and mark certain channels as temporary to be flushed out when the system resyncs. That way there won't be any nulls.

Fleker avatar Apr 20 '17 05:04 Fleker