Menu

#33 Seg fault when running racl or acl commands

open
nobody
None
5
2008-01-17
2008-01-17
Anonymous
No

When i run the command cvs -d /cvs/project1/ racl -l and point it to no directory or file i get a segmentation fault. the strace output is below.

---begin strace---
access("/cvs/project1/CVSROOT", R_OK|X_OK) = 0
open("/cvs/project1/CVSROOT/config", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=4082, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f77000
read(3, "# Set `SystemAuth\' to `no\' if ps"..., 4096) = 4082
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb7f77000, 4096) = 0
open("/cvs/project1/CVSROOT/aclconfig", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=1565, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f77000
read(3, "# CVS Access Control Extension c"..., 4096) = 1565
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb7f77000, 4096) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

---end strace---

When i run the command cvs -d /cvs/project1/ racl -l src and i then either point it to a directory or file it does not result in a segmentation fault. It ends withh good output like below.

d src | HEAD | | defaults ALL:

There has got to be a reason why were are getting a segmentation fault when we leave off the file or folder at the end of the command. Is the error logging not built out to handle this?

thoughts??

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.