Coda File System

Assertion failure in RVM lib

From: Simon Wilkinson <sxw_at_dcs.ed.ac.uk>
Date: Wed, 9 Jun 1999 17:49:55 +0100 (BST)
In the middle of some fairly heavy Coda activity I got an assertion failure
from venus. I'm running this on a 2.0.35 kernel Linux box (so it could be
my fault ... :-).

Anyway, in the hope that this is of some use to someone -

/usr/coda/etc/console says

RVMLIB_ASSERT: error in rvmlib_malloc

Assertion failed: 0, file "/usr/src/redhat/BUILD/coda-5.2.3/coda-src/util/rvmlib.c", line 217
Sleeping forever.  You may use gdb to attach to process 33.

And gdb says

(gdb) where
#0  0x400cc581 in __libc_nanosleep ()
#1  0x400cc4fa in sleep (seconds=1) at ../sysdeps/unix/sysv/linux/sleep.c:30
#2  0x81665ef in coda_assert (pred=0x8188fe1 "0", 
    file=0x8188f5c "/usr/src/redhat/BUILD/coda-5.2.3/coda-src/util/rvmlib.c", 
    line=217) at /usr/src/redhat/BUILD/coda-5.2.3/lib-src/base/coda_assert.c:46
#3  0x80f4d53 in rvmlib_malloc (size=16384, 
    file=0x818f24b "/usr/src/redhat/BUILD/coda-5.2.3/coda-src/dir/dirbody.c", 
    line=255) at /usr/src/redhat/BUILD/coda-5.2.3/coda-src/util/rvmlib.c:217
#4  0x811b372 in dir_Extend (olddir=0x2107198c, in_rvm=1)
    at /usr/src/redhat/BUILD/coda-5.2.3/coda-src/dir/dirbody.c:255
#5  0x811b16f in dir_AddPage (dh=0x2116ecd4)
    at /usr/src/redhat/BUILD/coda-5.2.3/coda-src/dir/dirbody.c:199
#6  0x811af32 in dir_FindBlobs (dh=0x2116ecd4, nblobs=2)
    at /usr/src/redhat/BUILD/coda-5.2.3/coda-src/dir/dirbody.c:150
#7  0x811baba in DIR_Create (dh=0x2116ecd4, 
    entry=0x82d36c4 "nsICertPrincipal.h", fid=0x151c2c9c)
    at /usr/src/redhat/BUILD/coda-5.2.3/coda-src/dir/dirbody.c:512
#8  0x811a99c in DH_Create (dh=0x2116eccc, 
    entry=0x82d36c4 "nsICertPrincipal.h", vfid=0x211df3d0)
    at /usr/src/redhat/BUILD/coda-5.2.3/coda-src/dir/codadir.c:119
#9  0x808cc79 in fsobj::dir_Create (this=0x211c9b0c, 
    Name=0x82d36c4 "nsICertPrincipal.h", Fid=0x211df3d0)
    at /usr/src/redhat/BUILD/coda-5.2.3/coda-src/venus/fso_dir.cc:89
#10 0x8086233 in fsobj::LocalSymlink (this=0x211c9b0c, Mtime=928944946, 
    target_fso=0x211df3cc, name=0x82d36c4 "nsICertPrincipal.h", 
    contents=0x82d369c "../../caps/public/nsICertPrincipal.h", Owner=22182, 
    Mode=493)
    at /usr/src/redhat/BUILD/coda-5.2.3/coda-src/venus/fso_cfscalls1.cc:1485
#11 0x8087d31 in fsobj::ConnectedSymlink (this=0x211c9b0c, Mtime=928944946, 
    vuid=22182, t_fso_addr=0x151c3dc8, name=0x82d36c4 "nsICertPrincipal.h", 
    contents=0x82d369c "../../caps/public/nsICertPrincipal.h", Mode=493, 
    target_pri=62500)
    at /usr/src/redhat/BUILD/coda-5.2.3/coda-src/venus/fso_cfscalls1.cc:1636
#12 0x8089223 in fsobj::Symlink (this=0x211c9b0c, 
    s_name=0x82d369c "../../caps/public/nsICertPrincipal.h", 
    t_name=0x82d36c4 "nsICertPrincipal.h", vuid=22182, Mode=493, 
    target_pri=62500)
    at /usr/src/redhat/BUILD/coda-5.2.3/coda-src/venus/fso_cfscalls1.cc:1821
#13 0x80ef5c6 in vproc::symlink (this=0x82687b8, dcp=0x151c5e74, 
    contents=0x82d369c "../../caps/public/nsICertPrincipal.h", vap=0x82d3640, 
    name=0x82d36c4 "nsICertPrincipal.h")
    at /usr/src/redhat/BUILD/coda-5.2.3/coda-src/venus/vproc_vfscalls.cc:1278
#14 0x80f2191 in worker::main (this=0x82687b8, parm=0x80e47f8)
    at /usr/src/redhat/BUILD/coda-5.2.3/coda-src/venus/worker.cc:1242
#15 0x80e4920 in VprocPreamble (init_lock=0x82687f8)
    at /usr/src/redhat/BUILD/coda-5.2.3/coda-src/venus/vproc.cc:153
#16 0x81149f1 in Create_Process_Part2 ()
    at /usr/src/redhat/BUILD/coda-5.2.3/lib-src/mlwp/lwp.c:783
Received on 1999-06-09 12:50:44