Package: libc6
Version: 2.11.2-2
Severity: normal

Since the upgrade to eglibc v2.11.1 several statically compiled binaries 
(fold...@home client v6.29, distributed.net client, and more) fail with the 
following error:

fah6: relocation error: /lib/libnss_files.so.2: symbol __rawmemchr, version 
GLIBC_2.2.5 not defined in file libc.so.6 with link time reference

The problem occurs just after /etc/hosts is parsed (see attached strace log), 
the problem can be worked around by using nscd host caching (which is broken 
according to #335476). But it's not a comfortable solution.

This bug has also been reported in Ubuntu 
(https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/574726), but not fix has 
been provided to this day. This issue is also known to affect Fedora 12 & 13 
who also use eglibc 2.11.

Some troubleshooting of this issue has been performed on the fold...@home 
support forum: http://foldingforum.org/viewtopic.php?f=44&t=13064

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc6 depends on:
ii  libc-bin                      2.11.2-2   Embedded GNU C Library: Binaries
ii  libgcc1                       1:4.4.4-7  GCC support library

libc6 recommends no packages.

Versions of packages libc6 suggests:
ii  debconf [debconf-2.0]         1.5.33     Debian configuration management sy
ii  glibc-doc                     2.11.2-2   Embedded GNU C Library: Documentat
ii  locales                       2.11.2-2   Embedded GNU C Library: National L

-- debconf information:
* glibc/upgrade: true
  glibc/disable-screensaver:
  glibc/restart-failed:
* glibc/restart-services: spamassassin ssh postfix openbsd-inetd dovecot cups 
cron atd
execve("./fah6", ["./fah6"], [/* 22 vars */]) = 0
uname({sys="Linux", node="osiris", ...}) = 0
brk(0)                                  = 0x1aca000
brk(0x1acaf30)                          = 0x1acaf30
arch_prctl(ARCH_SET_FS, 0x1aca860)      = 0
set_tid_address(0x1aca8f0)              = 20457
set_robust_list(0x1aca900, 0x18)        = 0
rt_sigaction(SIGRTMIN, {0x43b510, [], SA_RESTORER|SA_SIGINFO, 0x43b860}, NULL, 
8) = 0
rt_sigaction(SIGRT_1, {0x43b460, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 
0x43b860}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
brk(0x1aebf30)                          = 0x1aebf30
brk(0x1aec000)                          = 0x1aec000
open("client.cfg", O_RDONLY)            = 3
flock(3, LOCK_SH|LOCK_NB)               = 0
fstat(3, {st_mode=S_IFREG|0750, st_size=285, ...}) = 0
read(3, "[settings]\nusername=[DPC]_Fatal_"..., 285) = 285
flock(3, LOCK_UN)                       = 0
close(3)                                = 0
fstat(1, {st_mode=S_IFREG|0644, st_size=1049, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f7b3186e000
write(1, "\nNote: Please read the license a"..., 183
Note: Please read the license agreement (fah6 -license). Further 
use of this software requires that you have read and accepted this agreement.

Using local directory for work files
) = 183
stat("FAHlog.txt", {st_mode=S_IFREG|0644, st_size=46278, ...}) = 0
open("FAHlog.txt", O_RDWR|O_CREAT|O_APPEND, 0666) = 3
write(1, "\n\n--- Opening Log file [July 15 "..., 48

--- Opening Log file [July 15 09:49:57 UTC] 

) = 48
fstat(3, {st_mode=S_IFREG|0644, st_size=46278, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f7b3186d000
write(3, "\n\n--- Opening Log file [July 15 "..., 48) = 48
write(1, "\n# Linux Console Edition #######"..., 81
# Linux Console Edition #######################################################
) = 81
write(3, "\n# Linux Console Edition #######"..., 81) = 81
write(1, "################################"..., 
80###############################################################################
) = 80
write(3, "################################"..., 80) = 80
write(1, "\n", 1
)                       = 1
write(3, "\n", 1)                       = 1
write(1, "                       fold...@h"..., 56                       
fold...@home Client Version 6.29
) = 56
write(3, "                       fold...@h"..., 56) = 56
write(1, "\n", 1
)                       = 1
write(3, "\n", 1)                       = 1
write(1, "                          http:/"..., 54                          
http://folding.stanford.edu
) = 54
write(3, "                          http:/"..., 54) = 54
write(1, "\n", 1
)                       = 1
write(3, "\n", 1)                       = 1
write(1, "################################"..., 
80###############################################################################
) = 80
write(3, "################################"..., 80) = 80
write(1, "################################"..., 
80###############################################################################
) = 80
write(3, "################################"..., 80) = 80
write(1, "\n", 1
)                       = 1
write(3, "\n", 1)                       = 1
getcwd("/home/bas/software/folding", 511) = 27
write(1, "Launch directory: /home/bas/soft"..., 45Launch directory: 
/home/bas/software/folding
) = 45
write(3, "Launch directory: /home/bas/soft"..., 45) = 45
write(1, "Executable: ./fah6\n", 19Executable: ./fah6
)    = 19
write(3, "Executable: ./fah6\n", 19)    = 19
write(1, "Arguments: ", 11Arguments: )             = 11
write(3, "Arguments: ", 11)             = 11
write(1, "-local ", 7-local )                  = 7
write(3, "-local ", 7)                  = 7
write(1, "\n\n", 2

)                     = 2
write(3, "\n\n", 2)                     = 2
sysinfo({uptime=185414, loads=[227232, 191232, 182048] totalram=4158464000, 
freeram=99012608, sharedram=0, bufferram=446427136} totalswap=8003153920, 
freeswap=8000319488, procs=686}) = 0
open("client.cfg", O_RDONLY)            = 4
flock(4, LOCK_SH|LOCK_NB)               = 0
fstat(4, {st_mode=S_IFREG|0750, st_size=285, ...}) = 0
read(4, "[settings]\nusername=[DPC]_Fatal_"..., 285) = 285
flock(4, LOCK_UN)                       = 0
close(4)                                = 0
write(1, "[09:49:57] - Ask before connecti"..., 39[09:49:57] - Ask before 
connecting: No
) = 39
write(3, "[09:49:57] - Ask before connecti"..., 39) = 39
write(1, "[09:49:57] - User name: [DPC]_Fa"..., 59[09:49:57] - User name: 
[DPC]_Fatal_Error_Group0smoking2000) = 59
write(3, "[09:49:57] - User name: [DPC]_Fa"..., 59) = 59
write(1, " (Team 92)\n", 11 (Team 92)
)            = 11
write(3, " (Team 92)\n", 11)            = 11
open("machinedependent.dat", O_RDONLY)  = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=8, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f7b3186c000
read(4, "\235;\201 \235\16u}", 4096)    = 8
close(4)                                = 0
munmap(0x7f7b3186c000, 4096)            = 0
write(1, "[09:49:57] - User ID: 7D750E9D20"..., 39[09:49:57] - User ID: 
7D750E9D20813B9D
) = 39
write(3, "[09:49:57] - User ID: 7D750E9D20"..., 39) = 39
write(1, "[09:49:57] - Machine ID: 1\n", 27[09:49:57] - Machine ID: 1
) = 27
write(3, "[09:49:57] - Machine ID: 1\n", 27) = 27
write(1, "[09:49:57] \n", 12[09:49:57] 
)           = 12
write(3, "[09:49:57] \n", 12)           = 12
mkdir("/tmp/fah", 0750)                 = -1 EEXIST (File exists)
open("/tmp/fah/f1", O_RDONLY)           = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=33, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f7b3186c000
read(4, "20359\n/home/bas/software/folding"..., 4096) = 33
kill(20359, SIG_0)                      = -1 ESRCH (No such process)
close(4)                                = 0
munmap(0x7f7b3186c000, 4096)            = 0
open("/tmp/fah/f1", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f7b3186c000
getcwd("/home/bas/software/folding", 255) = 27
write(4, "20457\n/home/bas/software/folding"..., 33) = 33
close(4)                                = 0
munmap(0x7f7b3186c000, 4096)            = 0
stat("MyFolding.html", {st_mode=S_IFREG|0644, st_size=5279, ...}) = 0
open("work/", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 4
fstat(4, {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
close(4)                                = 0
open("queue.dat", O_RDONLY)             = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=7168, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f7b3186c000
read(4, 
"\365\1\0\0\2\0\0\0\0\0\0\0\4\0\0\0009\360\223\23\0\0\0\0\310\224\227\377W\0359r"...,
 4096) = 4096
read(4, "\0\0\0\0\f\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4P6075R0C80G2"..., 4096) = 3072
nanosleep({0, 150000000}, 0x7fffb5c10000) = 0
close(4)                                = 0
munmap(0x7f7b3186c000, 4096)            = 0
write(1, "[09:49:57] Loaded queue successf"..., 38[09:49:57] Loaded queue 
successfully.
) = 38
write(3, "[09:49:57] Loaded queue successf"..., 38) = 38
mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_32BIT, 
-1, 0) = 0x40c88000
mprotect(0x40c88000, 4096, PROT_NONE)   = 0
clone(Process 20458 attached
child_stack=0x414880d0, 
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
 parent_tidptr=0x414889d0, tls=0x41488940, child_tidptr=0x414889d0) = 20458
[pid 20457] nanosleep({268435, 455000000},  <unfinished ...>
[pid 20458] set_robust_list(0x414889e0, 0x18) = 0
[pid 20458] rt_sigaction(SIGINT, {0x400320, [INT], SA_RESTORER|SA_RESTART, 
0x43b860}, {SIG_DFL, [], 0}, 8) = 0
[pid 20458] rt_sigaction(SIGTERM, {0x400320, [TERM], SA_RESTORER|SA_RESTART, 
0x43b860}, {SIG_DFL, [], 0}, 8) = 0
[pid 20458] mmap(NULL, 8392704, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_ANONYMOUS|MAP_32BIT, -1, 0) = 0x41db0000
[pid 20458] mprotect(0x41db0000, 4096, PROT_NONE) = 0
[pid 20458] clone(Process 20459 attached
child_stack=0x425b00d0, 
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
 parent_tidptr=0x425b09d0, tls=0x425b0940, child_tidptr=0x425b09d0) = 20459
[pid 20458] write(1, "[09:49:57] - Preparing to get ne"..., 47[09:49:57] - 
Preparing to get new work unit...
) = 47
[pid 20458] write(3, "[09:49:57] - Preparing to get ne"..., 47) = 47
[pid 20458] write(1, "[09:49:57] Cleaning up work dire"..., 38[09:49:57] 
Cleaning up work directory
) = 38
[pid 20458] write(3, "[09:49:57] Cleaning up work dire"..., 38) = 38
[pid 20458] open("work/", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 4
[pid 20458] fstat(4, {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
[pid 20458] fcntl(4, F_SETFD, FD_CLOEXEC) = 0
[pid 20458] getdents(4, /* 24 entries */, 4096) = 912
[pid 20458] getdents(4, /* 0 entries */, 4096) = 0
[pid 20458] close(4)                    = 0
[pid 20458] write(1, "[09:49:57] + Attempting to get w"..., 43[09:49:57] + 
Attempting to get work packet
) = 43
[pid 20458] write(3, "[09:49:57] + Attempting to get w"..., 43) = 43
[pid 20458] write(1, "[09:49:57] Passkey found\n", 25[09:49:57] Passkey found
) = 25
[pid 20458] write(3, "[09:49:57] Passkey found\n", 25) = 25
[pid 20458] write(1, "[09:49:57] - Connecting to assig"..., 45[09:49:57] - 
Connecting to assignment server
) = 45
[pid 20458] write(3, "[09:49:57] - Connecting to assig"..., 45) = 45
[pid 20458] rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 
0x43b860}, {SIG_DFL, [], 0}, 8) = 0
[pid 20458] socket(PF_FILE, SOCK_STREAM, 0) = 4
[pid 20458] fcntl(4, F_GETFL)           = 0x2 (flags O_RDWR)
[pid 20458] fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 20458] connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = 
-1 ENOENT (No such file or directory)
[pid 20458] close(4)                    = 0
[pid 20458] socket(PF_FILE, SOCK_STREAM, 0) = 4
[pid 20458] fcntl(4, F_GETFL)           = 0x2 (flags O_RDWR)
[pid 20458] fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 20458] connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = 
-1 ENOENT (No such file or directory)
[pid 20458] close(4)                    = 0
[pid 20458] open("/etc/nsswitch.conf", O_RDONLY) = 4
[pid 20458] fstat(4, {st_mode=S_IFREG|0644, st_size=513, ...}) = 0
[pid 20458] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x7f7b3186c000
[pid 20458] read(4, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 513
[pid 20458] read(4, "", 4096)           = 0
[pid 20458] close(4)                    = 0
[pid 20458] munmap(0x7f7b3186c000, 4096) = 0
[pid 20458] open("/etc/resolv.conf", O_RDONLY) = 4
[pid 20458] fstat(4, {st_mode=S_IFREG|0644, st_size=250, ...}) = 0
[pid 20458] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x7f7b3186c000
[pid 20458] read(4, "# Dynamic resolv.conf(5) file fo"..., 4096) = 250
[pid 20458] read(4, "", 4096)           = 0
[pid 20458] close(4)                    = 0
[pid 20458] munmap(0x7f7b3186c000, 4096) = 0
[pid 20458] open("/etc/ld.so.cache", O_RDONLY) = 4
[pid 20458] fstat(4, {st_mode=S_IFREG|0644, st_size=153484, ...}) = 0
[pid 20458] mmap(NULL, 153484, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f7b31847000
[pid 20458] close(4)                    = 0
[pid 20458] open("/lib/libnss_files.so.2", O_RDONLY) = 4
[pid 20458] read(4, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p!\0\0\0\0\0\0"..., 832) = 832
[pid 20458] fstat(4, {st_mode=S_IFREG|0644, st_size=47616, ...}) = 0
[pid 20458] mmap(NULL, 2143624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 
4, 0) = 0x7f7b3163b000
[pid 20458] mprotect(0x7f7b31646000, 2093056, PROT_NONE) = 0
[pid 20458] mmap(0x7f7b31845000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xa000) = 0x7f7b31845000
[pid 20458] close(4)                    = 0
[pid 20458] open("/lib/libc.so.6", O_RDONLY) = 4
[pid 20458] read(4, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\355\1\0\0\0\0\0"..., 832) = 832
[pid 20458] fstat(4, {st_mode=S_IFREG|0755, st_size=1432968, ...}) = 0
[pid 20458] mmap(NULL, 3541032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 
4, 0) = 0x7f7b312da000
[pid 20458] mprotect(0x7f7b31432000, 2093056, PROT_NONE) = 0
[pid 20458] mmap(0x7f7b31631000, 20480, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x157000) = 0x7f7b31631000
[pid 20458] mmap(0x7f7b31636000, 18472, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f7b31636000
[pid 20458] close(4)                    = 0
[pid 20459] set_robust_list(0x425b09e0, 0x18) = 0
[pid 20459] nanosleep({21600, 0},  <unfinished ...>
[pid 20458] open("/lib/ld-linux-x86-64.so.2", O_RDONLY) = 4
[pid 20458] read(4, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\n\0\0\0\0\0\0"..., 832) = 
832
[pid 20458] fstat(4, {st_mode=S_IFREG|0755, st_size=128744, ...}) = 0
[pid 20458] mmap(NULL, 2224424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 
4, 0) = 0x7f7b310ba000
[pid 20458] mprotect(0x7f7b310d8000, 2093056, PROT_NONE) = 0
[pid 20458] mmap(0x7f7b312d7000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1d000) = 0x7f7b312d7000
[pid 20458] mmap(0x7f7b312d9000, 296, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f7b312d9000
[pid 20458] close(4)                    = 0
[pid 20458] mprotect(0x7f7b312d7000, 4096, PROT_READ) = 0
[pid 20458] mprotect(0x7f7b31631000, 16384, PROT_READ) = 0
[pid 20458] mprotect(0x7f7b31845000, 4096, PROT_READ) = 0
[pid 20458] munmap(0x7f7b31847000, 153484) = 0
[pid 20458] mmap(NULL, 1048576, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7b30fba000
[pid 20458] open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 4
[pid 20458] fcntl(4, F_GETFD)           = 0x1 (flags FD_CLOEXEC)
[pid 20458] fstat(4, {st_mode=S_IFREG|0644, st_size=30395, ...}) = 0
[pid 20458] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x7f7b3186c000
[pid 20458] read(4, "127.0.0.1\tlocalhost\n\n10.0.0.10\tm"..., 4096) = 4096
[pid 20458] writev(2, [{"fah6", 4}, {": ", 2}, {"relocation error", 16}, {": ", 
2}, {"/lib/libnss_files.so.2", 22}, {": ", 2}, {"symbol __rawmemchr, version 
GLIB"..., 94}, {"", 0}, {"", 0}, {"\n", 1}], 10fah6: relocation error: 
/lib/libnss_files.so.2: symbol __rawmemchr, version GLIBC_2.2.5 not defined in 
file libc.so.6 with link time reference
) = 143
[pid 20458] exit_group(127)             = ?
Process 20458 detached

Reply via email to