[mythtv] Mythfrontend locks up on android

David Engel david at istwok.net
Thu May 16 01:43:51 UTC 2019

On Thu, May 16, 2019 at 09:37:19AM +1000, Mark Spieth wrote:
> On 16/05/2019 8:50 am, John P Poet wrote:
> > On Wed, May 15, 2019 at 4:45 PM Peter Bennett <pb.mythtv at gmail.com
> > <mailto:pb.mythtv at gmail.com>> wrote:
> > 
> >     My android frontend on fire 4K occasionally (once or twice a week),
> >     locks up and needs to be restarted. This does not happen during
> >     playback, but often after ending playback when the dialog comes up
> >     asking whether to delete or save the recording. It also happens
> >     randomly
> >     at other times in the GUI.
> > 
> >     Has anybody else seen this?
> > 
> > 
> > Yes, on the Shield, but only with the apk I got from you.  I have not
> > had time to try and build a new apk myself and I was going to do that
> > before reporting the issue.
> > 
> Mine has been pretty stable on the shield since enabling background mode.
> This is what requires force stop. It also allows fast recovery after sleep.
> I havent need force stop for quite a while now as recovery is fast and this
> was the only reason I needed force stop in the past.

It's the same for me.  Force stops are very rare nowadays for me.

> I do see an issue where playback pauses after it has been running (though
> not playback continuously) for a long while (multiple days). A shutdown of
> myth and then restart fixes this. I suspect this is due to a leak somewhere.
> On linux mythfrontend in top uses 10.9 G of virtual mem but I dont know
> where this is required.
> I did try on my H96pro (S912 based) a few weeks back and was less than
> successful. I suspect ram bus performance is an issue contributing to this.
> I can make this apk available if required but should be equivalent to
> peter's (apr 25).

I suspect MythTV is too heavyweight for systems like the FireTVs and
H96Pros.  Those systems are probably better off having background
processing turned off.  Is there anyway an installed app can toggle
that setting itself?  If not, we might have to build separate apks
with and without background processing enabled.

> >     It used to be that I could just press "Home" on the remote and mythtv
> >     would be killed. With the latest code I have to go into setup
> >     applications and "force stop" before it can restart.
> > 
> > 
> > Yes, for this specific problem, I am seeing the same.
> > 
> >     Possibly the hangs could be due to a bad wifi connection.
> >     Sometimes the
> >     fire stick loses the wifi connection. Perhaps I should revert to an
> >     ethernet connection, however the fire stick has a habit of
> >     forgetting it
> >     has ethernet and needing a reboot to see the ethernet attachment
> >     again.
> > 
> > 
> > My shield is hard-wired.  I am not using Wifi with it.
> I am also using wired network.

I'm all wired too.

> I havent tried the render branch yet.

I've dabbled with it a little on my Shields but not since the
background processing issues got resolved.  I've been waiting for the
elusive, free time and for Mark K to merge those changes into the
render branch.  Note that he might have already merged them.  I've
just been too busy to check.


> Mark
> >     I am not sure how to debug this as it is not easily reproduced.
> >     When it
> >     does happen I am not in a position to start a debugging session.
> > 
> > 
> > I had it happen several times in a row, and then it has been well
> > behaved since then.  However, I have not had time to use it much so I
> > cannot report on a good sampling.
> > John
> > 

> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

David Engel
david at istwok.net

More information about the mythtv-dev mailing list