[1067] in arla-drinkers

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

RE: Assertions in arlad-0.26

daemon@ATHENA.MIT.EDU (mike@avanticorp.com)
Mon Aug 9 11:47:09 1999

From owner-arla-drinkers@stacken.kth.se Mon Aug 09 15:47:08 1999
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 13806 invoked from network); 9 Aug 1999 15:47:07 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
  by bloom-picayune.mit.edu with SMTP; 9 Aug 1999 15:47:07 -0000
Received: (from majordom@localhost)
	by sundance.stacken.kth.se (8.8.8/8.8.8) id RAA08285
	for arla-drinkers-list; Mon, 9 Aug 1999 17:39:42 +0200 (MET DST)
Received: from mailhost.avanticorp.com (uucp@mailhost.avanticorp.com [207.220.204.13])
	by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id RAA08281;
	Mon, 9 Aug 1999 17:39:37 +0200 (MET DST)
From: mike@avanticorp.com
Received: (from uucp@localhost)
	by mailhost.avanticorp.com (8.9.3/8.9.3) id IAA17170;
	Mon, 9 Aug 1999 08:39:31 -0700 (PDT)
Received: from pop.rtp.avanticorp.com(192.160.17.219)
 via SMTP by shamu.avanticorp.com, id smtpdAAA0TIPxR; Mon Aug  9 08:39:23 1999
Received: from qa1.rtp.avanticorp.com (qa1.rtp.avanticorp.com [192.160.17.112])
	by pop.rtp.avanticorp.com (8.9.1/8.9.1) with ESMTP id LAA25041;
	Mon, 9 Aug 1999 11:38:51 -0400 (EDT)
Received: (from mike@localhost) by qa1.rtp.avanticorp.com (8.7.2/8.7.2) id LAA19042; Mon, 9 Aug 1999 11:38:47 -0400 (EDT)
Date: Mon, 9 Aug 1999 11:38:47 -0400 (EDT)
Message-Id: <199908091538.LAA19042@qa1.rtp.avanticorp.com>
To: assar@stacken.kth.se
Subject: RE: Assertions in arlad-0.26
Cc: Mike_Burgun@avanticorp.com, arla-drinkers@stacken.kth.se
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk

> From assar@sics.se Sat Aug  7 05:39 EDT 1999
> From: Assar Westerlund <assar@stacken.kth.se>
> 
> mike@avanticorp.com writes:
> > [root@penguin4 bin]# ./arlad -z -n
> > arlad: fdir.c:435: fdir_readdir: Assertion `entry->flag' failed.
> > Aborted (core dumped)
> > [root@penguin4 bin]# 
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > 
> > And an assert() failure occurred during our software compiles while removing
> > a file...
> > 
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > ...
> > gcc -g -DUNIX -DLOBYT_HIBYT -pipe -DI386 -o ../../arch/i386-intel-linux2.0g6/DBX/obj/vcp/a.out <<<...>>>
> > rm -f ../../arch/i386-intel-linux2.0g6/DBX/bin/vcp
> > ..: Operation not supported by device.
> > tail: Logs/I386_G6.Fri.penguin4: Operation not supported by device
> > [1]  + Exit 1                        ./SystemMake.csh
> > [77]mike@penguin4:/afs/rtp/product/code/1999.4/build/sys_makes> 
> > 
> > 
> > [root@penguin4 bin]# ./arlad -z -n
> > arlad: fcache.c:227: fcache_extra_file_name: Assertion `entry->flags.datap && entry->flags.extradirp && entry->status.FileType == 2' failed.
> > Aborted (core dumped)
> > [root@penguin4 bin]# 
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > 
> > What should I do next?
> 
> Could you run gdb on arlad and the core-files and do a `bt'?  Thanks.
> 
> /assar
> 

Hi Assar,

Although the shell indicated core files were produced, no core file(s)
exist.  So, I just re-ran the tests running arlad in gdb...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[92]mike@penguin4:/usr/src/arla-0.26/tests> env WORKDIR=/afs/rtp/tmp/mike/arla-test ./run-tests -arla -fast discon-mkdir2
-------------------------------------------------
arla-0.26
hosttype i686-pc-linux-gnu
/bin/sh,,,,yes
testmode arla
/usr/src/arla-0.26/tests
/usr/src/arla-0.26/tests
/afs/rtp/tmp/mike/arla-test
Mon Aug  9 10:49:54 EDT 1999
-------------------------------------------------
Running discon-mkdir2

[93]mike@penguin4:/usr/src/arla-0.26/tests> 


(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/afsws/bin/arlad -z -n
arlad: fdir.c:435: fdir_readdir: Assertion `entry->flag' failed.

Program received signal SIGABRT, Aborted.
0x40063811 in __kill ()
(gdb) where
#0  0x40063811 in __kill ()
#1  0x4006363f in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x4006484f in abort () at ../sysdeps/generic/abort.c:83
#3  0x4005e416 in __assert_fail (assertion=0x80979fc "entry->flag", 
    file=0x8097997 "fdir.c", line=435, function=0x80979ef "fdir_readdir")
    at assert.c:54
#4  0x80657b1 in fdir_readdir (the_fbuf=0x81d8f68, 
    func=0x8064340 <write_dirent>, arg=0x81d8fb4, dir=0x81d8f80) at fdir.c:435
#5  0x804a4dd in adir_readdir (dir={Cell = 0, fid = {Volume = 536872428, 
        Vnode = 3809, Unique = 18628636}}, func=0x8064340 <write_dirent>, 
    arg=0x81d8fb4, ce=0x8121fe4) at adir.c:235
#6  0x806472d in conv_dir (e=0x400f8dec, ce=0x8121fe4, tokens=64, 
    cache_handle=0x81d91f0, cache_name=0x81d90f0 "@0022", cache_name_sz=256)
    at bsd-subr.c:180
#7  0x805b331 in xfs_message_getdata (fd=10, h=0x40252008, size=40)
    at messages.c:1690
#8  0x8058319 in xfs_message_receive (fd=10, h=0x40252008, size=40)
    at messages.c:355
#9  0x8057693 in process_message (msg_length=40, msg=0x40252008 "(")
    at kernel.c:91
#10 0x8057746 in sub_thread (v_myself=0x40252008) at kernel.c:125
#11 0x8081d4d in Create_Process_Part2 () at lwp.c:629
#12 0xfffefdfc in ?? ()
#13 0x81a6e1c in ?? ()
#14 0x56570cec in ?? ()
(gdb) 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

during our software build sequence...

...
gcc -DUNIX -DLOBYT_HIBYT -DRELEASE -pipe -DI386 -c vp_scan.c -o ../../arch/i386-intel-linux2.0g6/OPT/obj/libvp.a/vp_scan.xyzzy.o
rm -f ../../arch/i386-intel-linux2.0g6/OPT/obj/libvp.a/VPvp_scan.o
mv ../../arch/i386-intel-linux2.0g6/OPT/obj/libvp.a/vp_scan.xyzzy.o ../../arch/i386-intel-linux2.0g6/OPT/obj/libvp.a/VPvp_scan.o
rm -f ../../arch/i386-intel-linux2.0g6/OPT/lib/libvp.a


(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/afsws/bin/arlad -z -n
arlad: fcache.c:227: fcache_extra_file_name: Assertion `entry->flags.datap && entry->flags.extradirp && entry->status.FileType == 2' failed.

Program received signal SIGABRT, Aborted.
0x40063811 in __kill ()
(gdb) where
#0  0x40063811 in __kill ()
#1  0x4006363f in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x4006484f in abort () at ../sysdeps/generic/abort.c:83
#3  0x4005e416 in __assert_fail (
    assertion=0x8094c9d "entry->flags.datap && entry->flags.extradirp && entry->status.FileType == 2", file=0x8094c94 "fcache.c", line=227, 
    function=0x8094c7d "fcache_extra_file_name") at assert.c:54
#4  0x804eb39 in fcache_extra_file_name (entry=0x4017ca1c, s=0x81d90d8 "\004", 
    len=256) at fcache.c:225
#5  0x80647ef in dir_remove_name (e=0x4017ca1c, filename=0x40252024 "libvp.a", 
    cache_handle=0x81d91d8, cache_name=0x81d90d8 "\004", cache_name_sz=256)
    at bsd-subr.c:210
#6  0x805a827 in xfs_message_remove (fd=7, h=0x40252008, size=292)
    at messages.c:1363
#7  0x8058319 in xfs_message_receive (fd=7, h=0x40252008, size=292)
    at messages.c:355
#8  0x8057693 in process_message (msg_length=292, msg=0x40252008 "$\001")
    at kernel.c:91
#9  0x8057746 in sub_thread (v_myself=0x40252008) at kernel.c:125
#10 0x8081d4d in Create_Process_Part2 () at lwp.c:629
#11 0xfffefdfc in ?? ()
#12 0x81a6e1c in ?? ()
#13 0x56570cec in ?? ()
(gdb) 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Regards,
Mike Burgun

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