Bug 23644

Summary: cvs ci foobar core dumps
Product: Base System Reporter: Wolfram Schneider <wosch>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-RELEASE   
Hardware: Any   
OS: Any   

Description Wolfram Schneider 2000-12-19 17:10:02 UTC

    
Comment 1 Peter Pentchev 2000-12-19 17:19:01 UTC
On Tue, Dec 19, 2000 at 05:06:20PM +0100, Wolfram Schneider wrote:
> 
> >Number:         23644
> >Category:       bin
> >Synopsis:       cvs ci foobar core dumps
> >Originator:     Wolfram Schneider
> >Release:        FreeBSD 4.2-RELEASE i386
> >Organization:
> >Environment:
> 
> $ mkdir 75
> $ cd 75
> $ cvs ci foobar
> cvs commit: cannot open CVS/Entries for reading: No such file or directory
> Segmentation fault (core dumped)

Hmm this looks interesting.  Is this a vanilla 4.2-RELEASE machine, not
updated to -stable?  Is it a 4.2 install, or rebuilt from sources?

What is the output of   ident `which cvs`  ?

Other than that..  Could you do the following:

mkdir 75
cd 75
ktrace cvs ci foobar
kdump > cvs.out

..and then attach the cvs.out file, so someone could check exactly
what is it that cvs does wrong?

G'luck,
Peter

-- 
.siht ekil ti gnidaer eb d'uoy ,werbeH ni erew ecnetnes siht fI
Comment 2 Wolfram Schneider 2000-12-20 08:51:56 UTC
On 2000-12-19 19:19:01 +0200, Peter Pentchev wrote:
> On Tue, Dec 19, 2000 at 05:06:20PM +0100, Wolfram Schneider wrote:
> > 
> > >Number:         23644
> > >Category:       bin
> > >Synopsis:       cvs ci foobar core dumps
> > >Originator:     Wolfram Schneider
> > >Release:        FreeBSD 4.2-RELEASE i386
> > >Organization:
> > >Environment:
> > 
> > $ mkdir 75
> > $ cd 75
> > $ cvs ci foobar
> > cvs commit: cannot open CVS/Entries for reading: No such file or directory
> > Segmentation fault (core dumped)
> 
> Hmm this looks interesting.  Is this a vanilla 4.2-RELEASE machine, not
> updated to -stable?  Is it a 4.2 install, or rebuilt from sources?

I tried it on serveral machines and cvs died on 4.0-RELEASE
and 4.2-stable.

$ cvs --version
Concurrent Versions System (CVS) 1.10.7 (client/server)

> What is the output of   ident `which cvs`  ?

$ ident `which cvs`
/usr/bin/cvs:
     $FreeBSD: src/usr.bin/yacc/skeleton.c,v 1.28 2000/01/17 02:04:06 bde Exp $

-- 
Wolfram Schneider <wolfram@schneider.org> http://wolfram.schneider.org
Comment 3 Peter Pentchev 2000-12-20 10:03:38 UTC
On Wed, Dec 20, 2000 at 09:51:56AM +0100, Wolfram Schneider wrote:
> On 2000-12-19 19:19:01 +0200, Peter Pentchev wrote:
> > On Tue, Dec 19, 2000 at 05:06:20PM +0100, Wolfram Schneider wrote:
> > > 
> > > >Number:         23644
> > > >Category:       bin
> > > >Synopsis:       cvs ci foobar core dumps
> > > >Originator:     Wolfram Schneider
> > > >Release:        FreeBSD 4.2-RELEASE i386
> > > >Organization:
> > > >Environment:
> > > 
> > > $ mkdir 75
> > > $ cd 75
> > > $ cvs ci foobar
> > > cvs commit: cannot open CVS/Entries for reading: No such file or directory
> > > Segmentation fault (core dumped)
> > 
> > Hmm this looks interesting.  Is this a vanilla 4.2-RELEASE machine, not
> > updated to -stable?  Is it a 4.2 install, or rebuilt from sources?
> 
> I tried it on serveral machines and cvs died on 4.0-RELEASE
> and 4.2-stable.
> 
> $ cvs --version
> Concurrent Versions System (CVS) 1.10.7 (client/server)
> 
> > What is the output of   ident `which cvs`  ?
> 
> $ ident `which cvs`
> /usr/bin/cvs:
>      $FreeBSD: src/usr.bin/yacc/skeleton.c,v 1.28 2000/01/17 02:04:06 bde Exp $

Hmm oops :) should've checked myself that this would not provide any
valuable information :)  (CVS itself does not have RCS id tags? weird..)

How about the ktrace/kdump output?

G'luck,
Peter

-- 
When you are not looking at it, this sentence is in Spanish.
Comment 4 Will Andrews 2000-12-21 05:28:06 UTC
On Wed, Dec 20, 2000 at 02:00:02AM -0800, Wolfram Schneider wrote:
>  I tried it on serveral machines and cvs died on 4.0-RELEASE
>  and 4.2-stable.
>  
>  $ cvs --version
>  Concurrent Versions System (CVS) 1.10.7 (client/server)

CVS 1.11 on my machine (5.0-CURRENT) does not have this problem.

-- 
wca
Comment 5 Matt Jacob freebsd_committer freebsd_triage 2001-10-02 05:57:05 UTC
State Changed
From-To: open->closed

Does not reproduce on my 4.3 machine: 

remote.feral.com > mkdir 75 
remote.feral.com > cd !$ 
cd 75 
/home/mjacob/75 
remote.feral.com > cvs ci foobar 
cvs commit: No CVSROOT specified!  Please use the `-d' option 
cvs [commit aborted]: or set the CVSROOT environment variable. 
remote.feral.com > CVSROOT=/home/ncvs cvs ci foobar 
cvs commit: cannot open CVS/Entries for reading: No such file or directory 
cvs commit: nothing known about `foobar' 
cvs [commit aborted]: correct above errors first! 
remote.feral.com >