0.28 Mythfrontend crashes on exit...and continously restarts

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
notidefix
Junior
Posts: 16
Joined: Wed Jan 18, 2017 10:08 pm
Australia

0.28 Mythfrontend crashes on exit...and continously restarts

Post by notidefix »

Just installed 0.28 on ubuntu 16.10

after existing normally, I get a crash error 139 and mythfrontend restarts

btw. how do you prevent mythfrontend automatically restarting after a crash (or kill)? Presently I have to restart my computer to kill mythfrontend: killing the process just causes a restart!
User avatar
paulh
Developer
Posts: 909
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: 0.28 Mythfrontend crashes on exit...and continously rest

Post by paulh »

It's the way your distro is setup to restart the frontend not MythTV doing it by itself. It should be a little smarter and only try to restart if the error wasn't an unrecoverable error like the DB has gone AWOL.

You can turn the behavior off in the Mythbuntu Control Center there's an option under Behavior IIRC.
notidefix
Junior
Posts: 16
Joined: Wed Jan 18, 2017 10:08 pm
Australia

Re: 0.28 Mythfrontend crashes on exit...and continously rest

Post by notidefix »

confirmed bug

https://bugs.launchpad.net/ubuntu/+sour ... ug/1633871

the proposed upgrade works

now I have an issue with mythbackend not stopping when setup is started
TheCook
Newcomer
Posts: 8
Joined: Sun Jan 29, 2017 4:38 am
Australia

Re: 0.28 Mythfrontend crashes on exit...and continously rest

Post by TheCook »

Hello all,
I don't understand this solution. I don't see any options (other than start frontend on boot) under behavior.

Is it because I installed mythtv in accordance withhttps://www.mythtv.org/wiki/Installing_MythTV_on_Ubuntu?
zombiemyth
Newcomer
Posts: 3
Joined: Wed Feb 08, 2017 1:01 am
United States of America

Re: 0.28 Mythfrontend crashes on exit...and continously rest

Post by zombiemyth »

I had this happen to me also.
To get it to stop crashing, you can open a terminal and kill -9 on the mythfrontend pids.
The fix I found was to upgrade to the most current release.
notidefix
Junior
Posts: 16
Joined: Wed Jan 18, 2017 10:08 pm
Australia

Re: 0.28 Mythfrontend crashes on exit...and continously rest

Post by notidefix »

upgrade to the latest release by the myth group solved it for me (the kill -9 did not work for me)

before that I edited the properties of the mythfrontend launcher so that it would not start as a service
dcrobertson01
Newcomer
Posts: 8
Joined: Mon Aug 31, 2015 10:45 pm
New Zealand

Re: 0.28 Mythfrontend crashes on exit...and continously restarts

Post by dcrobertson01 »

Hello 2017, say hi to v0.28 for me. This is 2021 calling. Version 31 still has that same stupid bug.

"The front-end crashed unexpectedly (exit code 141) and is restarting. Please wait... " in a constant stream. About two a second.
User avatar
paulh
Developer
Posts: 909
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: 0.28 Mythfrontend crashes on exit...and continously restarts

Post by paulh »

Are you sure it was exit code 141? If that is a MythTV exit code it is

Code: Select all

#define GENERIC_EXIT_TIMEOUT            141 ///< Process timed out
What was you doing to cause that?

To be clear MythTV will NEVER automatically restart itself it is your distro that is doing that.
User avatar
heyted
Senior
Posts: 301
Joined: Sun Jun 08, 2014 2:14 am
Location: South Florida
Contact:
United States of America

Re: 0.28 Mythfrontend crashes on exit...and continously restarts

Post by heyted »

btw. how do you prevent mythfrontend automatically restarting after a crash (or kill)?
With more recent versions, one option is to use Mythbuntu Control Panel. See https://www.mythtv.org/wiki/Mythbuntu_C ... p_Behavior .
Ted | My blog
User avatar
paulh
Developer
Posts: 909
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: 0.28 Mythfrontend crashes on exit...and continously restarts

Post by paulh »

Also related to this is this commit to prevent the frontend from resurrecting when the database is inaccessible which often causes this problem.
https://github.com/MythTV/packaging/commit/bc160d097b

I know it's in both fixes/31 and master but not in older versions.

This wont prevent exitcode 141 from restarting the frontend though no idea how that can happen :!:
Post Reply