FYI, when a diff is "large-ish" (~4k lines will do
it), v1.10.7 'cvs diff' coredumps (cvs itself
apparently, not rcs or diff). This is with RH 6.2
downloaded in CD form with apparently no source
(/boot/vmlinuz-2.2.14-5.0).

I tried cvs 1.9 (compiled by me) and plain diff -
both work ok.

Bill Ross

------------------------------------------------
% cvs diff cmdproc.pc
Index: cmdproc.pc
Segmentation fault (core dumped)
%  gdb `which cvs` core
GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...(no debugging symbols found)...
Core was generated by `cvs diff cmdproc.pc'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.1...done.
Reading symbols from /usr/kerberos/lib/libgssapi_krb5.so.2...done.
Reading symbols from /usr/kerberos/lib/libkrb5.so.2...done.
Reading symbols from /usr/kerberos/lib/libk5crypto.so.2...done.
Reading symbols from /usr/kerberos/lib/libcom_err.so.3...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
#0  chunk_free (ar_ptr=0x401cad60, p=0x80d6510) at malloc.c:3049
3049    malloc.c: No such file or directory.(gdb) where
#0  chunk_free (ar_ptr=0x401cad60, p=0x80d6510) at malloc.c:3049
#1  0x40135fba in __libc_free (mem=0x80d6518) at malloc.c:3023
#2  0x807ced2 in strcpy () at ../sysdeps/generic/strcpy.c:30
#3  0x805b5bd in strcpy () at ../sysdeps/generic/strcpy.c:30
#4  0x807e784 in strcpy () at ../sysdeps/generic/strcpy.c:30
#5  0x806122a in strcpy () at ../sysdeps/generic/strcpy.c:30
#6  0x807e55e in strcpy () at ../sysdeps/generic/strcpy.c:30
#7  0x807f03a in strcpy () at ../sysdeps/generic/strcpy.c:30
#8  0x806122a in strcpy () at ../sysdeps/generic/strcpy.c:30
#9  0x807e11c in strcpy () at ../sysdeps/generic/strcpy.c:30
#10 0x805af99 in strcpy () at ../sysdeps/generic/strcpy.c:30
#11 0x806c9db in strcpy () at ../sysdeps/generic/strcpy.c:30
#12 0x400f49cb in __libc_start_main (main=0x806bee0 <strcpy+136076>, argc=3,
    argv=0xbffffcb4, init=0x804a134, fini=0x80ab0ac <fstat+88>,
    rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffffcac)
    at ../sysdeps/generic/libc-start.c:92
(gdb)
------------------------------------------------

Reply via email to