[Pvfs2-users] Re: seqfault on "cp" when using pvfs2's kernel module

Murali Vilayannur vilayann at mcs.anl.gov
Thu Jun 8 15:09:15 EDT 2006


Matt,
Turns out that the cp segmentation fault is also related to the coreutils
brain-damage on Mandriva..
It is fixed if you do a cp --attributes=- /mnt/pvfs2/A /mnt/pvfs2/B
Strace log shows what happens when you do a cp from pvfs2 to pvfs2...
gdb'ing cp could pin point why it crashes.. In any case, this is
definitely not a pvfs2 bug (more of a coreutils bug/misfeature?)
Hope everything works out ok for you henceforth..Thanks again for giving
me access to the machines! It was a real help pinpointing the problems.
Thanks,
Murali

llistxattr("/mnt/pvfs2/ab", (nil), 0)   = 512
llistxattr("/mnt/pvfs2/ab", 0x7fffffb2bc20, 512) = 57
lgetxattr("/mnt/pvfs2/ab", "system.pvfs2.metafile_dist", 0x0, 0) = 56
lgetxattr("/mnt/pvfs2/ab", "system.pvfs2.metafile_dist",
"\x0d\x00\x00\x00simple_stripe\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x004\xac\x87D\x00\x00\x00\x00\x1c\x1b\x0e\x004\xac\x87D\x15\xac\x87D\x00\x00\x00",
56) = 56
lsetxattr("/mnt/pvfs2/Ab1", "system.pvfs2.metafile_dist",
"\x0d\x00\x00\x00simple_stripe\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x004\xac\x87D\x00\x00\x00\x00\x1c\x1b\x0e\x004\xac\x87D\x15\xac\x87D\x00\x00\x00",
56, 0) = -1 EINVAL (Invalid argument)
open("/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++




More information about the Pvfs2-users mailing list