← Back to team overview

linux-traipu team mailing list archive

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

 

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 member of UBUNTU -
AL - BR, 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


Follow ups

References