Red Hat Bugzilla – Bug 171210
tar crashes with glibc error
Last modified: 2007-11-30 17:07:21 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7
Description of problem:
Amanda uses tar to get an estimate of the job to be done, according to the amanda logs the command is like this:
/bin/tar --create --file /dev/null --directory /home --one-file-system --listed-incremental /tmp/hm.txt --sparse
--ignore-failed-read --totals .
Recently, after AS4 U2, amanda started to die in this step for one partition on one machine. When the command is run under gdb we get this:
(gdb) run --create --file /dev/null --directory /home --one-file-system--listed-incremental /tmp/hm.txt --sparse --ignore-failed-read --totals .
(no debugging symbols found)
(no debugging symbols found)
*** glibc detected *** free(): invalid pointer: 0x0049309c ***
Program received signal SIGABRT, Aborted.
0x003527a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#0 0x003527a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x003927d5 in raise () from /lib/tls/libc.so.6
#2 0x00394149 in abort () from /lib/tls/libc.so.6
#3 0x003c640a in __libc_message () from /lib/tls/libc.so.6
#4 0x003ccb3f in _int_free () from /lib/tls/libc.so.6
#5 0x003cceba in free () from /lib/tls/libc.so.6
#6 0x00461aee in nscd_getpw_r () from /lib/tls/libc.so.6
#7 0x00461ba7 in __nscd_getpwuid_r () from /lib/tls/libc.so.6
#8 0x003f467a in getpwuid_r@@GLIBC_2.1.2 () from /lib/tls/libc.so.6
#9 0x003f4121 in getpwuid () from /lib/tls/libc.so.6
#10 0x08059303 in ?? ()
#11 0x0000b337 in ?? ()
#12 0x0000000c in ?? ()
#13 0x08066881 in _IO_stdin_used ()
#14 0xbfff72f4 in ?? ()
#15 0x00000000 in ?? ()
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make backup with amanda
2. /bin/tar dies
Actual Results: /bin/tar dies with glibc error message.
Expected Results: The backup job should archive our files.
Turned off nscd and suddenly tar worked fine, so this is probably a bug in nscd,
I can't reproduce it. It doesn't matter if nscd is turned on or off.
This only happen on one of several servers we run with AS4 U2 on. There is
nothing really special about the machine and it is very stable, no hardware
problems for example. The filesystem that causes the problem has files for many
different users, about 17k - perhaps this causes the nscd problem.
Hi, is the problem still actual or has it been already fixed?
It seems to happen still but very rarely now, once this year I believe.
Can you post steps (or config) that 100% reproduce the bug please?
This bugzilla has Keywords: Regression.
Since no regressions are allowed between releases,
it is also being proposed as a blocker for this release.
Please resolve ASAP.
I cannot reproduce this bug, closing as NOTABUG.