This query is regarding the Microsoft’s Volume Shadow Copy Service.
I could not find answer anywhere on the net and this osronline is my last resort.
So, please help me.
If this question is not appropriate for this forum then please excuse me and guide me to the correct forum here on osrononline.com
Thanks for your time and patience.
Here goes my question…
We have developed a tool which provides Application Consistency to applications during a CDP(Continuous Data Protection). So as part of the solution we have written our own VSS Software Provider (Volume Shadow Copy Service Software Provider). This tool has got the capability to use either Microsoft Software Shadow Copy Provider or our own Software Shadow Copy Provider (not both simultaneously, only one provider at a time).
The problem is vssvc.exe is crashing with the following error immediately after performing the snapshot. This crash is happening even with the the default Microsoft Shadow Copy Software Provider also.
Surprisingly if I uninstall my software provider then vssvc.exe is not crashing. So please enlighten me as to where I? am going wrong.
WinDbg is showing the following error…
(5c4.420): Access violation - code c0000005 (!!! second chance !!!)
vssvc!CVssProviderManager::TransferEnumeratorContentsToArray+0xc3:
00000000fff27007 4c8b5d00 mov r11,qword ptr [rbp] ss:00000000
00000000=???
The following is the event viewer log…
Event Type: Error
Event Source: Application Error
Event Category: (100)
Event ID: 1000
Date: 3/31/2011
Time: 8:06:38 PM
User: N/A
Faulting application vssvc.exe, version 5.2.3790.4143, faulting module vssvc.exe, version 5.2.3790.4143, fault address 0x0000000000073f61.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 41 70 70 6c 69 63 61 74 Applicat
0008: 69 6f 6e 20 46 61 69 6c ion Fail
0010: 75 72 65 20 20 76 73 73 ure vss
0018: 76 63 2e 65 78 65 20 35 vc.exe 5
0020: 2e 32 2e 33 37 39 30 2e .2.3790.
0028: 34 31 34 33 20 69 6e 20 4143 in
0030: 76 73 73 76 63 2e 65 78 vssvc.ex
0038: 65 20 35 2e 32 2e 33 37 e 5.2.37
0040: 39 30 2e 34 31 34 33 20 90.4143
0048: 61 74 20 6f 66 66 73 65 at offse
0050: 74 20 30 30 30 30 30 30 t 000000
0058: 30 30 30 30 30 37 33 66 0000073f
0060: 36 31 61
This crash is happening on both W2K3 SP2 and W2K8 R2 OS as well.
VSS Framework is calling my Custom VSS Software Provider in the following order…
BeginPrepareSnapshot() of IVssSoftwareSnapshotProvider Interface
SnapshotSetId = 7c8cf3b6-5b5d-4bf8-be1d-c26cb3f4d095
SnapshotId = af53fdde-c229-43b3-9cbf-2aa7a5f427a2.
EndPrepareSnapshots() of IVssProviderCreateSnapshotSet Interface
SnapshotSetId = 7c8cf3b6-5b5d-4bf8-be1d-c26cb3f4d095.
PreCommitSnapshots() of IVssProviderCreateSnapshotSet Interface
SnapshotSetId = 7c8cf3b6-5b5d-4bf8-be1d-c26cb3f4d095.
CommitSnapshots()of IVssProviderCreateSnapshotSet Interface
SnapshotSetId = 7c8cf3b6-5b5d-4bf8-be1d-c26cb3f4d095.
PostCommitSnapshots() of IVssProviderCreateSnapshotSet Interface
SnapshotSetId = 7c8cf3b6-5b5d-4bf8-be1d-c26cb3f4d095
?PreFinalCommitSnapshots() of IVssProviderCreateSnapshotSet Interface
SnapshotSetId = 7c8cf3b6-5b5d-4bf8-be1d-c26cb3f4d095.
?GetSnapshotProperties() of IVssSoftwareSnapshotProvider Interface
SnapshotId = af53fdde-c229-43b3-9cbf-2aa7a5f427a2
PostFinalCommitSnapshots() of IVssProviderCreateSnapshotSet Interface
SnapshotSetId = 7c8cf3b6-5b5d-4bf8-be1d-c26cb3f4d095
Query() of IVsssoftwareSnapshotProvider Interface
QueriedObjectId = 00000000-0000-0000-0000-000000000000.
Faulting application vssvc.exe, version 5.2.3790.4143, faulting module vssvc.exe, version 5.2.3790.4143, fault address 0x0000000000073f61.
Waiting to hear from the learned memebers of the group.
Warm Regards,
Madan