assertion failed with 0.29 on linux
Simon Josefsson
jas at pdc.kth.se
Mon Dec 13 07:40:33 CET 1999
Hi,
I noticed similar problems with 0.28, but with 0.29 they became easier
to spot. It's quite reproducable.
After running the following commands I get the assertion failure and
backtrace below.
TIA
bash$ mkdir bug
bash$ cd bug
bash$ tar xfz /afs/stacken.kth.se/ftp/pub/arla/arla-0.0.tar.gz
bash$ mv arla-0.0/* .
bash$ ls -la
ls: .indent.pro: No such file or directory
ls: .cvsignore: No such file or directory
total 28
drwxr-xr-x 2 jas usr 2048 Dec 13 07:31 .
drwxr-xr-x 57 jas usr 26624 Dec 13 07:30 ..
bash$ fs flushvolume .
bash$ # if I run 'ls' here everything is fine
bash$ rmdir arla-0.0
Starting program: /usr/arla/bin/arlad -z -n
arlad: ../../../../arla-0.29/arlad/fcache.c:2955: fcache_release: Assertion `((&e->lock)->excl_locked? (int) -1 : (int) (&e->lock)->readers_reading) == -1' failed.
Program received signal SIGABRT, Aborted.
0x4006e4e1 in __kill () from /lib/libc.so.6
(gdb) bt
#0 0x4006e4e1 in __kill () from /lib/libc.so.6
#1 0x4006e156 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2 0x4006f868 in abort () at ../sysdeps/generic/abort.c:88
#3 0x400683ce in __assert_fail (
assertion=0x809ba40 "((&e->lock)->excl_locked? (int) -1 : (int) (&e->lock)->readers_reading) == -1",
file=0x809b7c0 "../../../../arla-0.29/arlad/fcache.c", line=2955,
function=0x809c37a "fcache_release") at assert.c:59
#4 0x80555bb in fcache_release (e=0x81f012c)
at ../../../../arla-0.29/arlad/fcache.c:2955
#5 0x805c762 in xfs_message_rmdir (fd=7, h=0x4029c008, size=296)
at ../../../../arla-0.29/arlad/messages.c:1379
#6 0x8066d1b in xfs_message_receive (fd=7, h=0x4029c008, size=296)
at ../../../../arla-0.29/arlad/xfs.c:324
#7 0x805918b in process_message (msg_length=296, msg=0x4029c008 "(\001")
at ../../../../arla-0.29/arlad/kernel.c:91
#8 0x805924a in sub_thread (v_myself=0x4029c008)
at ../../../../arla-0.29/arlad/kernel.c:125
#9 0x8086bdc in Create_Process_Part2 () at ../../../../arla-0.29/lwp/lwp.c:629
#10 0xfffefdfc in ?? ()
#11 0x0 in ?? ()
More information about the Arla-drinkers
mailing list