[mythtv-users] Frontend lock-up

Chris Woelkers cwoelkers1 at comcast.net
Sat Feb 23 01:50:04 UTC 2008


Please note: My system configuration can be found at the bottom of this message.

I have been having an issue with the frontend.  Every so often, about
every 1-2 weeks, the frontend would freeze up.  After a reboot I
checked the logs and found that the video driver was crashing. I have
an NVIDIA card so I updated the driver to the latest one available,
version 169.09, and haven't had a problem for a whole month, twice the
time I got before the driver update.

However I just discovered that the frontend had frozen up again.  I
was able to log in through SSH and found that the process had zombied.
 Here it is in top:

top - 18:14:13 up 8 days, 19:45,  2 users,  load average: 3.93, 3.48, 3.53
Tasks: 117 total,   1 running, 115 sleeping,   0 stopped,   1 zombie
Cpu(s):  0.0%us,  0.2%sy, 18.6%ni, 81.0%id,  0.2%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   1028344k total,  1019020k used,     9324k free,     1084k buffers
Swap:  1510100k total,      180k used,  1509920k free,   669272k cached

 PID   PPID USER PR NI VIRT RES SHR S %CPU %MEM   TIME+   COMMAND
11328  6260  pvr      25   0    0        0       0     Z   0.0
0.0       43:08.02  mythfrontend.re <defunct>

I took a look at the logs to try and find out why this happened.  Here
is what I found in the messages file:

Feb 22 17:05:53 banpei-kun kernel: [421343.470022]
mythfilldatabas[20529]: segfault at 00000000006db1b0 rip
00000000006db1b0 rsp 0000000040803ba8 error 15
Feb 22 17:32:41 banpei-kun kernel: [422179.004125] ivtv0: All encoder
MPEG stream buffers are full. Dropping data.
Feb 22 17:32:41 banpei-kun kernel: [422179.004129] ivtv0: Cause: the
application is not reading fast enough.
Feb 22 17:32:41 banpei-kun kernel: [422205.340457] ivtv0: All encoder
MPEG stream buffers are full. Dropping data.
Feb 22 17:32:41 banpei-kun kernel: [422205.340463] ivtv0: Cause: the
application is not reading fast enough.
Feb 22 17:32:41 banpei-kun kernel: [422261.085575] PGD 54d8067 PUD
10fe9067 PMD 0
Feb 22 17:32:41 banpei-kun kernel: [422261.085582] CPU 0
Feb 22 17:32:41 banpei-kun kernel: [422261.085584] Modules linked in:
nls_cp437 cifs lirc_pvr150 cx8800 cx88xx bttv video_buf ir_common
compat_ioctl32 btcx_risc lirc_i2c lirc_dev af_packet rfcomm l2cap
bluetooth ppdev ipv6 powernow_k8 cpufreq_ondemand cpufreq_powersave
cpufreq_userspace cpufreq_conservative cpufreq_stats freq_table sbs
container video dock ac button battery xfs parport_pc lp parport
wm8775 cx25840 tuner snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm
snd_seq_dummy snd_seq_oss xpad snd_seq_midi snd_rawmidi serio_raw
snd_seq_midi_event nvidia(P) pcspkr psmouse sky2 k8temp snd_seq
snd_timer snd_seq_device ivtv i2c_algo_bit cx2341x tveeprom videodev
v4l2_common v4l1_compat shpchp pci_hotplug snd soundcore
snd_page_alloc i2c_nforce2 i2c_core joydev evdev ext3 jbd mbcache sg
sd_mod ide_cd cdrom ata_generic usbhid hid ahci libata scsi_mod
amd74xx ide_core ehci_hcd ohci_hcd usbcore thermal processor fan fuse
apparmor commoncap
Feb 22 17:32:41 banpei-kun kernel: [422261.085631] Pid: 11328, comm:
mythfrontend.re Tainted: P       2.6.22-14-generic #1
Feb 22 17:32:41 banpei-kun kernel: [422261.085635] RIP:
0010:[_end+132707427/2130332920]  [_end+132707427/2130332920]
:nvidia:_nv005703rm+0x0/0x2f
Feb 22 17:32:41 banpei-kun kernel: [422261.085785] RSP:
0018:ffff81003b127b38  EFLAGS: 00010282
Feb 22 17:32:41 banpei-kun kernel: [422261.085788] RAX:
0000000000000000 RBX: 0000000000000001 RCX: 0000000000000007
Feb 22 17:32:41 banpei-kun kernel: [422261.085790] RDX:
0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
Feb 22 17:32:41 banpei-kun kernel: [422261.085794] RBP:
ffff81003d25a708 R08: 0000000000000006 R09: ffff81003d25a710
Feb 22 17:32:41 banpei-kun kernel: [422261.085797] R10:
ffff8100325a2800 R11: 0000000000000001 R12: 0000000000000003
Feb 22 17:32:41 banpei-kun kernel: [422261.085802] R13:
ffff81001c699000 R14: ffff8100325a2800 R15: ffff810027451000
Feb 22 17:32:41 banpei-kun kernel: [422261.085806] FS:
00002b5bf8376420(0000) GS:ffffffff80560000(0000)
knlGS:00000000f6cee6f0
Feb 22 17:32:41 banpei-kun kernel: [422261.085809] CS:  0010 DS: 0000
ES: 0000 CR0: 000000008005003b
Feb 22 17:32:41 banpei-kun kernel: [422261.085812] CR2:
0000000000000064 CR3: 000000003113c000 CR4: 00000000000006e0
Feb 22 17:32:41 banpei-kun kernel: [422261.085817] Process
mythfrontend.re (pid: 11328, threadinfo ffff81003b126000, task
ffff81001e7da6e0)
Feb 22 17:32:41 banpei-kun kernel: [422261.085819] Stack:
ffffffff883f2b32 000000000000001a ffff81001c699000 ffff8100325a2800
Feb 22 17:32:41 banpei-kun kernel: [422261.085826]  ffff81003d25a818
ffff810027451000 ffffffff8840ec0d 0000000000000000
Feb 22 17:32:41 banpei-kun kernel: [422261.085832]  ffff81001c699000
ffff81001e494800 ffff81003d25a818 ffff8100334c4800
Feb 22 17:32:41 banpei-kun kernel: [422261.085837] Call Trace:
Feb 22 17:32:41 banpei-kun kernel: [422261.085986]
[_end+131692586/2130332920] :nvidia:_nv009458rm+0x92/0x199
Feb 22 17:32:41 banpei-kun kernel: [422261.086142]
[_end+131807493/2130332920] :nvidia:_nv009451rm+0x228/0x26a
Feb 22 17:32:41 banpei-kun kernel: [422261.086297]
[_end+133438912/2130332920] :nvidia:_nv003148rm+0x13a/0x228
Feb 22 17:32:41 banpei-kun kernel: [422261.086446]
[_end+133438333/2130332920] :nvidia:_nv003147rm+0x525/0x62e
Feb 22 17:32:41 banpei-kun kernel: [422261.086603]
[_end+131816847/2130332920] :nvidia:_nv009133rm+0x528/0x734
Feb 22 17:32:41 banpei-kun kernel: [422261.086757]
[_end+131692988/2130332920] :nvidia:_nv009139rm+0x48/0x56
Feb 22 17:32:41 banpei-kun kernel: [422261.086912]
[_end+131817567/2130332920] :nvidia:_nv009127rm+0xc4/0x832
Feb 22 17:32:41 banpei-kun kernel: [422261.087066]
[_end+132658731/2130332920] :nvidia:_nv005783rm+0x467/0x62c
Feb 22 17:32:41 banpei-kun kernel: [422261.087221]
[_end+131822581/2130332920] :nvidia:_nv009570rm+0x3d7/0x5a6
Feb 22 17:32:41 banpei-kun kernel: [422261.087383]
[_end+132369395/2130332920] :nvidia:_nv007671rm+0x40/0x69
Feb 22 17:32:41 banpei-kun kernel: [422261.087538]
[_end+131811677/2130332920] :nvidia:_nv009439rm+0x227/0x5ec
Feb 22 17:32:41 banpei-kun kernel: [422261.087690]
[_end+131677582/2130332920] :nvidia:_nv009444rm+0x157/0x180
Feb 22 17:32:41 banpei-kun kernel: [422261.087842]
[_end+131665350/2130332920] :nvidia:_nv009445rm+0x8b/0x191
Feb 22 17:32:41 banpei-kun kernel: [422261.087993]
[_end+132812606/2130332920] :nvidia:_nv002931rm+0x4bf/0x4ee
Feb 22 17:32:41 banpei-kun kernel: [422261.088146]
[_end+132808744/2130332920] :nvidia:_nv002932rm+0x133/0x2cf
Feb 22 17:32:41 banpei-kun kernel: [422261.088296]
[_end+132791396/2130332920] :nvidia:_nv005042rm+0x72/0x9f
Feb 22 17:32:41 banpei-kun kernel: [422261.088440]
[_end+131381517/2130332920] :nvidia:_nv002879rm+0x1e5/0x6f9
Feb 22 17:32:41 banpei-kun kernel: [422261.088593]
[_end+133255962/2130332920] :nvidia:rm_ioctl+0x2f/0x67
Feb 22 17:32:41 banpei-kun kernel: [422261.088726]
[_end+133961993/2130332920] :nvidia:nv_kern_ioctl+0x111/0x370
Feb 22 17:32:41 banpei-kun kernel: [422261.088863]
[_end+133962676/2130332920] :nvidia:nv_kern_unlocked_ioctl+0x1c/0x30
Feb 22 17:32:41 banpei-kun kernel: [422261.088871]  [do_ioctl+53/224]
do_ioctl+0x35/0xe0
Feb 22 17:32:41 banpei-kun kernel: [422261.088879]
[vfs_ioctl+116/720] vfs_ioctl+0x74/0x2d0
Feb 22 17:32:41 banpei-kun kernel: [422261.088888]
[sys_ioctl+149/176] sys_ioctl+0x95/0xb0
Feb 22 17:32:41 banpei-kun kernel: [422261.088898]
[system_call+126/131] system_call+0x7e/0x83
Feb 22 17:32:41 banpei-kun kernel: [422261.088912]
Feb 22 17:32:41 banpei-kun kernel: [422261.088913]
Feb 22 17:32:41 banpei-kun kernel: [422261.088914] Code: 8b 47 64 48
01 c6 83 7f 24 00 74 08 48 89 f0 48 03 47 68 c3
Feb 22 17:32:41 banpei-kun kernel: [422261.089073]  RSP <ffff81003b127b38>

I also looked in the mythfrontend.log file and found only one entry.
It seems to match the time of the mythfilldatabase seqfault in the
messages file.

2008-02-22 17:05:53.033 Received a remote 'Clear Cache' request

I tried to restart kdm, through /etc/init.d/kdm restart, to clear
everything up and according to the output it was successful.  However
the process remained in top and the image of the frozen frontend is
still on my TV.(Picture of it available here:
http://www.stpauls-fsu.org/newmancenter/images/frontend.jpg)

At this point the only thing I can think of is a system restart.  If
anyone has an idea on how to solve this issue without a system restart
than please suggest it.

Chris

My computers configuration:
CPU: AMD Athlon64 3000+
RAM: 1GB
Graphics Card: NVIDIA 8500GT
HD: 300 GB SATA
OS: Ubuntu Gutsy Gibson - x64
mythtv version 0.20.2 (installed from the package manager)


-- 
Registered Linux User #364244
http://www.opensuse.org


More information about the mythtv-users mailing list