[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: File corruption issue

From: Bert Huijben <rhuijben_at_sharpsvn.net>
Date: Sat, 14 Feb 2009 01:16:48 +0100

Hi,

 

Subversion and all of the libraries it use don't have this error message on
board, so they can only generate it via the OS layer.

 

The quoted error text is the exact error message of the windows error
message 'ERROR_FILE_CORRUPT', that says that the filesystem is corrupted.

 

So you really should check the filesystem, in this case the virtual. But in
my experience even virtual filesystems normally don't break at random.

 

In this case it might also be that the host system has a read error that is
has to transfer to the virtual system.

(In this case I would also verify the host filesystem to make sure you don't
have a real hardware failure at hand. better safe than sorry).

 

From WinError.h

//

// MessageId: ERROR_FILE_CORRUPT

//

// MessageText:

//

// The file or directory is corrupted and unreadable.

//

#define ERROR_FILE_CORRUPT 1392L

 

 

 

From: Ghassemi, Hamid [mailto:hghassemi_at_medassets.com]
Sent: Friday, February 13, 2009 11:16 PM
To: Bert Huijben; users_at_subversion.tigris.org
Subject: RE: File corruption issue

 

We only get this error with Subversion and not any other programs in
windows. Also we are running windows in a VM so changing the hard drive is
a bit more involved.

 

From: Bert Huijben [mailto:bert_at_vmoo.com]
Sent: Friday, February 13, 2009 12:46 PM
To: Ghassemi, Hamid; users_at_subversion.tigris.org
Subject: RE: File corruption issue

 

                Hi,

 

This error sounds like a Windows error, not something Subversion specific.

 

I think you should check the harddisk for errors (and maybe replace the
harddisk if you find more than a few errors or when the SMART status says
you should replace it).

 

(The lock file is actually a 0 bytes file that is used for synchronization
of multiple clients)

 

                Bert

 

 

From: Ghassemi, Hamid [mailto:hghassemi_at_medassets.com]
Sent: Friday, February 13, 2009 7:10 PM
To: users_at_subversion.tigris.org
Subject: File corruption issue

 

Good moring,

 

Some of our developers have been getting the following error for a few days
every time they try to update the code,

 

Error: Can't open file
'E:\websites\qa\scripts\extjs\1.1\package\dialog\.svn\lock':

Error: The file or directory is corrupted and unreadable.

 

This happens with the use of TortoiseSVN or the svn command line client.

 

Has anyone seen this and if so what is the fix for it. I should mention
that svn clean does not work with this. The only way I have found to take
care if it is to remove the directory, reboot the system and then try to
remove the remnants and then do another checkout.

 

Thanks

Hamid Ghassemi
Lead Software Engineer

MedAssets
14405 SE 36th St Suite 206
Bellevue WA 98006
(877) 937-3600 X502 Direct
(425) 466-3088 Mobile
hghassemi_at_medassets.com
www.medassets.com

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential, proprietary, and/or
privileged material. Any review, retransmission, dissemination or other use
of, or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from all
computers
 
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential, proprietary, and/or
privileged material. Any review, retransmission, dissemination or other use
of, or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from all
computers

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1154209

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-14 16:03:27 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.