[mythtv-users] Backend seems to be crashing frontend -- recurring problem??

Allen Edwards allen.edwards at oldpaloalto.com
Sun Aug 17 17:20:27 UTC 2008


Thanks for the reply.  Answers below.

On Sun, Aug 17, 2008 at 1:53 AM, Udo van den Heuvel <udovdh at xs4all.nl> wrote:
> Allen Edwards wrote:
>> The latest log shows that while we were watching the olympics, the log
>> was filling up with this (2 to 12 per second):
>> 2008-08-17 00:03:05.550 NVP::AddAudioData():p1: Audio buffer overflow,
>> audio data lost!
>> I am afraid to get more errors in the frontend log.
>
> What was the backend process uptime?
> Did you restart the backend process?
Lately, the backend is getting restarted often just to keep the system
working while I troubleshoot this.  The first problem started after
the backend was up for at least several days, perhaps weeks. I should
add that this machine has been running flawlessly for 2 months.  It is
a mythbuntu 8.04 machine on a AMD 5400+ CPU, Asus M3A MB, spdif sound
output.

> Was the CPU-load of the machine abonormal at that time?

Here is top right now with my wife watching GMA and the olympics
taping.  XORG looks high???  Everything is working fine and I don't
see anything odd in the logs.

top - 10:14:23 up  9:07,  2 users,  load average: 2.09, 2.27, 2.04
Tasks: 124 total,   3 running, 121 sleeping,   0 stopped,   0 zombie
Cpu(s):  1.8%us,  1.9%sy, 13.0%ni, 80.8%id,  2.1%wa,  0.2%hi,  0.2%si,  0.0%st
Mem:   2075432k total,  2022816k used,    52616k free,     5516k buffers
Swap:  6072528k total,    38316k used,  6034212k free,  1450712k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
19848 root      20   0  153m 136m  51m R   98  6.7  11:27.82 Xorg
21544 mythtv    37  17  267m 206m  14m R   44 10.2  88:16.05 mythcommflag
20229 dad       20   0  319m 155m  71m S   26  7.7  17:37.67 mythfrontend.re
19461 mythtv    20   0  309m  48m  11m S    4  2.4  10:29.43 mythbackend
19380 mysql     20   0  128m  35m 5568 S    2  1.8   0:27.56 mysqld



I rebooted last night to do the fsck and it looks like it is going to
work when my wife starts using it as I can see the previews.  I don't
remember the load last night but I will look when it crashes again.

> Were other processes (over)active at that time?

I remember last week seeing XORG running at 99% one time.  I don't
remember if that was associated with a crash or not.  I think I
rebooted to clear it.
>
> Kind regards,
> Udo

Thanks again.

I have been wondering if I should just update all the software and see
if that clears it.  I have resisted doing that because it crashed my
machine once while I was getting the system set-up and I was strongly
advised not to do updates by the list.

It would be good to know what is wrong, though.

I am thinking that about a week before the problem I was getting the
second frontend working and made some changes, like enabling NFS and
one other.  But the system was fine on both frontends for many days
after that so I didn't think of it at first.  I also changed the
restart-X logon wait time to 3 seconds a few days ago.  I have not
made other changes.

I looked at the mythfrontend.log before looking at the show this
morning so it is short as the machine has not been used except to look
at a couple of previews since the reboot.  It has several errors in
it.

SIP: Cannot register; proxy, username or password not set
2008-08-17 09:29:09.513 XMLParse::LoadTheme using
/usr/share/mythtv/themes/Mythbuntu-8.04/ui.xml
2008-08-17 09:29:09.763 Connecting to backend server:
192.168.1.111:6543 (try 1 of 5)
2008-08-17 09:29:09.764 Using protocol version 40
2008-08-17 09:29:14.567 AFD: Opened codec 0x82c29d0, id(MPEG2VIDEO) type(Video)
2008-08-17 09:29:14.567 AFD: codec AC3 has 6 channels
2008-08-17 09:29:14.568 AFD: Opened codec 0x82c2d40, id(AC3) type(Audio)
2008-08-17 09:29:18.739 AFD: Opened codec 0x831fcc0, id(MPEG2VIDEO) type(Video)
2008-08-17 09:29:18.739 AFD: codec AC3 has 6 channels
2008-08-17 09:29:18.739 AFD: Opened codec 0x8318600, id(AC3) type(Audio)
2008-08-17 09:29:19.926 [mpeg2video @ 0xb73b1b88]invalid cbp at 56 22
2008-08-17 09:29:19.926 [mpeg2video @ 0xb73b1b88]Warning MVs not available
2008-08-17 09:29:20.748 AFD: Opened codec 0x82c29c0, id(MPEG2VIDEO) type(Video)
2008-08-17 09:29:20.748 AFD: codec AC3 has 6 channels
2008-08-17 09:29:20.748 AFD: Opened codec 0x831fcc0, id(AC3) type(Audio)
2008-08-17 09:30:13.073 Failed to enable deinterlacing


I googled the 4 errors I see.  The first one showed up as caused by
not having mythphone configured and should be ignored.  The next 3
showed up but with no resolution given or found.  In two of the cases,
people posted with no reply at all.

HELP!!!

Allen


More information about the mythtv-users mailing list