Package: mc
Version: 1:4.6.1-7
Severity: normal
Launching mc gives sometimes problems.
If network interfaces are up and there is an active internet connection, mc
runs without problem.
However, if I fisically disconnect the network connection, i.e. leaving the
interfaces up,
mc takes a very long time to run: various minutes. If during the delay I
fisically reconnect
the network connection, inmediately mc presents the panels.
On the other side, if the interfaces are down, mc runs without delay.
Running mc without fisical connection to the internet gives with strace:
---- snap ----
munmap(0xb7ef6000, 4096) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=127659, ...}) = 0
mmap2(NULL, 127659, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ed7000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libnss_mdns4_minimal.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\0\20\10\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=7112, ...}) = 0
mmap2(NULL, 10024, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb79d5000
mmap2(0xb79d7000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb79d7000
close(3) = 0
munmap(0xb7ed7000, 127659) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=127659, ...}) = 0
mmap2(NULL, 127659, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ed7000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libnss_dns.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\0\200\v\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=17884, ...}) = 0
mmap2(NULL, 20616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb79cf000
mmap2(0xb79d3000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0xb79d3000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libresolv.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\0\0!\0\000"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0644, st_size=67408, ...}) = 0
mmap2(NULL, 75976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb79bc000
mmap2(0xb79cb000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf) = 0xb79cb000
mmap2(0xb79cd000, 6344, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb79cd000
close(3) = 0
munmap(0xb7ed7000, 127659) = 0
stat64("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=113, ...}) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("208.67.222.222")}, 28) = 0
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1183983135, 169445}, NULL) = 0
poll([{fd=3, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
send(3, "\n6\1\0\0\1\0\0\0\0\0\0\4eth0\0\0\1\0\1", 22, MSG_NOSIGNAL) = 22
poll(
-----------------------------------------------------
and there it stops waiting
208.67.222.222 is my dns server. Apparently mc is waiting for something
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-2-686 (SMP w/1 CPU core)
Locale: LANG=es_DO.UTF-8, LC_CTYPE=es_DO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages mc depends on:
ii libc6 2.5-11 GNU C Library: Shared libraries
ii libglib2.0-0 2.12.12-1 The GLib library of C routines
ii libgpmg1 1.19.6-25 General Purpose Mouse - shared lib
ii libslang2 2.0.7-2 The S-Lang programming library - r
mc recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]