packard:/# LD_LIBRARY_PATH=/usr/lib/debug gdb /bin/cpio core
GNU gdb (GDB) 7.0-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /bin/cpio...done.
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/libc.so.6...Reading symbols from
/usr/lib/debug/lib/libc-2.10.2.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from
/usr/lib/debug/lib/ld-2.10.2.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Core was generated by `cpio -pvdu
media/1d901e30-6139-4105-8f2f-055dc758dd40'.
Program terminated with signal 11, Segmentation fault.
#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
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org