[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cvs admin -u bug
From: |
Marc Prewitt |
Subject: |
cvs admin -u bug |
Date: |
Tue, 18 Feb 2003 15:54:01 -0500 (EST) |
>Submitter-Id: net
>Originator: Marc Prewitt
>Organization:
Wall Street Source
>Confidential: no
>Synopsis: core dump on 'cvs admin -u foo' on a file which isn't in the
>repository
>Severity: non-critical
>Priority: low
>Category: cvs
>Class: support
>Release: 1.11.5
>Environment:
System: SunOS bohemia 5.8 Generic_108528-18 sun4u sparc SUNW,Sun-Blade-1000
Architecture: sun4
>Description:
When running 'cvs admin -u' on a file which doesn't exist in the repository
generates a core dump. Also, a lock file is left in the repository. Here's a
trace of the core dump:
Core was generated by `/usr/local/bin/cvs admin -u module_500.pm.tmp'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libxnet.so.1...done.
Loaded symbols for /usr/lib/libxnet.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
#0 admin_fileproc (callerdat=0xffbefa58, finfo=0xffbef820) at admin.c:571
571 if (rcs->flags & PARTIAL)
(gdb) bt
#0 admin_fileproc (callerdat=0xffbefa58, finfo=0xffbef820) at admin.c:571
#1 0x00050940 in do_file_proc (p=0xb40f8, closure=0xffbef818) at recurse.c:832
#2 0x00031c48 in walklist (list=0xb40f8, proc=0x5087c <do_file_proc>,
closure=0xffbef818)
at hash.c:370
#3 0x00050528 in do_recursion (frame=0xffbef998) at recurse.c:736
#4 0x00051134 in unroll_files_proc (p=0xb4080, closure=0xffbef998) at
recurse.c:1209
#5 0x00031c48 in walklist (list=0x0, proc=0x51040 <unroll_files_proc>,
closure=0xffbef998)
at hash.c:370
#6 0x0004fed8 in start_recursion (fileproc=0xb3ed8, filesdoneproc=0,
direntproc=0xb1fc0,
dirleaveproc=0, callerdat=0xb2000, argc=1, argv=0xb3ec8, local=0, which=1,
aflag=0,
locktype=0, update_preload=0x0, dosrcs=1) at recurse.c:347
#7 0x00019580 in admin (argc=1, argv=0xffbefb88) at admin.c:520
#8 0x0003e648 in main (argc=3, argv=0xffbefb80) at main.c:991
(gdb)
>How-To-Repeat:
$ touch foon
$ cvs admin -u foon
>Fix:
- cvs admin -u bug,
Marc Prewitt <=