xfs
[Top] [All Lists]

Re: Core dump during test 58

To: Andrew Klaassen <ak@xxxxxxx>
Subject: Re: Core dump during test 58
From: Steve Lord <lord@xxxxxxx>
Date: Tue, 26 Jun 2001 15:11:28 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: Message from Andrew Klaassen <ak@dkp.com> of "Tue, 26 Jun 2001 15:45:41 EDT." <20010626154541.G16841@key.dkp.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
Do you have the very latest acl packages installed, and have you
rebuilt the tests with them? There was an interface change in user
space which may have bitten you.

Test 58 works for me:

[root@lord xfstests]# ./check 058
make: Nothing to be done for `default'.
058 0s ...
Passed all 1 tests
[root@lord xfstests]# rpm -qa | grep acl
acl-devel-1.0.7-0
acl-1.0.7-0
[root@lord xfstests]# 


> This struck me as a little odd - a core dump during one of the
> checks (058, to be specific):
> 
> 145,243c145
> < 25: <tag:0,id:-1,perm:0>
> < Get 26th entry on filled ACL
> < acl_get_entry -> 0
> < Get 27th entry on filled ACL
> < acl_get_entry -> 0
> < dump empty ACL
> < Get 1st entry on filled ACL
> < acl_get_entry -> 0
> < Get 2th entry on filled ACL
> < acl_get_entry -> 0
> < fill an ACL with known bogus values
> < Get 1st entry on filled ACL
> < acl_get_entry -> 1
> < 1: <tag:0,id:1,perm:2>
> < Get 2th entry on filled ACL
> < acl_get_entry -> 1
> < 2: <tag:1,id:2,perm:3>
> < Get 3th entry on filled ACL
> < acl_get_entry -> 1
> < 3: <tag:2,id:3,perm:4>
> < Get 4th entry on filled ACL
> < acl_get_entry -> 1
> 
> ...<snip>...
> 
> < 23: <tag:22,id:23,perm:24>
> < Get 24th entry on filled ACL
> < acl_get_entry -> 1
> < 24: <tag:23,id:24,perm:25>
> < Get 25th entry on filled ACL
> < acl_get_entry -> 1
> < 25: <tag:24,id:25,perm:26>
> < Get 26th entry on filled ACL
> < acl_get_entry -> 0
> < Get 27th entry on filled ACL
> < acl_get_entry -> 0
> < *** test out ACL to text for empty ACL***
> < acl_to_text(empty_acl,NULL) -> ""
> < acl_to_text(empty_acl,NULL) -> "", len = 0
> < acl_to_text(NULL,NULL) -> "NULL"
> < *** test out acl_get_qualifier ***
> < uid = 1
> < uid = 1
> < uidp is NULL: Invalid argument
> < uidp is NULL: Invalid argument
> ---
> > 25: <./058: line 56: 29522 Segmentation fault      (core dumped) src/acl_te
> st
> 
> This is with 2.4.5-0.2.9_SGI_XFS_20010613.
> 
> Andrew Klaassen



<Prev in Thread] Current Thread [Next in Thread>