On Sat, Jan 09, 2010 at 03:04:03PM +0000, Nigel Horne wrote:
> Thanks.  Here is the stack trace.
>
> Program terminated with signal 11, Segmentation fault.
> #0  memcpy () at ../sysdeps/x86_64/memcpy.S:208
> 208    ../sysdeps/x86_64/memcpy.S: No such file or directory.
>     in ../sysdeps/x86_64/memcpy.S
> (gdb) bt
> #0  memcpy () at ../sysdeps/x86_64/memcpy.S:208
> #1  0x000000000040b54e in disk_buffered_write (
>     in_buf=0x13ad05b <Address 0x13ad05b out of bounds>, out_des=4,
>     num_bytes=<value optimized out>) at ../../src/util.c:283
> #2  0x000000000040b61a in copy_files_disk_to_disk (in_des=3, out_des=4,
>     num_bytes=0, filename=0x138d450 "mnt/gateway/home/njh/bin/cvacant")
>     at ../../src/util.c:562
> #3  0x000000000040731c in process_copy_pass () at ../../src/copypass.c:185
> #4  0x0000000000408b34 in main (argc=3, argv=0x7fff8a39fc58)
>     at ../../src/main.c:798
> Current language:  auto
> The current source language is "auto; currently asm".
> (gdb)


is mnt/gateway/home/njh/bin/cvacant actually 0 bytes?
disk_buffered_write() shouldn't even be called at all in that case.

> I already have libc6-dbg installed:

You need to do this in gdb before running the program:
set env LD_LIBRARY_PATH /usr/lib/debug



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to