Skip to main content
NetApp Knowledge Base

SnapDriveService.exe crashes on Windows Server 2008 R2

Views:
354
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

Applies to

  • SnapCenter Plug-in for Microsoft SQL Server (SCSQL) 4.1P2
  • SnapCenter Plug-In for Microsoft Windows (SCW) 4.1P2
  • Microsoft Windows Server 2008 R2

Issue

  • SCSQL job fails with the following error during verification.

Activity 'FileSystem Clone' failed with error: CloneActivity failed, Plugin: SnapDrivePlugIn, API: Clone, Response: 
Activity 'Preparing for Verification' failed with error: CloneActivity failed, Plugin: SnapDrivePlugIn, API: Clone, Response: 

 

fb29c925-9296-4df5-98cb-960410df5544.PNG

  • SMCore_<JOBID>.log shows the following exception after SmCreateCloneRequest.

DEBUG SMCore_<JOBID> PID=[<PID>] TID=[<TID>] Request Data: ****************************
<SmCreateCloneRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">..
INFO  SMCore_<JOBID> PID=[<PID>] TID=[<TID>] SmWebClient : webRequest.ServicePoint.ConnectionLimit set to 1500
ERROR SMCore_<JOBID> PID=[<PID>] TID=[<TID>] WebException Encountered, Response null
ERROR SMCore_<JOBID> PID=[<PID>] TID=[<TID>] Exception in method: InvokeXML.
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
   --- End of inner exception stack trace ---
   at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
   at System.Net.WebClient.UploadString(Uri address, String method, String data)
   at SnapMgrHelper.RestAdapter.InvokeXML[TReq,TRes](TReq request, String methodType, String remoteURL, Boolean xmlSerializer, Boolean removeXMLNamespace, Boolean dataContractDeserializer, Boolean logRequest, Boolean logResponse) : Detailed Exception The underlying connection was closed: An unexpected error occurred on a receive. Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. An existing connection was forcibly closed by the remote host : BaseException System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
ERROR SMCore_<JOBID> PID=[<PID>] TID=[<TID>] Exception in method: InvokeUrl.
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
   --- End of inner exception stack trace ---
   at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
   at System.Net.WebClient.UploadString(Uri address, String method, String data)
   at SnapMgrHelper.RestAdapter.InvokeXML[TReq,TRes](TReq request, String methodType, String remoteURL, Boolean xmlSerializer, Boolean removeXMLNamespace, Boolean dataContractDeserializer, Boolean logRequest, Boolean logResponse)
   at SnapMgrHelper.RestAdapter.InvokeUrl[TReq,TRes](TReq request, SmPluginCode pluginCode, String service, String method, String protocol, String hostName, Boolean xmlSerializer, Boolean dataContractDeserializer) : Detailed Exception The underlying connection was closed: An unexpected error occurred on a receive. Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. An existing connection was forcibly closed by the remote host : BaseException System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
DEBUG SMCore_<JOBID> PID=[<PID>] TID=[<TID>] After Invoke
ERROR SMCore_<JOBID> PID=[<PID>] TID=[<TID>] ErrorCode (-1), ErrorMessage (CloneActivity failed, Plugin: SnapDrivePlugIn, API: Clone, Response: )
DEBUG SMCore_<JOBID> PID=[<PID>] TID=[<TID>] CloneActivity failed, Plugin: SnapDrivePlugIn, API: Clone, Response: 
DEBUG SMCore_<JOBID> PID=[<PID>] TID=[<TID>] CloneActivity :: exit

..

ERROR SMCore_<JOBID> PID=[<PID>] TID=[<TID>] Activity (FileSystem Clone) of Workflow (SnapMgrCoreService.SmJobActivity), Failed with error: CloneActivity failed, Plugin: SnapDrivePlugIn, API: Clone, Response: 
 

  • Application event log shows that SnapDriveService.exe is terminated due to System.AccessViolationException.

ERROR,<HOSTNAME>,.NET Runtime,1026,"Application: SnapDriveService.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
   at System.Runtime.InteropServices.Marshal.PtrToStructureHelper(IntPtr, System.Object, Boolean)
   at System.Runtime.InteropServices.Marshal.PtrToStructure(IntPtr, System.Object)
   at SnapDrive.HostUtilities.Scsi.ScsiService.sendSCSI(System.String, Int32 ByRef, SnapDrive.HostUtilities.Scsi.ScsiPassThroughWithBuffers ByRef, System.TimeSpan ByRef)
   at SnapDrive.HostUtilities.Scsi.ScsiService.IsNetAppLun(System.String)
   at SnapDrive.HostUtilities.Vds.VdsDisk.get_IsNetAppDisk()
   at SnapDrive.HostUtilities.DiskDiscovery.DiskService.GetDiskResource(SnapDrive.HostUtilities.Vds.VdsDisk)
   at SnapDrive.HostUtilities.DiskDiscovery.DiskService.GetDiskResources(System.Collections.Generic.IEnumerable`1<SnapDrive.HostUtilities.Vds.VdsDisk>)
   at SnapDrive.HostUtilities.DiskDiscovery.DiskService.GetAllDiskInfo()
   at SnapDrive.Nsf.Common.Infrastructure.VdsHelper.WaitForHostDisk(System.String, System.String)
   at SnapDrive.Nsf.Core.Host.VdsPartitionManager.AddPartitionAccessPathCommon(SMCoreContracts.AddPartitionAccessPathRequest, SnapDrive.HostUtilities.DiskDiscovery.DiskResource ByRef)
   at SnapDrive.Nsf.Core.Host.VdsPartitionManager.AddPartitionAccessPath(SMCoreContracts.AddPartitionAccessPathRequest)
   at SnapDrivePlugIn.CloneManager.AddAccessPath(SMCoreContracts.SmCreateCloneResponse, SMCoreContracts.SmCloneComponentMapping, System.String, System.String, SMCoreContracts.AddPartitionAccessPathRequest, SnapDrive.Nsf.Core.Host.IPartitionManagementStrategy)
   at SnapDrivePlugIn.CloneManager.Clone(SMCoreContracts.SmCreateCloneRequest)
   at SnapDrivePlugIn.SnapDrivePlugIn.Clone(SMCoreContracts.SmCreateCloneRequest)
   at DynamicClass.SyncInvokeClone(System.Object, System.Object[], System.Object[])
   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(System.Object, System.Object[], System.Object[] ByRef)
   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(System.ServiceModel.Dispatcher.MessageRpc ByRef)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(System.ServiceModel.Dispatcher.MessageRpc ByRef)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(System.ServiceModel.Dispatcher.MessageRpc ByRef)
   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean)
   at System.ServiceModel.Dispatcher.ChannelHandler.DispatchAndReleasePump(System.ServiceModel.Channels.RequestContext, Boolean, System.ServiceModel.OperationContext)
   at System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest(System.ServiceModel.Channels.RequestContext, System.ServiceModel.OperationContext)
   at System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(System.IAsyncResult)
   at System.Runtime.Fx+AsyncThunk.UnhandledExceptionFrame(System.IAsyncResult)
   at System.Runtime.AsyncResult.Complete(Boolean)
   at System.Runtime.InputQueue`1+AsyncQueueReader[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Set(Item<System.__Canon>)
   at System.Runtime.InputQueue`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].EnqueueAndDispatch(Item<System.__Canon>, Boolean)
   at System.Runtime.InputQueue`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].EnqueueAndDispatch(System.__Canon, System.Action, Boolean)
   at System.ServiceModel.Channels.SingletonChannelAcceptor`3[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Enqueue(System.__Canon, System.Action, Boolean)
   at System.ServiceModel.Channels.HttpPipeline+EnqueueMessageAsyncResult.CompleteParseAndEnqueue(System.IAsyncResult)
   at System.ServiceModel.Channels.HttpPipeline+EnqueueMessageAsyncResult.HandleParseIncomingMessage(System.IAsyncResult)
   at System.Runtime.AsyncResult.AsyncCompletionWrapperCallback(System.IAsyncResult)
   at System.Runtime.Fx+AsyncThunk.UnhandledExceptionFrame(System.IAsyncResult)
   at System.Runtime.AsyncResult.Complete(Boolean)
   at System.ServiceModel.Channels.HttpInput+ParseMessageAsyncResult.OnRead(System.IAsyncResult)
   at System.Runtime.Fx+AsyncThunk.UnhandledExceptionFrame(System.IAsyncResult)
   at System.Net.LazyAsyncResult.Complete(IntPtr)
   at System.Net.HttpRequestStream+HttpRequestStreamAsyncResult.IOCompleted(HttpRequestStreamAsyncResult, UInt32, UInt32)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
"
ERROR,<HOSTNAME>,Application Error,1000,"Faulting application name: SnapDriveService.exe、version: 4.1.0.1738、time stamp: 0x5bb716eb
Faulting module name: MSVCR120_CLR0400.dll、version: 12.0.52480.36480、time stamp: 0x5bd8f6fe
Exception code: 0xc0000005
Fault offset: 0x0000000000001430
Faulting process id: 0xd18
Faulting application start time: 0x01d6bada06067a9a
Faulting application path: C:\Program Files\NetApp\SnapCenter\SnapCenter Plug-in for Microsoft Windows\SnapDriveService.exe
Faulting module path: C:\Windows\system32\MSVCR120_CLR0400.dll
Report Id: <REPORT_ID>"

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.