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

BUG: Build 1.4.7.11792 - 64 Bit - Vista - TSVNCache.exe generates "cannot close errors" in lib.exe and link.exe

From: Jeffrey Altman <jaltman_at_secure-endpoints.com>
Date: Wed, 30 Jan 2008 07:57:43 -0800

On 64-bit Vista, when building source code projects that are not stored
in Subversion repositories I am receiving a large number of "cannot
close file" errors from lib.exe and link.exe. Using Sysinternals
ProcMon I have captured the file access data for one of the failures.
The log data is pasted below.
What it shows is that at entry 14823752 link.exe receives a
STATUS_USER_MAPPED_FILE 0xC0000243 error when attempting to
SetEndOfFileInformation. The file appears to be user mapped by
TSVNCache.exe as indicated by the close operation at 14823753.

I suspect the real bug is that link.exe and lib.exe open the file with
share mode none whereas TSVNCache.exe opens the file with share mode
read|write|delete.

I am puzzled that TSVNCache is opening these files at all given that the
files are not in projects managed by Subversion.

Please take a look. These failures prevent the completion of automated
builds.

Thank you.

14823699 7:11:37.7211512 AM link.EXE 2904 IRP_MJ_CREATE
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
SUCCESS Desired Access: Generic Read/Write, Disposition: OverwriteIf,
Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N,
ShareMode: None, AllocationSize: 0, OpenResult: Created
14823702 7:11:37.7216747 AM link.EXE 2904
FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
FILE LOCKED WITH WRITERS SyncType: SyncTypeCreateSection,
PageProtection:
14823703 7:11:37.7216897 AM link.EXE 2904
FASTIO_QUERY_INFORMATION
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
SUCCESS Type: QueryStandardInformationFile, AllocationSize: 0,
EndOfFile: 0, NumberOfLinks: 1, DeletePending: False, Directory: False
14823704 7:11:37.7217090 AM link.EXE 2904
IRP_MJ_SET_INFORMATION
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
SUCCESS Type: SetEndOfFileInformationFile, EndOfFile: 1,048,576
14823706 7:11:37.7218588 AM link.EXE 2904
FASTIO_RELEASE_FOR_SECTION_SYNCHRONIZATION
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
SUCCESS
14823707 7:11:37.7218771 AM link.EXE 2904
FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
SUCCESS SyncType: SyncTypeOther
14823708 7:11:37.7218907 AM link.EXE 2904
FASTIO_RELEASE_FOR_SECTION_SYNCHRONIZATION
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
SUCCESS
14823709 7:11:37.7219369 AM link.EXE 2904 IRP_MJ_READ
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
SUCCESS Offset: 0, Length: 32,768, I/O Flags: Non-cached, Paging I/O,
Synchronous Paging I/O, Priority: Normal
14823743 7:11:37.7275392 AM TSVNCache.exe 4588
FASTIO_NETWORK_QUERY_OPEN
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
FAST IO DISALLOWED
14823744 7:11:37.7276000 AM TSVNCache.exe 4588
IRP_MJ_CREATE
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
SUCCESS Desired Access: Read Attributes, Disposition: Open, Options:
Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete,
AllocationSize: n/a, OpenResult: Opened
14823745 7:11:37.7276361 AM TSVNCache.exe 4588
FASTIO_QUERY_INFORMATION
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
SUCCESS Type: QueryNetworkOpenInformationFile, CreationTime:
1/30/2008 7:11:37 AM, LastAccessTime: 1/30/2008 7:11:37 AM,
LastWriteTime: 1/30/2008 7:11:37 AM, ChangeTime: 1/30/2008 7:11:37 AM,
AllocationSize: 1048576, EndOfFile: 1048576, FileAttributes: A
14823746 7:11:37.7276436 AM link.EXE 2904 IRP_MJ_READ
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
SUCCESS Offset: 32,768, Length: 32,768, I/O Flags: Non-cached, Paging
I/O, Synchronous Paging I/O, Priority: Normal
14823747 7:11:37.7276511 AM TSVNCache.exe 4588
IRP_MJ_CLEANUP
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
SUCCESS
14823748 7:11:37.7277660 AM MsMpEng.exe 596
FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
FILE LOCKED WITH WRITERS SyncType: SyncTypeCreateSection,
PageProtection:
14823749 7:11:37.7277996 AM MsMpEng.exe 596
FASTIO_QUERY_INFORMATION
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
SUCCESS Type: QueryStandardInformationFile, AllocationSize:
1,048,576, EndOfFile: 1,048,576, NumberOfLinks: 1, DeletePending: False,
Directory: False
14823750 7:11:37.7278194 AM MsMpEng.exe 596
FASTIO_RELEASE_FOR_SECTION_SYNCHRONIZATION
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
SUCCESS
14823751 7:11:37.7279499 AM MsMpEng.exe 596 IRP_MJ_READ
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
SUCCESS Offset: 1,015,808, Length: 32,768, I/O Flags: Non-cached,
Paging I/O, Synchronous Paging I/O, Priority: Normal
14823752 7:11:37.7281721 AM link.EXE 2904
IRP_MJ_SET_INFORMATION
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
0xC0000243 Type: SetEndOfFileInformationFile, EndOfFile: 59,614
14823753 7:11:37.7287021 AM TSVNCache.exe 4588
IRP_MJ_CLOSE
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
SUCCESS
14823809 7:11:37.7905536 AM link.EXE 2904 IRP_MJ_CREATE
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
SHARING VIOLATION Desired Access: Read Attributes, Delete,
Disposition: Open, Options: Non-Directory File, Open Reparse Point,
Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
14823831 7:11:37.7958951 AM TSVNCache.exe 6820
FASTIO_NETWORK_QUERY_OPEN
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
FAST IO DISALLOWED
14823832 7:11:37.7959473 AM TSVNCache.exe 6820
IRP_MJ_CREATE
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
SUCCESS Desired Access: Read Attributes, Disposition: Open, Options:
Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete,
AllocationSize: n/a, OpenResult: Opened
14823833 7:11:37.7959775 AM TSVNCache.exe 6820
FASTIO_QUERY_INFORMATION
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
SUCCESS Type: QueryNetworkOpenInformationFile, CreationTime:
1/30/2008 7:11:37 AM, LastAccessTime: 1/30/2008 7:11:37 AM,
LastWriteTime: 1/30/2008 7:11:37 AM, ChangeTime: 1/30/2008 7:11:37 AM,
AllocationSize: 1048576, EndOfFile: 1048576, FileAttributes: A
14823834 7:11:37.7959922 AM TSVNCache.exe 6820
IRP_MJ_CLEANUP
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
SUCCESS
14823835 7:11:37.7960136 AM TSVNCache.exe 6820
IRP_MJ_CLOSE
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
SUCCESS
14823858 7:11:37.8106075 AM link.EXE 2904 IRP_MJ_CLEANUP
C:\src\openafs\openafs-devel-1_5_x\dest\amd64_w2k\free\lib\afsrpc.lib
SUCCESS

Received on 2008-01-30 17:40:36 CET

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

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