Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 202

Summary: SSH: crc error on connection close (1GGFZV9)
Product: [Eclipse Project] Platform Reporter: Jean-Michel Lemieux <jean-michel_lemieux>
Component: TeamAssignee: Jean-Michel Lemieux <jean-michel_lemieux>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Jean-Michel Lemieux CLA 2001-10-10 21:38:07 EDT
I am using the R0.9 version.  Several times now when I try to synchronize my
project I get the following error:
 
 java.io.IOException: crc error
  at org.eclipse.vcm.internal.core.ccvs.ssh.ServerPacket$PacketInputStream.close(
 ServerPacket.java(Compiled Code))
  at org.eclipse.vcm.internal.core.ccvs.ssh.Client$StandardInputStream.close(Clie
 nt.java:111)
  at org.eclipse.vcm.internal.core.ccvs.ssh.SSHServerConnection.close(SSHServerCo
 nnection.java:39)
  at org.eclipse.vcm.internal.core.ccvs.client.Connection.close(Connection.java:8
 3)
  at org.eclipse.vcm.internal.core.ccvs.client.Client.disconnect(Client.java:251)
  at  org.eclipse.vcm.internal.core.ccvs.CVSAdapter.fetchRemoteTree(CVSAdapter.jav
 a:578) 
  at org.eclipse.vcm.internal.core.Subscriber.refresh(Subscriber.java:516)
  at org.eclipse.vcm.internal.core.Subscriber$3.run(Subscriber.java:484)
  at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1194)
  at org.eclipse.vcm.internal.core.Subscriber.run(Subscriber.java:535)
  at
 org.eclipse.vcm.internal.core.SharingManager.run(SharingManager.java:676)
  at org.eclipse.vcm.internal.core.Subscriber.refresh(Subscriber.java:478)
  at
 org.eclipse.vcm.internal.ui.sync.Repository.doServerDelta(Repository.java:18
 1)
  at
 org.eclipse.vcm.internal.ui.sync.Repository$1.execute(Repository.java:225)
  at
 org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperati
 on.java:64)
  at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1194)
  at
 org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation
 .java:78)
  at
 org.eclipse.vcm.internal.ui.sync.Repository.localServerDelta(Repository.java
 :229)
  at
 org.eclipse.vcm.internal.ui.sync.SyncCompareInput.prepareInput(SyncCompareIn
 put.java:434)
  at org.eclipse.compare.CompareEditorInput.run(CompareEditorInput.java:596)
  at
 org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext
 .java:98)

NOTES:

Jean-Michel (7/6/01 8:40:15 AM)
	We should review the code and find out the following:
	1. why do we care about the crc at when closing?
	2. is the crc calculation correct in close?

JEM (7/9/2001 11:30:48 AM)
	3. is this crc error brought about by the flushing that we're doing when closing the connection?
		I think this only appeared after we fixed that code, but I'm not positive.

Jean-Michel (23/07/2001 10:51:52 AM)
	The code in close looks fine. I cannot reproduce this error. I would like to install ssh onto cvslnx
	so that we can test ssh during our daily development. SSH is already installed on dj and fiji 
	test machines.

Jean-Michel (26/07/2001 9:53:40 AM)
	SSH installed on both fiji and cvslnx. Sent an e-mail to vcm team so that we all use
	the 'extssh' connection method for development.
Comment 1 Jean-Michel Lemieux CLA 2001-10-18 11:48:34 EDT
See bug 4944
Comment 2 James Moody CLA 2001-10-18 14:30:26 EDT
[Fixed in v205]
Comment 3 DJ Houghton CLA 2001-10-23 23:46:44 EDT
PRODUCT VERSION:
R0.9