[OpenAFS] Re: OpenAFS 1.4.2 on latest FC5 kernel

David Howells dhowells@redhat.com
Thu, 26 Oct 2006 17:56:02 +0100

David Howells <dhowells@redhat.com> wrote:

> Note I say "should"....  On x86_64, the "fs" program SEGV's:
> + fs setacl /afs system:anyuser rl
> fs:'/afs'/tmp/do-afs-admin-9629.sh: line 6:  9802 Segmentation fault      fs setacl /afs system:anyuser rl
> The same problem happens with the standard OpenAFS RPMs for FC5 recompiler for
> x86_64.  I'll try attaching gdb to it when I've reinstalled by test box
> (accidentally deleting /var/lib is not to be considered a good idea).

bash-3.1$ gdb fs
GNU gdb Red Hat Linux (
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib64/libthread_db.so.1".

warning: not using untrusted file ".gdbinit"
(gdb) r setacl /afs system:anyuser rl
Starting program: /usr/bin/fs setacl /afs system:anyuser rl
Program received signal SIGSEGV, Segmentation fault.
0x00002aaaaad4ecb0 in ?? () from /lib64/libc.so.6
(gdb) bt
#0  0x00002aaaaad4ecb0 in ?? () from /lib64/libc.so.6
#1  0x00002aaaaad1f88b in _IO_vfprintf_internal (s=0x7fff5a142dc0, format=Variable "format" is not available.
    at vfprintf.c:1559
#2  0x00002aaaaad20246 in buffered_vfprintf (s=0x2aaaaaf1d840, format=Variable "format" is not available.
    at vfprintf.c:2155
#3  0x00002aaaaad1becf in _IO_vfprintf_internal (s=0x2aaaaaf1d840, 
    format=0x44ea65 ": %s\n", ap=0x7fff5a1435a0) at vfprintf.c:1270
#4  0x00002aaaaad25478 in __fprintf (stream=Variable "stream" is not available.
) at fprintf.c:33
#5  0x000000000040a9a0 in ?? ()
#6  0x0000000000430f34 in afsconf_GetKey ()
#7  0x0000000000405e2b in ?? ()
#8  0x00002aaaaacf7784 in __libc_start_main (main=0x404db0, argc=5, 
    ubp_av=0x7fff5a143928, init=Variable "init" is not available.
) at libc-start.c:231
#9  0x0000000000404ca9 in ?? ()
#10 0x00007fff5a143918 in ?? ()
#11 0x0000000000000000 in ?? ()

The output stream is _IO_2_1_stderr_.

Note that the openafs-debuginfo package isn't complete for some reason, and so
I don't get a full backtrace.