Assertions in arlad-0.26

mike@avanticorp.com mike at avanticorp.com
Mon Aug 9 17:39:42 CEST 1999


> From assar at sics.se Sat Aug  7 05:39 EDT 1999
> From: Assar Westerlund <assar at stacken.kth.se>
> 
> mike at avanticorp.com writes:
> > [root at penguin4 bin]# ./arlad -z -n
> > arlad: fdir.c:435: fdir_readdir: Assertion `entry->flag' failed.
> > Aborted (core dumped)
> > [root at 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 at penguin4:/afs/rtp/product/code/1999.4/build/sys_makes> 
> > 
> > 
> > [root at 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 at 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 at 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 at 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





More information about the Arla-drinkers mailing list