[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-cpio] Re: Bug#564259: cpio: Cpio core dumps
From: |
Clint Adams |
Subject: |
[Bug-cpio] Re: Bug#564259: cpio: Cpio core dumps |
Date: |
Sun, 10 Jan 2010 19:52:52 +0000 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Sun, Jan 10, 2010 at 05:57:50PM +0000, Nigel Horne wrote:
> #0 memcpy () at ../sysdeps/x86_64/memcpy.S:209
> 209 ../sysdeps/x86_64/memcpy.S: No such file or directory.
> in ../sysdeps/x86_64/memcpy.S
> (gdb) bt full
> #0 memcpy () at ../sysdeps/x86_64/memcpy.S:209
> No locals.
> #1 0x000000000040ba7d in disk_buffered_write (in_buf=0x18daf92 "",
> out_des=4,
> num_bytes=450090) at ../../src/util.c:283
> bytes_left = 321066
> space_left = 512
> #2 0x000000000040c354 in copy_files_disk_to_disk (in_des=3, out_des=4,
> num_bytes=450090,
> filename=0x18bb450 "mnt/gateway/home/njh/Mail/Sent Items")
> at ../../src/util.c:562
> size = 450090
> k = 42949672960
> original_num_bytes = 450090
> rc = 32680
> #3 0x00000000004085e3 in process_copy_pass () at ../../src/copypass.c:185
> link_res = -1
> input_name = {ds_length = 128,
> ds_string = 0x18bb450 "mnt/gateway/home/njh/Mail/Sent Items"}
> output_name = {ds_length = 81,
> ds_string = 0x18bb4e0
> "media/1d901e30-6139-4105-8f2f-055dc758dd40/mnt/gateway/home/njh/Mail/Sent
> Items"}
> dirname_len = 42
> res = 0
> slash = 0x18bb450 "mnt/gateway/home/njh/Mail/Sent Items"
> in_file_stat = {st_dev = 18, st_ino = 1510308597, st_nlink = 1,
> st_mode = 33188, st_uid = 1000, st_gid = 1000, __pad0 = 0,
> st_rdev = 0, st_size = 450090, st_blksize = 8192, st_blocks =
> 896,
> st_atim = {tv_sec = 1259681719, tv_nsec = 0}, st_mtim = {
> tv_sec = 1263141397, tv_nsec = 0}, st_ctim = {tv_sec =
> 1263141397,
> tv_nsec = 0}, __unused = {0, 0, 0}}
> out_file_stat = {st_dev = 2054, st_ino = 2359305, st_nlink = 1,
> st_mode = 33152, st_uid = 0, st_gid = 0, __pad0 = 0, st_rdev =
> 0,
> st_size = 129024, st_blksize = 4096, st_blocks = 264, st_atim = {
> tv_sec = 1263146047, tv_nsec = 0}, st_mtim = {tv_sec =
> 1263146047,
> tv_nsec = 0}, st_ctim = {tv_sec = 1263146047, tv_nsec = 0},
> __unused = {0, 0, 0}}
> in_file_des = 3
> out_file_des = 4
> existing_dir = 0
> #4 0x000000000040a633 in main (argc=3, argv=0x7ffff48700f8)
> at ../../src/main.c:798
> No locals.
> Current language: auto
> The current source language is "auto; currently asm".
> (gdb) print out_buff
> $1 = 0x18bb240 ""
> (gdb) print output_size
> $2 = 0
Sergey, Nigel is having a problem with cpio -pdu over NFS. I cannot reproduce
it,
but it always manifests in a memcpy() segfault, sometimes a src/dest overlap in
a copy smaller than 512 bytes, sometimes not (as above).
Any idea what the culprit is?
- [Bug-cpio] Re: Bug#564259: cpio: Cpio core dumps,
Clint Adams <=