Bug 7584 - Name resolution interference while SC7 running
: Name resolution interference while SC7 running
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: mDNS
: 7.0.1
: PC Linux (other)
: -- normal (vote)
: ---
Assigned To: Ross Levine
http://forums.slimdevices.com/showthr...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-23 14:48 UTC by Ivan Adzhubey
Modified: 2008-03-27 11:06 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Adzhubey 2008-03-23 14:48:43 UTC
I am having major problem with my installation of SC7. Every time SqueezeCenter server is started it completely trashes host name lookups both on my computer and on my WiFi-attached SB player. There are very long delays and eventually about 9 out of 10 DNS lookup attempts fail. No way to browse Internet or check e-mail on the PC where SC server runs and radio streams and music services do not work from SB player either (checking stream--cannot connect to server). I originally thought this was somehow connected to mDNSResponderPosix which purpose I never understood and which apparently duplicates similarly named one I've had already installed as part of standard network setup. So I uninstalled my system's DNS responder service and deleted mDNSResponderPosix binary from SC7 installation. This did not help. I also tried stopping system's avahi daemon, which is also related to DNS I guess, and that did not help either. So basically, I cannot use SC7 at all since it renders my computer useless. Local music streaming works wonderfully however.

My PC has AltLinux distro installed (kernel 2.6.18).

SqueezeCenter was installed from RPM:

squeezecenter-7.0.1-0.1.17957.noarch.rpm

(and I've tried several other builds, same problem persists).

WAN connection is via Netgear RangeMax240 wireless router attached to ADSL modem. Name resolution is provided by the router and it is configured to use my ISP's DNS, which works perfectly until SC server is started.

I have DynDNS name registered for this PC. This should not affect name resolution on the LAN of course (and it never did before I installed SC7) but it turns out there were a few bug reports and complaints on the forum saying that sometimes it does. Needless to say, without SC7 server running, all DNS lookups are working perfectly well and completed almost instantaneously. One more strange thing is that even after I stop SC7, my system takes 3 to 10 minutes to completely regain consciousness and resume normal DNS lookup processing. I've checked for some runaway SC7 processes that might have been still running after the service shutdown but could not find anything suspicious. Also, there is nothing particularly interesting in the system logs during this comatose DNS resolver periods.

I would be glad to provide any other necessary details if someone be so kind to help me with this problem. It is extremely annoying.
Comment 1 KDF 2008-03-23 22:46:56 UTC
it's enough to have the iffy language in forums, but let's please keep bugzilla on a higher level.
Priorities should be left at default for new reports, please.
Comment 2 Ivan Adzhubey 2008-03-23 23:08:43 UTC
(In reply to comment #1)
> it's enough to have the iffy language in forums, but let's please keep bugzilla
> on a higher level.

Sorry about that. Since English is not my native language, I sometimes learn it in wrong places ;-)

> Priorities should be left at default for new reports, please.

OK, I did not know and this was not suggested on the bugzilla page. Since there was a menu to select from I just used it.

On an unrelated note. It is usually not a good idea for developers to immediately show defensive behavior upon any new bug report. Users tend to just stop submitting bugs in that case. Instead, it helps very much to comment something in the lines of "thank you for reporting this problem". Sorry if it sounds too mentoring but I know what I am talking about since I also maintain projects with large user base and open problem tracking myself.
Comment 3 James Richardson 2008-03-24 07:51:23 UTC
Ivan:  Do you have this same problem with 7.0 (release) version of SC?

Ross:  Can you have a look at this please
Comment 4 Ivan Adzhubey 2008-03-24 09:47:06 UTC
(In reply to comment #3)
> Ivan:  Do you have this same problem with 7.0 (release) version of SC?

I think I've never actually tried the official release. Perhaps I should, although I am pretty sure it won't change anything. Here's the list of rpm builds I have had installed at various points:

squeezecenter-7.0-0.2.16207.noarch.rpm
squeezecenter-7.0-0.2.17599.noarch.rpm
squeezecenter-7.0-0.2.17707.noarch.rpm
squeezecenter-7.0.1-0.1.17889.noarch.rpm
squeezecenter-7.0.1-0.1.17914.noarch.rpm
squeezecenter-7.0.1-0.1.17957.noarch.rpm

They all did the same bad thing to my system's DNS resolver.
Comment 5 Ross Levine 2008-03-24 17:32:04 UTC
English version of AltLinux is slated for next month, I'll take a look at this as soon as its available. 
Comment 6 Ivan Adzhubey 2008-03-24 18:23:23 UTC
(In reply to comment #5)
> English version of AltLinux is slated for next month, I'll take a look at this
> as soon as its available. 

Well, I don't know what English version could mean in case of a modern operating system. Of course, AltLinux supports all English language locales out of the box, as well as half a dozen of various non-Latin based locales. They actually supported all of these since the beginning 10 years ago. And I am running AltLinux in en_US locale here. I would be glad to help with any debugging. I think this is a serious issue even if I am the only one who reported it up to now. For a starter, here is strace output of a failed host command executed in console 1 minute after the squeezecenter service has been stopped:

[ivan@bamyasi ~]$ strace host www.verizon.com
execve("/usr/bin/host", ["host", "www.verizon.com"], [/* 74 vars */]) = 0
brk(0)                                  = 0x8059000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=176979, ...}) = 0
mmap2(NULL, 176979, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fa0000
close(3)                                = 0
open("/usr/lib/liblwres.so.9", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200#\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=59328, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f9f000
mmap2(NULL, 58192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f90000
mmap2(0xb7f9e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0xb7f9e000
close(3)                                = 0
open("/usr/lib/libdns.so.22", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340)\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1101104, ...}) = 0
mmap2(NULL, 1101192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e83000
mmap2(0xb7f8d000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10a) = 0xb7f8d000
close(3)                                = 0
open("/usr/lib/libbind9.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\23\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=27088, ...}) = 0
mmap2(NULL, 30040, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e7b000
mmap2(0xb7e82000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb7e82000
close(3)                                = 0
open("/usr/lib/libisc.so.11", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\201\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=229576, ...}) = 0
mmap2(NULL, 232636, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e42000
mmap2(0xb7e7a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x37) = 0xb7e7a000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000b\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1208640, ...}) = 0
mmap2(NULL, 1214724, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d19000
mmap2(0xb7e3c000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x123) = 0xb7e3c000
mmap2(0xb7e3f000, 10500, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e3f000
close(3)                                = 0
open("/lib/libcrypto.so.6", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300X\3\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1254132, ...}) = 0
mmap2(NULL, 1266680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7be3000
mmap2(0xb7d01000, 81920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11e) = 0xb7d01000
mmap2(0xb7d15000, 13304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7d15000
close(3)                                = 0
open("/usr/lib/libisccfg.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300M\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=62420, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7be2000
mmap2(NULL, 64484, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7bd2000
mmap2(0xb7bdf000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd) = 0xb7bdf000
mmap2(0xb7be1000, 3044, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7be1000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\n\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9660, ...}) = 0
mmap2(NULL, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7bce000
mmap2(0xb7bd0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7bd0000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7bcd000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7bcd6c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7e3c000, 4096, PROT_READ)   = 0
munmap(0xb7fa0000, 176979)              = 0
rt_sigaction(SIGINT, {0xb7e62e00, ~[RTMIN RT_1], 0}, NULL, 8) = 0
rt_sigaction(SIGTERM, {0xb7e62e00, ~[RTMIN RT_1], 0}, NULL, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
rt_sigaction(SIGHUP, {SIG_DFL}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP INT TERM], NULL, 8) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
close(3)                                = 0
brk(0)                                  = 0x8059000
brk(0x807a000)                          = 0x807a000
open("/usr/share/locale/en_US:ru_RU.KOI8-R/libdst.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US:ru_RU.KOI8-R/LC_MESSAGES/libdst.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/libdst.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libdst.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US:ru_RU.KOI8-R/libisc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US:ru_RU.KOI8-R/LC_MESSAGES/libisc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/libisc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libisc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US:ru_RU.KOI8-R/libdns.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US:ru_RU.KOI8-R/LC_MESSAGES/libdns.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/libdns.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libdns.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
time(NULL)                              = 1206407559
open("/etc/resolv.conf", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=64, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fac000
read(3, "# Generated by dhcpcd for interf"..., 131072) = 64
read(3, "", 131072)                     = 0
close(3)                                = 0
munmap(0xb7fac000, 131072)              = 0
rt_sigaction(SIGHUP, {0xb7e62e20, ~[RTMIN RT_1], 0}, NULL, 8) = 0
gettimeofday({1206407559, 449794}, NULL) = 0
getpid()                                = 6027
time(NULL)                              = 1206407559
brk(0x80a3000)                          = 0x80a3000
gettimeofday({1206407559, 450898}, NULL) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 3
fcntl64(3, F_DUPFD, 20)                 = 20
close(3)                                = 0
fcntl64(20, F_GETFL)                    = 0x2 (flags O_RDWR)
fcntl64(20, F_SETFL, O_RDWR|O_NONBLOCK) = 0
setsockopt(20, SOL_SOCKET, SO_TIMESTAMP, [1], 4) = 0
bind(20, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
recvmsg(20, 0xbfe43944, 0)              = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1206407559, 452625}, NULL) = 0
sendmsg(20, {msg_name(16)={sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.1.1")}, msg_iov(1)=[{"\334\303\1\0\0\1\0\0\0\0\0\0\3www\7verizon\3com\0\0\1\0"..., 33}], msg_controllen=0, msg_flags=0}, 0) = 33
gettimeofday({1206407559, 452987}, NULL) = 0
select(21, [20], [], NULL, {0, 0})      = 0 (Timeout)
gettimeofday({1206407559, 453151}, NULL) = 0
gettimeofday({1206407559, 453207}, NULL) = 0
select(21, [20], [], NULL, {4, 997691}) = 0 (Timeout)
gettimeofday({1206407564, 453159}, NULL) = 0
gettimeofday({1206407564, 453357}, NULL) = 0
gettimeofday({1206407564, 453543}, NULL) = 0
gettimeofday({1206407564, 453723}, NULL) = 0
sendmsg(20, {msg_name(16)={sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.1.1")}, msg_iov(1)=[{"\334\303\1\0\0\1\0\0\0\0\0\0\3www\7verizon\3com\0\0\1\0"..., 33}], msg_controllen=0, msg_flags=0}, 0) = 33
gettimeofday({1206407564, 454290}, NULL) = 0
select(21, [20], [], NULL, {0, 0})      = 0 (Timeout)
gettimeofday({1206407564, 454662}, NULL) = 0
gettimeofday({1206407564, 454837}, NULL) = 0
select(21, [20], [], NULL, {4, 998706}) = 0 (Timeout)
gettimeofday({1206407569, 456995}, NULL) = 0
gettimeofday({1206407569, 457185}, NULL) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 2), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fcb000
write(1, ";; connection timed out; no serv"..., 53;; connection timed out; no servers could be reached
) = 53
close(20)                               = 0
kill(6027, SIGTERM)                     = 0
--- SIGTERM (Terminated) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
gettimeofday({1206407569, 458274}, NULL) = 0
gettimeofday({1206407569, 458445}, NULL) = 0
brk(0x8080000)                          = 0x8080000
exit_group(1)                           = ?
Process 6027 detached

For comparison, the same command successfully completed 5 minutes later, when the system regained consiousness:

[ivan@bamyasi ~]$ strace host www.verizon.com
execve("/usr/bin/host", ["host", "www.verizon.com"], [/* 74 vars */]) = 0
brk(0)                                  = 0x8059000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=176979, ...}) = 0
mmap2(NULL, 176979, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f24000
close(3)                                = 0
open("/usr/lib/liblwres.so.9", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200#\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=59328, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f23000
mmap2(NULL, 58192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f14000
mmap2(0xb7f22000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0xb7f22000
close(3)                                = 0
open("/usr/lib/libdns.so.22", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340)\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1101104, ...}) = 0
mmap2(NULL, 1101192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e07000
mmap2(0xb7f11000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10a) = 0xb7f11000
close(3)                                = 0
open("/usr/lib/libbind9.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\23\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=27088, ...}) = 0
mmap2(NULL, 30040, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7dff000
mmap2(0xb7e06000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb7e06000
close(3)                                = 0
open("/usr/lib/libisc.so.11", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\201\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=229576, ...}) = 0
mmap2(NULL, 232636, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7dc6000
mmap2(0xb7dfe000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x37) = 0xb7dfe000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000b\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1208640, ...}) = 0
mmap2(NULL, 1214724, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7c9d000
mmap2(0xb7dc0000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x123) = 0xb7dc0000
mmap2(0xb7dc3000, 10500, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7dc3000
close(3)                                = 0
open("/lib/libcrypto.so.6", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300X\3\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1254132, ...}) = 0
mmap2(NULL, 1266680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7b67000
mmap2(0xb7c85000, 81920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11e) = 0xb7c85000
mmap2(0xb7c99000, 13304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7c99000
close(3)                                = 0
open("/usr/lib/libisccfg.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300M\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=62420, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7b66000
mmap2(NULL, 64484, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7b56000
mmap2(0xb7b63000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd) = 0xb7b63000
mmap2(0xb7b65000, 3044, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7b65000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\n\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9660, ...}) = 0
mmap2(NULL, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7b52000
mmap2(0xb7b54000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7b54000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7b51000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7b516c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7dc0000, 4096, PROT_READ)   = 0
munmap(0xb7f24000, 176979)              = 0
rt_sigaction(SIGINT, {0xb7de6e00, ~[RTMIN RT_1], 0}, NULL, 8) = 0
rt_sigaction(SIGTERM, {0xb7de6e00, ~[RTMIN RT_1], 0}, NULL, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
rt_sigaction(SIGHUP, {SIG_DFL}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP INT TERM], NULL, 8) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
close(3)                                = 0
brk(0)                                  = 0x8059000
brk(0x807a000)                          = 0x807a000
open("/usr/share/locale/en_US:ru_RU.KOI8-R/libdst.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US:ru_RU.KOI8-R/LC_MESSAGES/libdst.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/libdst.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libdst.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US:ru_RU.KOI8-R/libisc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US:ru_RU.KOI8-R/LC_MESSAGES/libisc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/libisc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libisc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US:ru_RU.KOI8-R/libdns.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US:ru_RU.KOI8-R/LC_MESSAGES/libdns.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/libdns.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libdns.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
time(NULL)                              = 1206408110
open("/etc/resolv.conf", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=64, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f30000
read(3, "# Generated by dhcpcd for interf"..., 131072) = 64
read(3, "", 131072)                     = 0
close(3)                                = 0
munmap(0xb7f30000, 131072)              = 0
rt_sigaction(SIGHUP, {0xb7de6e20, ~[RTMIN RT_1], 0}, NULL, 8) = 0
gettimeofday({1206408110, 794833}, NULL) = 0
getpid()                                = 6080
time(NULL)                              = 1206408110
brk(0x80a3000)                          = 0x80a3000
gettimeofday({1206408110, 795567}, NULL) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 3
fcntl64(3, F_DUPFD, 20)                 = 20
close(3)                                = 0
fcntl64(20, F_GETFL)                    = 0x2 (flags O_RDWR)
fcntl64(20, F_SETFL, O_RDWR|O_NONBLOCK) = 0
setsockopt(20, SOL_SOCKET, SO_TIMESTAMP, [1], 4) = 0
bind(20, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
recvmsg(20, 0xbf990c94, 0)              = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1206408110, 796259}, NULL) = 0
sendmsg(20, {msg_name(16)={sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.1.1")}, msg_iov(1)=[{"H9\1\0\0\1\0\0\0\0\0\0\3www\7verizon\3com\0\0\1\0"..., 33}], msg_controllen=0, msg_flags=0}, 0) = 33
gettimeofday({1206408110, 796505}, NULL) = 0
select(21, [20], [], NULL, {0, 0})      = 0 (Timeout)
gettimeofday({1206408110, 796653}, NULL) = 0
gettimeofday({1206408110, 796705}, NULL) = 0
select(21, [20], [], NULL, {4, 998862}) = 1 (in [20], left {4, 776000})
gettimeofday({1206408111, 18975}, NULL) = 0
recvmsg(20, {msg_name(16)={sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.1.1")}, msg_iov(1)=[{"H9\201\200\0\1\0\4\0\0\0\0\3www\7verizon\3com\0\0\1\0"..., 65535}], msg_controllen=20, {cmsg_len=20, cmsg_level=SOL_SOCKET, cmsg_type=0x1d /* SCM_??? */, ...}, msg_flags=0}, 0) = 137
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 2), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f4f000
write(1, "www.verizon.com is an alias for "..., 63www.verizon.com is an alias for www.verizon.com.edgesuite.net.
) = 63
write(1, "www.verizon.com.edgesuite.net is"..., 66www.verizon.com.edgesuite.net is an alias for a1280.g.akamai.net.
) = 66
write(1, "a1280.g.akamai.net has address 6"..., 43a1280.g.akamai.net has address 62.41.81.34
) = 43
write(1, "a1280.g.akamai.net has address 6"..., 43a1280.g.akamai.net has address 62.41.81.50
) = 43
close(20)                               = 0
gettimeofday({1206408111, 20795}, NULL) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 3
fcntl64(3, F_DUPFD, 20)                 = 20
close(3)                                = 0
fcntl64(20, F_GETFL)                    = 0x2 (flags O_RDWR)
fcntl64(20, F_SETFL, O_RDWR|O_NONBLOCK) = 0
setsockopt(20, SOL_SOCKET, SO_TIMESTAMP, [1], 4) = 0
bind(20, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
recvmsg(20, 0xbf990964, 0)              = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1206408111, 21350}, NULL) = 0
sendmsg(20, {msg_name(16)={sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.1.1")}, msg_iov(1)=[{"\303?\1\0\0\1\0\0\0\0\0\0\5a1280\1g\6akamai\3net\0"..., 36}], msg_controllen=0, msg_flags=0}, 0) = 36
gettimeofday({1206408111, 21576}, NULL) = 0
select(21, [20], [], NULL, {4, 773991}) = 1 (in [20], left {4, 560000})
gettimeofday({1206408111, 237576}, NULL) = 0
recvmsg(20, {msg_name(16)={sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.1.1")}, msg_iov(1)=[{"\303?\201\200\0\1\0\0\0\1\0\0\5a1280\1g\6akamai\3net\0"..., 65535}], msg_controllen=20, {cmsg_len=20, cmsg_level=SOL_SOCKET, cmsg_type=0x1d /* SCM_??? */, ...}, msg_flags=0}, 0) = 97
close(20)                               = 0
gettimeofday({1206408111, 238434}, NULL) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 3
fcntl64(3, F_DUPFD, 20)                 = 20
close(3)                                = 0
fcntl64(20, F_GETFL)                    = 0x2 (flags O_RDWR)
fcntl64(20, F_SETFL, O_RDWR|O_NONBLOCK) = 0
setsockopt(20, SOL_SOCKET, SO_TIMESTAMP, [1], 4) = 0
bind(20, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
recvmsg(20, 0xbf990964, 0)              = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1206408111, 240105}, NULL) = 0
sendmsg(20, {msg_name(16)={sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.1.1")}, msg_iov(1)=[{"\237\361\1\0\0\1\0\0\0\0\0\0\5a1280\1g\6akamai\3net\0"..., 36}], msg_controllen=0, msg_flags=0}, 0) = 36
gettimeofday({1206408111, 240620}, NULL) = 0
select(21, [20], [], NULL, {4, 554947}) = 1 (in [20], left {4, 336000})
gettimeofday({1206408111, 458343}, NULL) = 0
recvmsg(20, {msg_name(16)={sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.1.1")}, msg_iov(1)=[{"\237\361\201\200\0\1\0\0\0\1\0\0\5a1280\1g\6akamai\3net\0"..., 65535}], msg_controllen=20, {cmsg_len=20, cmsg_level=SOL_SOCKET, cmsg_type=0x1d /* SCM_??? */, ...}, msg_flags=0}, 0) = 97
close(20)                               = 0
kill(6080, SIGTERM)                     = 0
--- SIGTERM (Terminated) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
gettimeofday({1206408111, 459662}, NULL) = 0
gettimeofday({1206408111, 459942}, NULL) = 0
brk(0x8080000)                          = 0x8080000
exit_group(0)                           = ?
Process 6080 detached

Comment 7 Ross Levine 2008-03-24 18:50:06 UTC
Oops I meant the English version of their site. I dug around and found a mirror I understood, downloading now. I'll try reproducing this tomorrow. 
Comment 8 Ivan Adzhubey 2008-03-24 19:06:16 UTC
(In reply to comment #7)
> Oops I meant the English version of their site. I dug around and found a mirror
> I understood, downloading now. I'll try reproducing this tomorrow.

I am still inclined to think this problem is more likely to be connected to my specific networking configuration (e.g. DynDNS-registered name for local computer behind NAT) than anything AltLinux-specific. I should try removing all DynDNS references from this computer and see if it would help. Unfortunately, I am in the middle of some important project right now and I often need urgent ssh access to my home server from other sites so I fear to break it accidentally. But I am also feeling uncomfortable about forcing you to go through hordes of installing an alien OS just to find out it has nothing to do with the bug. Besides, I am running "unstable" AltLinux branch here, so installing a stable version would not reproduce all details of my system environment. If I could only think about any other way to help you...

cheers,
bamyasi


Comment 9 Ross Levine 2008-03-26 11:18:33 UTC
Are you using ddclient? I setup dyndns with ddclient at home, and installed latest trunk SC7, again Ubuntu. Works fine for me. This sounds like a fairly common setup I'm sure if dyndns clients and SC7 had a major problem like this others would have also mentioned it, right? I don't doubt you've found a bug I'm just concerned there is more to it. I understand if you cannot remove your dyndns client for diagnostic, let us know if you get a chance to try to isolate the issue better. I'll keep ddclient and SC7 up to date at home, and keep an eye out for any issues. 
Comment 10 Ivan Adzhubey 2008-03-26 19:06:08 UTC
(In reply to comment #9)
> Are you using ddclient? I setup dyndns with ddclient at home, and installed
> latest trunk SC7, again Ubuntu. Works fine for me. This sounds like a fairly
> common setup I'm sure if dyndns clients and SC7 had a major problem like this
> others would have also mentioned it, right? I don't doubt you've found a bug
> I'm just concerned there is more to it. I understand if you cannot remove your
> dyndns client for diagnostic, let us know if you get a chance to try to isolate
> the issue better. I'll keep ddclient and SC7 up to date at home, and keep an
> eye out for any issues.

Ok, I think we nailed it.

Your computer is most likely connected directly to DSL/cable modem, right? Mine is plugged into wireless router, which in turn is connected to my ADSL modem. PC computer which runs SC server (and is also my main workhorse) is connected to LAN port on the router. Hence, it is on internal LAN. I am not sure but I think ddclient can't work in this configuration because of internal LAN being NATed. Anyway, I am using DynDNS client built into my router's firmware. Or at least I was using it until today. What I have just discovered is that as soon as I disabled it in router configuration everything went back to normal. Name resolution on my PC works fine again, and I can listen to Internet streams on my SB player when it is connected to SC server now. So, it was some bug in router's firmware. I will look into other DynDNS clients, the one in the router was not very reliable anyway. And since this particular Netgear model is already out of support they stopped distributing bugfixes for it a year ago.

There is still something in new SC7 code that triggered this conflict with router's DynDNS client since SlimServer up to version 6.5 was working just fine with the same configuration. But I doubt we will ever find out what it was. I will post on the forum for the record.

Thank you very much for your help!

cheers,
bamyasi

Comment 11 Ivan Adzhubey 2008-03-26 20:34:26 UTC
> Ok, I think we nailed it.

I have installed ddclient on my PC, works fine with DynDNS servers, my sshd daemon is happy, and no conflicts with SC7 whatsoever. Internet streams also work perfectly on SB player. So I am marking this bug closed. Special thanks to Ross for a hint about ddclient. Don't know why I haven't tried it before, probably was lazy.

cheers,
bamyasi
Comment 12 Ross Levine 2008-03-27 11:05:28 UTC
To answer your question my pc is not connected directly to the cable modem, we use a Belkin router. DDclient works great in that situation.

Thanks for the great details Bamyasi.