seg fault on file close, arla-0.12 and linux 2.1.122

Dave Morrison dave at bnl.gov
Thu Oct 1 18:03:45 CEST 1998


Dear arlites,

Just built arla-0.12 on boxes running linux 2.1.122, libc.so.6.  On UP and SMP I
see the same behavior; a seg fault on file close for files in AFS.  For example,
if I `cat' a simple text file, everything looks fine until cat tries to release
the file, then I get a seg fault.  I've included below an strace of this.  Any
advice, any tips, would be very welcome.

Other than this, the startup of arla on SMP seems at first glance much improved
over 0.9 - we had seen a variety of problems with arla on SMP (overall
stability, ability to change `sysname' soon after startup, a few other things),
but these seem to be better off with 0.12.  Thanks.  

Dave

9% strace cat /afs/rhic/phenix/software/t.t
execve("/bin/cat", ["cat", "/afs/rhic/phenix/software/t.t"], [/* 25 vars */]) =
0
brk(0)                                  = 0x804aebc
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=0, st_size=0, ...})   = 0
mmap(0, 21128, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4000b000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40011000
munmap(0x40011000, 4096)                = 0
mmap(0, 670580, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40011000
mprotect(0x400a2000, 76660, PROT_NONE)  = 0
mmap(0x400a2000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x90000)
= 0x400a2000
mmap(0x400a9000, 47988, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400a9000
close(3)                                = 0
personality(0 /* PER_??? */)            = 0
getpid()                                = 492
brk(0)                                  = 0x804aebc
brk(0x804aef4)                          = 0x804aef4
brk(0x804b000)                          = 0x804b000
fstat(1, {st_mode=0, st_size=0, ...})   = 0
open("/afs/rhic/phenix/software/t.t", O_RDONLY) = 3
fstat(3, {st_mode=0, st_size=0, ...})   = 0
brk(0x804d000)                          = 0x804d000
read(3, "This is a test!\n\n", 4096)    = 17
write(1, "This is a test!\n\n", 17This is a test!

)     = 17
read(3, "", 4096)                       = 0
close(3 <unfinished ...>
+++ killed by SIGSEGV +++

-- 
David Morrison  Brookhaven National Laboratory  phone: 516-344-5840
                Physics Department, Bldg 510 C    fax: 516-344-3253
		          Upton, NY 11973-5000  email: dave at bnl.gov





More information about the Arla-drinkers mailing list