bug-cvs
[Top][All Lists]
Advanced

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

CVS 1.11.2 & SunOs 5.8 - Checkout Bug


From: mumbleton
Subject: CVS 1.11.2 & SunOs 5.8 - Checkout Bug
Date: Wed, 28 Aug 2002 09:50:54 -0700 (PDT)

Hi, just got finished building CVS 1.11.2 from source for SunOs 5.8. Compiles 
great, however I am having an issue with "cvs checkout".
I can use the cvs login, update, commit, and import commands fine. I can also 
do "cvs checkout -c" to list modules on the server. However, using the "cvs 
checkout <module>" command in an attempt to check a module out results in a 
permanently hung process. Here are the details I have been able to glean:

The SunOs client sends two packets (TCP OPEN) to the server to open up the 
connection, then abruptly stops sending before ever getting to the checkout 
command (obtained via tcpdump).

Clients from other machines (platforms) are able to check out modules without 
difficulty from the same server.

O/S : SunOs 5.8.

configure options: ./configure --disable-server --with-krb5=no

netstat shows an open socket while the cvs process is hung.

problem can be reproduced regardless of local uid or cvs uid.

Here is gdb output :

This GDB was configured as "sparc-sun-solaris2.8"...
(gdb) run checkout openssl
Starting program: /usr/local/bin/cvs checkout openssl
^C /* after waiting for 10 minutes */
Program received signal SIGINT, Interrupt.
0xff31abd8 in readlink () from /usr/lib/libc.so.1
(gdb) bt
#0  0xff31abd8 in readlink () from /usr/lib/libc.so.1
#1  0x1c9c8 in safe_location (where=0x0) at checkout.c:416
#2  0x1c450 in checkout (argc=1, argv=0xffbefd94) at checkout.c:263
#3  0x3cec0 in main (argc=2, argv=0xffbefd90) at main.c:989
(gdb)

So it is apparently hung up in readlink (). I have reproduced this stack trace 
consistently. I am worried that cvs checkout is following a bad symbolic link 
(from man readlink(2)) but I have tried this as multiple users in multiple 
directories containing no symlinks whatsoever. Does checkout read some 
directories automatically before proceeding? If so, can this be disabled in 
some way?


Here is the bug in cvsbug format:
>Submitter-Id:   net
>Originator:     Super-User
>Organization:
net
>Confidential:  no
>Synopsis:      SunOs 5.8 build hangs on "cvs checkout"
>Severity:      serious
>Priority:      medium
>Category:      cvs
>Class:         sw-bug
>Release:       1.11.2
>Environment:
SunOs 5.8 on Sparc architecture (client) connecting to x86 Linux CVS server.
The bug occurs on the SunOs client.
System: SunOS heatsol 5.8 Generic_108528-12 sun4u sparc SUNW,Ultra-60
Architecture: sun4

>Description:
I can use the cvs login, update, commit, and import commands fine. I can also 
do "cvs checkout -c" to
list modules on the server. However, using the "cvs checkout module" command in 
an attempt to check a
module out results in a permanently hung process.
>How-To-Repeat:
./configure --disable-server --with-krb5=no
Build CVS using the above configure line on a SunOs 5.8 box.
Then try to use the resulting client to "cvs checkout".
>Fix:
Unknown.





reply via email to

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