This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 15355 - cannot checkout files
Summary: cannot checkout files
Status: RESOLVED INVALID
Alias: None
Product: obsolete
Classification: Unclassified
Component: collabnet (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: support
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-11 10:08 UTC by David Konecny
Modified: 2009-11-08 02:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
zip file containing invalid directories (1.58 KB, application/octet-stream)
2001-09-12 12:39 UTC, David Konecny
Details
example of corrupted java file (27.45 KB, text/plain)
2001-09-12 13:11 UTC, David Konecny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Konecny 2001-09-11 10:08:59 UTC
Hello There,

I have a batch which I'm using each morning to checkout latest source from CVS. 
Till today it worked without problems. But after I executed it today monring I got 
bunch of errors form CVS. I tried it once more that now I always get:

D:\Dev\netbeans>cvs -q -z 9 checkout -P all
? core/release/modules
? debuggercore/diff.txt
? editor/1.diff
? editor/1.txt
? editor/diff.txt
? editor/id.bat
? editor/demosrc/base/editor.bat
? editor/demosrc/base/org/netbeans/editor/example/Localizer.java
? editor/demosrc/base/org/netbeans/editor/example/NewFileActionListener.java
? editor/libsrc/org/netbeans/editor/MultiKeymap.java.modified
? nbbuild/bin
? openide/diff.txt
? openide/src/org/openide/awt/UndoRedo.java.modified
cvs checkout: inflate: oversubscribed dynamic bit lengths tree
cvs [checkout aborted]: reading from server: Input/output error

I have also second testing copy of NetBeans sources and checkout it
causes:

D:\Dev\nb_test_cvs>cvs -q -z 9 checkout -P all
? core/release/modules
? form/tojar/org/netbeans/modules/form/resources/templates_ja
? nbbuild/bin
U core/src/org/netbeans/core/output/OutputTabTerm.java
U editor/libsrc/org/netbeans/editor/BaseTextUI.java
U editor/libsrc/org/netbeans/editor/MultiKeymap.java
U editor/libsrc/org/netbeans/editor/Utilities.java
cvs checkout: warning: unrecognized response `C-u(MPeBiu tl lCicsssssssieymethod
aoWcuiey y-coord */' from cvs server
cvs checkout: warning: unrecognized response ` (uF AassieymethodaoWcuiey y-coord
 */' from cvs server
cvs checkout: warning: unrecognized response ` (uF Aassieym cve)lI18NNl0rialVers
ionUIDOluh GenlrtYenSf.u_f/1 reyP mFI18NNl0rialVersionUIDOluh GenlrtYenSf.u_f/1
reyP mFI18NNl0rialVersionUIDOlbs= (    1            apret =@  fe  rWrigirateViro
   0sg =@ ;mext.K oinii(uF      Dehi(uF      Del;;;O= (    1            apret =@
  fe  rWrigirateViro EirateViro   0sg =@ ;mext.K oinii(uF      Dehi(r.JfRe    ei
lities.(( nitTiTetrue;eUiies.(Pxt.Jf;' from cvs server
cvs checkout: warning: unrecognized response `meEOewf.Ts OliW3' from cvs server
cvs checkout: warning: unrecognized response `    }' from cvs server
cvs checkout: warning: unrecognized response `' from cvs server
cvs checkout: warning: unrecognized response `' from cvs server
cvs checkout: warning: unrecognized response `    }' from cvs server
cvs checkout: warning: unrecognized response `' from cvs server
cvs checkout: warning: unrecognized response ` }' from cvs server
cvs checkout: warning: unrecognized response `' from cvs server
cvs checkout: warning: unrecognized response `tex VK Bault ac   if v rsssssit e(
.....................................
(I got a few thousands lines like these)

What could I do to solve the problem? Is it my local problem? 
Should I delete some CVS repositories and checkout them again? 

Thanx for your help.
David
Comment 1 mboyer 2001-09-11 10:15:24 UTC
I'm not aware of any changes to SourceCast in the last day that
would have been a factor in these problems.  Raising to P1 to have
CollabNet review immediately since this is halting your work.
Comment 2 David Konecny 2001-09-11 10:27:23 UTC
The strange is that I asked a few colleagues and nobody had any 
problem like that today. So it looks like the problem is only on my 
computer? But I must say that the batch used to work for couple of 
last months without any problem.

One solution which I see is probably to remove whole directory 
structure. In worst case I can do it, but because right now I'm 
writting some documentation I can wait if there is some easier 
solution.

Thanx,
David
Comment 3 mvinar 2001-09-11 14:14:32 UTC
I tried to use same command as David and everything was ok.
After discuss with David I'm changing priority to P3. David will 
doing same checkout again. When checkout will be ok David will close 
this issue. I guess it's local problem on David's computer.
   
Comment 4 David Konecny 2001-09-12 10:16:46 UTC
I spent some time on research where the problem is and here is the 
result: itutor module. Try

D:\Dev\netbeans>cvs checkout itutor

you will get

cvs checkout: warning: unrecognized response `DBD::mysql::st execute 
failed: You
 have an error in your SQL syntax near ')' from cvs server
cvs checkout: warning: unrecognized response `     and 
HELM_ACTION.NAME = "Versi
onControl - Update"' from cvs server
cvs checkout: warning: unrecognized response `     and 
HELM_ROLE.ROLE_' at line
9 at /var/svscan/tigris-cvs-pserver/pcheck.pl line 250.' from cvs 
server
cvs checkout: warning: unrecognized response `DBD::mysql::st 
fetchrow_arrayref f
ailed: fetch() without execute() at 
/var/svscan/tigris-cvs-pserver/pcheck.pl lin
e 252.' from cvs server
User dkonecny doesnt have <Update> access to project sters

and my problem is that I had the itutor on my disk from the ages 
before the SourceCast. So in case I tried:

D:\Dev\netbeans>cvs -z9 -q checkout -P itutor

I got the error:

cvs checkout: inflate: oversubscribed dynamic bit lengths tree
cvs [checkout aborted]: reading from server: Input/output error 

Removing the itutor from my disk (I don't need it) causes 
that everything works fine again. Why checkout of itutor stopped 
working from yesterday I don't know - probably some change in CVS 
permissions?

Could somebody fix the permissions for itutor module and close this 
issue?

Thanx, David
Comment 5 David Konecny 2001-09-12 10:21:06 UTC
OOOPS! another problem appeared. Feedback comming soon.
Comment 6 mboyer 2001-09-12 10:32:42 UTC
I have confirmed that David does have the correct privileges for
accessing this data.
Comment 7 David Konecny 2001-09-12 10:43:24 UTC
It looks that itutor is part of the "all" group and so 
cvs checkout -P all 
on existing module direcotries still causes the same problem.

The strange is that if I try this command in empty directory 
everything looks good, but itotur is not checkout to the disk!
Comment 8 mvinar 2001-09-12 11:07:07 UTC
1/
I tried to checkout module itutor an I have a same problem as David.
I guess problem is on CVSROOT/modules where itutor module doesn't 
exist.

commands:
cvs co CVSROOT
cat CVSROOT/modules | grep -v "\-a" | grep -v "\-d" | grep -v "^#" | 
cut -f1 -d " " | tr "\n" " " | perl -i -p -e "s# +# #g" | tr " " "\n"
 

ant
antlr
apisupport
apisupportx
applet
autoupdate
beans
classfile
clazz
core
cpp
cpplite
crosscompile
debuggercore
debuggerjpda
debuggertools
editor
emacs
extbrowser
externaleditor
form
html
httpserver
i18n
icebrowser
image
innertesters
jarpackager
jasm
java
javacvs
javadoc
javaembeddedserver
jini
jndi
j2eeserver
logger
makefile
multicompile
nbbuild
objectbrowser
openide
openidex
projects
properties
remotefs
rmi
scripting
serialversion
sysprops
text
treefs
usersguide
utilities
vcscore
vcscvs
vcsgeneric
web
workspaceswitcher
xtest
jpython
xmlbeans
look
performance
qa
ui
www

2/
if I tried make checkout directly for itutor a get this error.
 
command: cvs checkout itutor/

cvs checkout: warning: unrecognized response `DBD::mysql::st execute 
failed: You have an error in your SQL syntax near ')' from cvs server
cvs checkout: warning: unrecognized response `     and 
HELM_ACTION.NAME = "VersionControl - Update"' from cvs server
cvs checkout: warning: unrecognized response `     and 
HELM_ROLE.ROLE_' at line 9 at /var/svscan/tigris-cvs-
pserver/pcheck.pl line 250.' 
from cvs server
cvs checkout: warning: unrecognized response `DBD::mysql::st 
fetchrow_arrayref failed: fetch() without execute() at 
/var/svscan/tigris-cvs-pserver/pcheck.pl line 252.' from cvs server
User mvinar doesnt have <Update> access to project sters


Please fix SQL query problem and add module itutor to CVSROOT/modules.

I change priority for this issue to P2.
Please if someone find other module(s) where is same problem please 
add report into this issue

Thanks
Marek 

Comment 9 David Konecny 2001-09-12 12:39:53 UTC
Created attachment 2513 [details]
zip file containing invalid directories
Comment 10 David Konecny 2001-09-12 12:45:56 UTC
I'm attaching zip file containing some invalid directories and their
content. These directories appeared probably after cvs checkout.
The names "debugg  jpda" and "debugg  tools" should be probably 
be "debuggerjpda" and "debuggertools". I removed these 
invalid direcotries and now it looks OK again.
Comment 11 David Konecny 2001-09-12 13:11:03 UTC
Created attachment 2515 [details]
example of corrupted java file
Comment 12 David Konecny 2001-09-12 13:19:24 UTC
Some files on my disk were corrupted! See the one which I attached - 
the end is completely screwed up. Good news is that I can simply 
remove all these files and update them, because I did not modify them. 
Why I'm attaching this file is that I would really like to know what 
was the cause of this problem?? How it is possible that something like 
that might happen? CVS should NEVER destroy any files!! I partly 
accept the first problem - the error message could be more descriptive 
and said that there are some problems with ITUTOR. But the second one 
is really too dangerous. Could somebody explain me the exact cause??
Comment 13 Taska 2001-09-12 22:25:52 UTC
David- the first problem was a problem with the cvs modules file which
we have fixed (but not verified).  The second problem could have been
one of multiple problems; it could have been a network problem, or a
local filesystem problem, but it is extremely unlikely to have been a
problem with CVS itself.  We have not been able to reproduce this
problem, and therefore there is no sure way we can find out what
happened (no psychics on staff).  Please tell us if this occurs again.
Comment 14 David Konecny 2001-09-13 10:42:24 UTC
Could you try one last thing and let me know if it works you or not? 
Because on my computer it still DON'T WORK!

I created two empty directories:
* netbeans
* nb_test_cvs

In each directory I executed:
* cvs -z9 checkout -P all

This finished without any error. I check the direcotory and ITUTOR was 
not checkout-ed, but it is part of "all" group of modules. Is this OK?

Then I tried once more in both directories:
* cvs -q -z 9 checkout -P all
and now I got again the error fopr both directories:

cvs checkout: inflate: oversubscribed dynamic bit lengths tree
cvs [checkout aborted]: reading from server: Input/output error

What the hell this error means?

And so I'm again back in the problem which I had even though I 
checkout-ed all sources into empty directory!! Our you able to 
reproduce it or not??
Comment 15 Taska 2001-09-13 21:13:36 UTC
David- the error you are receiving is a result of the compression you
are using.  It is masking the real error, which is most likely a
result of a corruption in the modules file as referenced in issue
15422.  We are researching this corruption and will be updating this
issue today.
Comment 16 Taska 2001-09-14 01:57:15 UTC
This is fixed.

The original problem was a bad line in the diff file provided most
recently in issue 8243.  A line in the # modules section which should
have read

itutor itutor

simply read

itutor

This has been fixed.

Comment 17 David Konecny 2001-09-14 08:04:38 UTC
ok, thanx for the fix.

Today I've got another problem:

D:\Dev\netbeans>cvs -q -z 9 checkout -P all
cannot mkdir /tmp/cvs-serv5921/./CVS
No space left on device
Comment 18 Taska 2001-09-14 16:26:18 UTC
From operations group comments, this appears to be either solved or a
client-end problem.  Checking on this today (leaving open).
Comment 19 Taska 2001-09-14 21:19:56 UTC
The operations group reports that they received a page from michael
boyer last night and that, in response, they deleted a large number of
directories in /tmp.  These directories get created and removed by cvs
as a matter of course during checkouts and other actions, but if cvs
crashes, they stay.  The accumulation of these is most likely related
to issue 15455, which is causing frequent crashes.
Comment 20 David Konecny 2001-09-17 08:40:41 UTC
Thanx, everything works again.
Comment 21 jcatchpoole 2001-09-20 14:43:47 UTC
Closing as David reports it is working.
Comment 22 Marian Mirilovic 2009-11-08 02:28:36 UTC
We recently moved out from Collabnet's infrastructure