On Sun, Oct 23, 2005 at 05:22:52PM +0200, alberto wrote:
> Hi list,
> 
> I'm currently experimenting with vhashify but I'm getting
> segmentation fault whenever I run vserver <name> hashify or
> /usr/lib/util-vserver/vhasify.
> 
> I'm running debian sarge on amd64 (though I can reproduce the problem 
> on another machine running on i386). Custom built debian package for  
> util-vserver-0.30.208-fix2 with beecrypt2 enabled (based on sarge's   
> package, could make public if someone interested, newbiely built,     
> though...) and vanilla 2.6.13.4 kernel patched with                   
> patch-2.6.13.3-vs2.1.0-rc4.diff.
> 
> testme.sh gives no errors, everything else seems running fine. The
> filesystem (if matters) is xfs. Tried both with SHA-1 and MD5 hashing
> methods.
> 
> These are various outputs:
> 
> # vserver webber hashify
> Segmentation fault
> 
> # touch exclude (blank excludelist)
> 
> # /usr/lib/util-vserver/vhashify  --manually -nv --destination 
> /etc/vservers/.defaults/apps/vunify/hash/ /vservers/webber/lib/ exclude
> Initializing exclude-list for /vservers/webber/lib/
> Starting to traverse directories...
> unifying   '/iptables/libip6t_esp.so'
> Segmentation fault
> 
> # strace /usr/lib/util-vserver/vhashify  --manually -nv --destination 
> /etc/vservers/.defaults/apps/vunify/hash/ /vservers/webber/lib/ exclude
> 
> ...
> ... (ommitted for brevity)
> ...
> 
> lstat("iptables", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> open(".", O_RDONLY)                     = 5
> chdir("iptables")                       = 0
> stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> open(".", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 6
> fstat(6, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> fcntl(6, F_SETFD, FD_CLOEXEC)           = 0
> getdents64(6, /* 102 entries */, 4096)  = 4064
> lstat("libip6t_esp.so", {st_mode=S_IFREG|0644, st_size=3860, ...}) = 0
> vserver(0x26010001, 0, 0x7fffffc6c6a0, 0x7fffffc6c88a, 0x7fffffc6c8b0) = 0
> open("libip6t_esp.so", O_RDONLY|O_NONBLOCK|O_NOCTTY|O_NOFOLLOW) = 7
> fstat(7, {st_mode=S_IFREG|0644, st_size=3860, ...}) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> mmap(NULL, 3860, PROT_READ, MAP_SHARED, 7, 0) = 0x2aaaaaac0000
> madvise(0x2aaaaaac0000, 3860, MADV_SEQUENTIAL) = 0
> munmap(0x2aaaaaac0000, 3860)            = 0
> close(7)                                = 0
> lstat("/etc/vservers/.defaults/apps/vunify/hash/0/04/00/0000000000005080500000000000-00000000",
>  
> 0x7fffffc6c8b0) = -1 ENOENT (No such file or directory)
> write(1, "unifying   \'", 12unifying   ')           = 12
> write(1, "/iptables/libip6t_esp.so", 24/iptables/libip6t_esp.so) = 24
> write(1, "\'", 1')                       = 1
> write(1, "\n", 1
> )                       = 1
> lstat("libipt_ecn.so", {st_mode=S_IFREG|0644, st_size=3756, ...}) = 0
> vserver(0x26010001, 0, 0x7fffffc6c6a0, 0x7fffffc6c88a, 0x7fffffc6c8b0) = 0
> open("libipt_ecn.so", O_RDONLY|O_NONBLOCK|O_NOCTTY|O_NOFOLLOW) = 7
> fstat(7, {st_mode=S_IFREG|0644, st_size=3756, ...}) = 0
> rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
> mmap(NULL, 3756, PROT_READ, MAP_SHARED, 7, 0) = 0x2aaaaaac0000
> madvise(0x2aaaaaac0000, 3756, MADV_SEQUENTIAL) = 0
> munmap(0x2aaaaaac0000, 3756)            = 0
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
> 
> Could give more outputs to/and help track down this bug(?).

yep, please provide the following:

 - output of vserver-info - SYSINFO
 - output of testme.sh -L
 
> Thanks very much for such great project, running flawlesly for couple
> of months :)

you're welcome! glad to hear!

best,
Herbert

> Alberto
> _______________________________________________
> Vserver mailing list
> [email protected]
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to