bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"cvs commit" abends


From: Richard Philley
Subject: "cvs commit" abends
Date: Fri, 25 Oct 2002 17:17:13 -0500

Hello:

I believe I've hit a bug in CVS 1.11.2
I am running on Solaris 2.6, 7 & 8, CVS compiled with gcc-3.0.1
The repository is accessed via the local method on an NFS mount.

*** cvs abends & leaves locks in the repository ***

------------------------------------------------------------

Here is a process that should duplicate the problem:

user@host:/workdir: setenv CVSROOT /cvs_repos
user@host:/workdir: setenv CVSEDITOR vi
user@host:/workdir: cvs edit subdir1/file1
user@host:/workdir: <make changes to subdir1/file1>
user@host:/workdir: cvs edit subdir2/file2
user@host:/workdir: <make changes to subdir2/file2>
user@host:/workdir: cvs commit
cvs commit: Examining .
cvs commit: Examining subdir1
cvs commit: Examining subdir2
<The vi editor comes up & you type in you commit message for subdir1; then
        write & quit with ':wq' >
/cvs_repos/proj/base/subdir1/file1,v  <--  file1
new revision: 1.3; previous revision: 1.2
done
<The vi editor comes up for subdir2; you want the previous message; just quit
        with ':q' >
Log message unchanged or not specified
a)bort, c)ontinue, e)dit, !)reuse this message unchanged for remaining dirs
Action: (continue) !
No message to verify
Checking in subdir2/file2;
/cvs_repos/proj/base/subdir2/file2,v  <--  file2
new revision: 1.3; previous revision: 1.2
done
Segmentation Fault
user@host:/workdir:


------------------------------------------------------------

gdb backtrace @ failure:

#0  0xff2b3344 in strlen () from /usr/lib/libc.so.1
#1  0xff303098 in _doprnt () from /usr/lib/libc.so.1
#2  0xff304b40 in fprintf () from /usr/lib/libc.so.1
#3  0x3d6fc in logfile_write (
    repository=0xb5370 "/cvs_repos/proj/base/subdir2",
    filter=0xb9550 "(/cvs_scripts/sun5/log.pl %{sVv} -f /cvs_repos/commitlog
-m user)",
    message=0x0, logfp=0x0, changes=0xb6190) at logmsg.c:933
#4  0x420e8 in Parse_Info (infofile=0x8c3f0 "loginfo", 
    repository=0xb5370 "/cvs_repos/proj/base/subdir2", 
    callproc=0x3d264 <update_logfile_proc>, all=1) at parseinfo.c:173
#5  0x2747c in commit_filesdoneproc (callerdat=0x0, err=0, 
    repository=0xb5370 "/cvs_repos/proj/base/subdir2", 
    update_dir=0xb0978 "subdir2", entries=0xb4a88) at commit.c:1419
#6  0x502f0 in do_recursion (frame=0xffbee2d8) at recurse.c:742
#7  0x509d8 in do_dir_proc (p=0x0, closure=0xffbee3e8) at recurse.c:1090
#8  0x31d80 in walklist (list=0x0, proc=0x506d0 <do_dir_proc>,
closure=0xffbee3e8) at hash.c:370
#9  0x50330 in do_recursion (frame=0xffbee490) at recurse.c:757
#10 0x509d8 in do_dir_proc (p=0x0, closure=0xffbee5a0) at recurse.c:1090
#11 0x31d80 in walklist (list=0x0, proc=0x506d0 <do_dir_proc>,
closure=0xffbee5a0) at hash.c:370
#12 0x50330 in do_recursion (frame=0xffbee640) at recurse.c:757
#13 0x4fc3c in start_recursion (fileproc=0, filesdoneproc=0xae400
<method_names+16>, 
    direntproc=0x27794 <commit_direntproc>, dirleaveproc=0x27860
<commit_dirleaveproc>, 
    callerdat=0x0, argc=0, argv=0xb3ec8, local=0, which=1, aflag=0,
readlock=0, 
    update_preload=0x0, dosrcs=1) at recurse.c:354
#14 0x26294 in commit (argc=0, argv=0xffbee824) at commit.c:651
#15 0x3e3d4 in main (argc=1, argv=0xffbee820) at main.c:989

------------------------------------------------------------

I'd appreciate any assistance you can offer clearing this problem.

Thanks-- 
---------------
Richard Philley




reply via email to

[Prev in Thread] Current Thread [Next in Thread]