arlad on FreeBSD-CURRENT

Assar Westerlund assar at sics.se
Tue Nov 23 17:45:53 CET 1999


Kenneth Culver <culverk at culverk.student.umd.edu> writes:
> Alright that last patch fixed the compile, but now for some reason
> whenever I run arlad, it just core dumps. Any ideas?

Hm, I seem to get it to run with the appended simple patch on today's
current.  (But not having that should not make arlad crash.)

Can you run `gdb /usr/arla/bin/arlad /usr/arla/cache/arlad.core' and
then type `bt' in gdb?

/assar

Index: xfs_vnodeops-common.c
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/xfs/bsd/xfs_vnodeops-common.c,v
retrieving revision 1.42
diff -u -w -u -w -r1.42 xfs_vnodeops-common.c
--- xfs_vnodeops-common.c	1999/11/22 02:18:55	1.42
+++ xfs_vnodeops-common.c	1999/11/23 12:54:35
@@ -791,8 +791,10 @@
 
     if (error == 0) {
 	error = xfs_lookup_common(dvp, cnp, vpp);
+#if !defined(__FreeBSD__) || __FreeBSD_version < 400012
 	if (error == 0)
 	    vput (*vpp);
+#endif
     }
 
 #if !defined(__FreeBSD__)





More information about the Arla-drinkers mailing list