← Back to team overview

mythbuntu-bugs team mailing list archive

Re: [Bug 1092565] Re: mythtv-setup freezes on exit

 

Bernd,

I think Thomas actually jumped the gun.  It was committed to master a few
days ago, but I just backported it to the 0.26 packaging branch.  The next
time there's a new 0.26 build, it should pull it in.  If you'd like to test
the backport, it's very easy to apply though.

Just apply these two commits to your upstart job:

https://github.com/MythTV/packaging/commit/c6564beaec3fb7488f9c8611e71e0f65e90e7382
https://github.com/MythTV/packaging/commit/9e5a21064b7ad9cdb781ed8d1a03854e51bcf32b

On Tue, Feb 19, 2013 at 12:26 PM, Bernd Mueller <burny1978@xxxxxxxx>
wrote:

> Hi Thomas,
>
> i did the newest update and it is not fixed for me.
> fixes/0.26 (v0.26.0-97-gf205550)
>
> Here is a screen of the processes in every single steps... As far as i
> can see mythtv-setup kill the right process so far, but the mythtv-
> setup.real wants to do the same and is not looking for the right process
> or perhaps it is looking too early?
>
> Computer is running after reboot with mythbackend, mythfrontend is
> already stopped..
>
> root@MEDIA:~# ps fax | grep myth
>  2599 pts/0    S+     0:00  |       \_ grep --color=auto myth
>  1657 ?        Ss     0:00          \_ /usr/bin/ssh-agent
> /usr/bin/dbus-launch --exit-with-session /usr/share/mythbuntu/session.sh
>  1661 ?        S      0:00 /usr/bin/dbus-launch --exit-with-session
> /usr/share/mythbuntu/session.sh
>  1749 ?        Sl     0:00  \_ /usr/bin/mythbackend --syslog local7 --user
> mythtv
>  1777 ?        Ssl    0:00 /usr/bin/mythlogserver --daemon --verbose
> general --loglevel info --syslog local7
> root@MEDIA:~# ps fax | grep myth
>
> Started Myth-Setup from Menu, its asking me if i want to stop
> mythbackend...
>
>  3082 pts/0    S+     0:00          \_ grep --color=auto myth
>  1657 ?        Ss     0:00          \_ /usr/bin/ssh-agent
> /usr/bin/dbus-launch --exit-with-session /usr/share/mythbuntu/session.sh
>  1661 ?        S      0:00 /usr/bin/dbus-launch --exit-with-session
> /usr/share/mythbuntu/session.sh
>  1749 ?        Sl     0:00  \_ /usr/bin/mythbackend --syslog local7 --user
> mythtv
>  1777 ?        Ssl    0:00 /usr/bin/mythlogserver --daemon --verbose
> general --loglevel info --syslog local7
>  3069 ?        S      0:00 /bin/sh /usr/bin/mythtv-setup
>  3080 ?        S      0:00  \_ /usr/bin/zenity --title MythTV Setup
> Preparation --question --text Mythbackend must be closed before
> continuing.\nIs it OK to close any currently running mythbackend processes?
> root@MEDIA:~# ps fax | grep myth
>
> I told yes, and it is asking me for my password to do so
>
>  3086 pts/0    S+     0:00          \_ grep --color=auto myth
>  1657 ?        Ss     0:00          \_ /usr/bin/ssh-agent
> /usr/bin/dbus-launch --exit-with-session /usr/share/mythbuntu/session.sh
>  1661 ?        S      0:00 /usr/bin/dbus-launch --exit-with-session
> /usr/share/mythbuntu/session.sh
>  1749 ?        Sl     0:00  \_ /usr/bin/mythbackend --syslog local7 --user
> mythtv
>  1777 ?        Ssl    0:01 /usr/bin/mythlogserver --daemon --verbose
> general --loglevel info --syslog local7
>  3069 ?        S      0:00 /bin/sh /usr/bin/mythtv-setup
>  3083 ?        S      0:00  \_ gksu stop mythtv-backend --message Please
> enter your current login password to stop mythtv-backend.
>  3084 ?        Ss     0:00      \_ /usr/bin/sudo -H -S -p GNOME_SUDO_PASS
> -u root -- stop mythtv-backend
> root@MEDIA:~# ps fax | grep myth
>
> IT stopped mythbackend and myth-setup is started which is telling me
> mythbackend is still running, do you want to stop it? (As you can see,
> there is no mythbackend...)
> If i say "Backend stop and start over" i can setup everything, but when i
> want to exit the menu via esc it hangs....
> If i say "Start over" i can setup everything and also exit with esc
> without problems
> If i say "Stop it" (Ok, i never clicked here...)
>
>  3275 pts/0    S+     0:00          \_ grep --color=auto myth
>  1657 ?        Ss     0:00          \_ /usr/bin/ssh-agent
> /usr/bin/dbus-launch --exit-with-session /usr/share/mythbuntu/session.sh
>  1661 ?        S      0:00 /usr/bin/dbus-launch --exit-with-session
> /usr/share/mythbuntu/session.sh
>  1777 ?        Ssl    0:01 /usr/bin/mythlogserver --daemon --verbose
> general --loglevel info --syslog local7
>  3069 ?        S      0:00 /bin/sh /usr/bin/mythtv-setup
>  3090 ?        S      0:00  \_ xterm -title MythTV Setup Terminal -e
> taskset -c 0 /usr/bin/mythtv-setup.real --syslog local7
>  3092 pts/4    Ssl+   0:01      \_ /usr/bin/mythtv-setup.real --syslog
> local7
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1092565
>
> Title:
>   mythtv-setup freezes on exit
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mythbuntu/+bug/1092565/+subscriptions
>


-- 
Mario Limonciello
superm1@xxxxxxxxx

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.
https://bugs.launchpad.net/bugs/1092565

Title:
  mythtv-setup freezes on exit

Status in Mythbuntu, Ubuntu derivative focused upon MythTV:
  Fix Released

Bug description:
  ProcVersionSignature: Ubuntu 3.2.0-35.55-generic 3.2.34
  PackageArchitecture: amd64
  Package: mythtv-common 2:0.26.0+fixes.20121217.3d7a20c-0ubuntu0mythbuntu2 [origin: LP-PPA-mythbuntu-0.26]

  I start:
  Applications > System > MythTV Backend Setup. 

  I get asked for my password to shutdown
  mythbackend and then I always get the "Warning: Backend is currently
  running" message when I get in to the setup GUI and I click "close and
  continue". Do whatever it was that I wanted to do, or do nothing at
  all, "esc" out to exit. 
  If I Alt+Tab to other processes, I can get to the terminal screen underneath the
  myth-setup GUI and it's stuck on "Locking input devices". I usually hit
  ctrl+c and it takes a few seconds and closes it and then continues to
  request a password to start mythbackend and ask if I want to run
  mythfilldatabase.

  I have discovered though, when presented with the "Warning: Backend is
  currently running" if I just dismiss it with "esc", the mythtv-setup
  successfully closes. The funny thing is, I get this warning EVERY
  time, even though I clicked "Yes" to the is it OK to close all running
  mythbackend instances and entered the password to do so. Even though
  I get this warning, I have checked via pgrep and mythbackend is NOT
  running when it tells me that it is. 

  When i start mythtv-setup.real i have no problems.
  When i start mythtv-setup and enter my password for stopping the database, answer the first questions
  with yes and answer the second question with "fortsetzen" or in english "continue anyway" it will not 
  freeze.

  This problem is also shown from a group here:
  http://www.gossamer-threads.com/lists/mythtv/users/531323?do=post_view_flat#531323

To manage notifications about this bug go to:
https://bugs.launchpad.net/mythbuntu/+bug/1092565/+subscriptions


References