[mythtv] mediamonitor FreeBSD patch freezes Linux

Jin Choi jsc at alum.mit.edu
Wed Jun 9 10:52:13 EDT 2004


The June 4 FreeBSD patches of mythmediamonitor.cpp changing it to use
fstab functions freeze the front end after the "scaling images" progress
bars get to 99%.

An strace shows it in an infinite loop repeating the steps below.
Apparently it is trying to stat the "proc" filesystem entry as a device
file.

open("/etc/fstab", O_RDONLY)            = 14
fstat64(14, {st_mode=S_IFREG|0644, st_size=304, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x4a6d4000
read(14, "# /etc/fstab: static file system"..., 4096) = 304
readlink("proc", 0xbfffea50, 4096)      = -1 ENOENT (No such file or
directory)
_llseek(14, 0, [0], SEEK_SET)           = 0
read(14, "# /etc/fstab: static file system"..., 4096) = 304
stat64("proc", 0xbfffe9f0)              = -1 ENOENT (No such file or
directory)
read(14, "", 4096)                      = 0
close(14)                               = 0
munmap(0x4a6d4000, 4096)                = 0



More information about the mythtv-dev mailing list