[295] in arla-drinkers

home help back first fref pref prev next nref lref last post

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

daemon@ATHENA.MIT.EDU (Dave Morrison)
Thu Oct 1 12:08:58 1998

From owner-arla-drinkers@stacken.kth.se Thu Oct 01 16:08:58 1998
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 16693 invoked from network); 1 Oct 1998 16:08:57 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
  by bloom-picayune.mit.edu with SMTP; 1 Oct 1998 16:08:57 -0000
Received: (from majordom@localhost)
	by sundance.stacken.kth.se (8.8.8/8.8.8) id SAA10586
	for arla-drinkers-list; Thu, 1 Oct 1998 18:03:45 +0200 (MET DST)
Received: from rcf.rhic.bnl.gov (rcf.rhic.bnl.gov [130.199.80.160])
	by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id SAA10582
	for <arla-drinkers@stacken.kth.se>; Thu, 1 Oct 1998 18:03:41 +0200 (MET DST)
Received: from bnl.gov (morrison.rhic.bnl.gov [130.199.80.17])
	by rcf.rhic.bnl.gov (8.8.8/8.8.8) with ESMTP id MAA21886;
	Thu, 1 Oct 1998 12:03:39 -0400 (EDT)
Message-ID: <3613A7B6.20132FCE@bnl.gov>
Date: Thu, 01 Oct 1998 12:03:02 -0400
From: Dave Morrison <dave@bnl.gov>
X-Mailer: Mozilla 4.5b2 [en] (X11; I; Linux 2.1.122 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: arla-drinkers@stacken.kth.se
Subject: seg fault on file close, arla-0.12 and linux 2.1.122
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk

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@bnl.gov

home help back first fref pref prev next nref lref last post