[mythtv-users] mythbackend crashing after about one minute with no
error messages on gentoo
John Schimandle
john_schimandle at hotmail.com
Fri Apr 22 00:31:37 UTC 2005
Hi,
I'm a new user to mythtv but not to unix. I've run into a problem where the
mythbackend process starts and runs for about a minute then dies. This
process used to work well until sometime around daylight savings time
change. I can't be exactly sure when it stopped working as I also ran into a
program download problem about the same time. I have since fixed the program
download problem by removing all the records from the program table in
mythconverg and then re-running mthyfilldatabase. The fix for the program
data happened after the backend started crashing. I fixed the program data
problem thinking it would solve the crashing problem but the crashes
persist.
I'm running Gentoo Linux, 2.6.11-rc3 #1 Fri Feb 4 19:36:08 PST 2005 i686,
from uname -a. When mythbackend starts there are a large number of backend
processes in a three level process tree and only two of the processes in the
lowest level appear to be highly active as seen in the ps -ef output below.
Then after about a minute the entire tree dies.
Checked the mythtvbackend log files, mysql logfiles and system log files as
noted in the output below. None of the files have any messages that I have
been able to track down to a specific problem. There is no specific
information on why the backend process terminates.
I also noticed there was a large number of mysql sessions when mythbackend
was running momentarily and so I tried to see if there was a connection
limit in mysql. I connected 15 users without any problems and that's more
than the number of active mysql processes during mythbackend startup.
The system is set up to run the mythtv backend and frontend on the same
system so the backend IP address is set to 127.0.0.1. I looked at the
settings table in mythconverg mysql database and did not see anything
obviously wrong with the settings, although I'm not an expert by any stretch
of the imagination. IP address was correct at 127.0.0.1.
Also ran a netstat -a command to list the network ports in use. The two
network ports for the backend process were opened up for listening during
the brief period that the backend runs.
I also set the mythbackend verbosity to all and tried starting the backend
to check for additional messages. Again nothing obvious, just more detail on
the same set of messages.
Mythbackend version is 0.16.20040906-1 according to mythbackend -version.
Any help would be greatly appreciated.
I have been thinking about re-installing everything from scratch but I don't
want to loose my TV recordings.
Thanks,
John
------------------------- detailed information from system files
messages from /var/log/mythtv/mythbackend.log
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 5 25
[mpeg2video @ 0xb7a466d0]00 motion_type at 0 27
[mpeg2video @ 0xb7a466d0]Warning MVs not available
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 0 27
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 0 19
[mpeg2video @ 0xb7a466d0]invalid cbp at 0 23
[mpeg2video @ 0xb7a466d0]invalid cbp at 3 13
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 0 14
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 0 10
[mpeg2video @ 0xb7a466d0]Warning MVs not available
[mpeg2video @ 0xb7a466d0]00 motion_type at 10 11
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 0 17
[mpeg2video @ 0xb7a466d0]slice mismatch
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 0 4
[mpeg2video @ 0xb7a466d0]00 motion_type at 1 3
[mpeg2video @ 0xb7a466d0]00 motion_type at 0 5
[mpeg2video @ 0xb7a466d0]invalid cbp at 0 21
[mpeg2video @ 0xb7a466d0]Warning MVs not available
[mpeg2video @ 0xb7a466d0]slice mismatch
[mpeg2video @ 0xb7a466d0]Warning MVs not available
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 2 1
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 2 1
[mpeg2video @ 0xb7a466d0]invalid mb type in I Frame at 2 1
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 0 12
[mpeg2video @ 0xb7a466d0]slice mismatch
[mpeg2video @ 0xb7a466d0]00 motion_type at 14 17
[mpeg2video @ 0xb7a466d0]00 motion_type at 13 17
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 0 11
[mpeg2video @ 0xb7a466d0]invalid cbp at 20 12
[mpeg2video @ 0xb7a466d0]invalid mb type in I Frame at 0 28
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 0 22
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 8 22
[mpeg2video @ 0xb7a466d0]00 motion_type at 4 22
[mpeg2video @ 0xb7a466d0]00 motion_type at 16 23
[mpeg2video @ 0xb7a466d0]00 motion_type at 0 0
[mpeg2video @ 0xb7a466d0]invalid cbp at 0 20
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 0 20
[mpeg2video @ 0xb7a466d0]00 motion_type at 0 20
[mpeg2video @ 0xb7a466d0]invalid cbp at 0 21
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 0 17
[mpeg2video @ 0xb7a466d0]Warning MVs not available
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 5 26
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 0 22
[mpeg2video @ 0xb7a466d0]invalid cbp at 1 20
[mpeg2video @ 0xb7a466d0]slice mismatch
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 2 20
[mpeg2video @ 0xb7a466d0]mb incr damaged
[mpeg2video @ 0xb7a466d0]00 motion_type at 4 6
[mpeg2video @ 0xb7a466d0]slice mismatch
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 3 4
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 0 4
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 0 8
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 0 17
[mpeg2video @ 0xb7a466d0]qscale == 0
[mpeg2video @ 0xb7a466d0]qscale == 0
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 0 20
[mpeg2video @ 0xb7a466d0]invalid mb type in B Frame at 13 1
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 0 16
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 6 18
[mpeg2video @ 0xb7a466d0]invalid mb type in I Frame at 1 18
[mpeg2video @ 0xb7a466d0]invalid mb type in I Frame at 5 14
[mpeg2video @ 0xb7a466d0]qscale == 0
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 1 20
[mpeg2video @ 0xb7a466d0]invalid mb type in I Frame at 1 4
[mpeg2video @ 0xb7a466d0]ac-tex damaged at 0 21
#
ps -ef | grep backend
root 11327 1 0 14:03 ? 00:00:00 /usr/bin/mythbackend
--daemon --pidfile /var/run/mythtv/mythbackend.pid --logfile
/var/log/mythtv/mythbackend.log --verbose none
root 11338 11327 0 14:03 ? 00:00:00 /usr/bin/mythbackend
--daemon --pidfile /var/run/mythtv/mythbackend.pid --logfile
/var/log/mythtv/mythbackend.log --verbose none
root 11339 11338 0 14:03 ? 00:00:00 /usr/bin/mythbackend
--daemon --pidfile /var/run/mythtv/mythbackend.pid --logfile
/var/log/mythtv/mythbackend.log --verbose none
root 11345 11338 0 14:03 ? 00:00:00 /usr/bin/mythbackend
--daemon --pidfile /var/run/mythtv/mythbackend.pid --logfile
/var/log/mythtv/mythbackend.log --verbose none
root 11346 11338 0 14:03 ? 00:00:00 /usr/bin/mythbackend
--daemon --pidfile /var/run/mythtv/mythbackend.pid --logfile
/var/log/mythtv/mythbackend.log --verbose none
root 11347 11338 0 14:03 ? 00:00:00 /usr/bin/mythbackend
--daemon --pidfile /var/run/mythtv/mythbackend.pid --logfile
/var/log/mythtv/mythbackend.log --verbose none
root 11348 11338 0 14:03 ? 00:00:00 /usr/bin/mythbackend
--daemon --pidfile /var/run/mythtv/mythbackend.pid --logfile
/var/log/mythtv/mythbackend.log --verbose none
root 11349 11338 0 14:03 ? 00:00:00 /usr/bin/mythbackend
--daemon --pidfile /var/run/mythtv/mythbackend.pid --logfile
/var/log/mythtv/mythbackend.log --verbose none
root 11351 11338 0 14:03 ? 00:00:00 /usr/bin/mythbackend
--daemon --pidfile /var/run/mythtv/mythbackend.pid --logfile
/var/log/mythtv/mythbackend.log --verbose none
root 11352 11338 0 14:03 ? 00:00:00 /usr/bin/mythbackend
--daemon --pidfile /var/run/mythtv/mythbackend.pid --logfile
/var/log/mythtv/mythbackend.log --verbose none
root 11353 11338 0 14:03 ? 00:00:00 /usr/bin/mythbackend
--daemon --pidfile /var/run/mythtv/mythbackend.pid --logfile
/var/log/mythtv/mythbackend.log --verbose none
root 11354 11338 0 14:03 ? 00:00:00 /usr/bin/mythbackend
--daemon --pidfile /var/run/mythtv/mythbackend.pid --logfile
/var/log/mythtv/mythbackend.log --verbose none
root 11355 11338 0 14:03 ? 00:00:00 /usr/bin/mythbackend
--daemon --pidfile /var/run/mythtv/mythbackend.pid --logfile
/var/log/mythtv/mythbackend.log --verbose none
root 11359 11338 49 14:03 ? 00:00:23 /usr/bin/mythbackend
--daemon --pidfile /var/run/mythtv/mythbackend.pid --logfile
/var/log/mythtv/mythbackend.log --verbose none
root 11361 11338 49 14:03 ? 00:00:23 /usr/bin/mythbackend
--daemon --pidfile /var/run/mythtv/mythbackend.pid --logfile
/var/log/mythtv/mythbackend.log --verbose none
root 11363 11338 0 14:03 ? 00:00:00 /usr/bin/mythbackend
--daemon --pidfile /var/run/mythtv/mythbackend.pid --logfile
/var/log/mythtv/mythbackend.log --verbose none
root 11364 11338 0 14:03 ? 00:00:00 /usr/bin/mythbackend
--daemon --pidfile /var/run/mythtv/mythbackend.pid --logfile
/var/log/mythtv/mythbackend.log --verbose none
No mysql errors present in any log files in /var/log/mysql directory
>From the /var/log/messages file
Apr 21 14:03:12 iguana2 saa7115: decoder set picture bright=127 contrast=63
saturation=63 hue=0
Apr 21 14:03:12 iguana2 saa7115: decoder set picture bright=127 contrast=63
saturation=63 hue=0
Apr 21 14:03:12 iguana2 saa7115: decoder set picture bright=127 contrast=63
saturation=63 hue=0
Apr 21 14:03:12 iguana2 saa7115: decoder set picture bright=127 contrast=63
saturation=63 hue=0
Apr 21 14:03:12 iguana2 saa7115: decoder disable output
Apr 21 14:03:12 iguana2 saa7115: decoder enable output
More information about the mythtv-users
mailing list