Question
Confidential
GB
Last activity: 23 Aug 2018 19:03 EDT
Interrogation failing with error - Memory corruption
I've recently started the Openspan 8.0 training and I'm facing this issue during interrogation of the sample ( CRM ) application provided with Openspan training package. I'm using a windows 10 VM.
While clicking on Start Interrogation, system is generating an exception and the application is not launched. Exception is :
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
If I go to the app directory and manually launch the application by clicking on CRM.exe file, it runs perfectly. If I change the target value of .os file to point to a different application, I'm able to launch that new application. But this application is not launching and I'm not able to complete the interrogation.
I've recently started the Openspan 8.0 training and I'm facing this issue during interrogation of the sample ( CRM ) application provided with Openspan training package. I'm using a windows 10 VM.
While clicking on Start Interrogation, system is generating an exception and the application is not launched. Exception is :
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
If I go to the app directory and manually launch the application by clicking on CRM.exe file, it runs perfectly. If I change the target value of .os file to point to a different application, I'm able to launch that new application. But this application is not launching and I'm not able to complete the interrogation.
Details of exception are --
1) Exception Information
*********************************************
Exception Type: System.AccessViolationException
Message: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items
TargetSite: Boolean StartProcessInjected(System.String, System.String, System.String, IntPtr, Boolean, System.String, System.String, UInt32 ByRef, IntPtr ByRef)
HelpLink: NULL
Source: "OpenSpan.NativeInterop"
HResult: -2147467261
StackTrace Information
*********************************************
at OpenSpan.Interop.ScoutInterop.StartProcessInjected(String processPath, String arguments, String workingDirectory, IntPtr hResponseWnd, Boolean resumeSuspendedProcess, String remotingQueueName, String ignoreProcessNames, UInt32& pPid, IntPtr& phMainThread)
at OpenSpan.Adapters.Windows.WindowsProcess.Start(WindowsProcessStartMethod method, String path, String args, String dir, String target, Int32 timeout)
at OpenSpan.Adapters.Windows.WindowsAdapterBase.StartProcess(WindowsProcessStartMethod method, String path, String args, String dir, String target, Int32 timeout, Boolean hookChildProcesses, IWindowsProcess& process)
at OpenSpan.Adapters.Windows.WindowsAdapterBase.StartProcess(WindowsProcessStartMethod method, String path, String args, String dir, String target, Int32 timeout, IWindowsProcess& process)
at OpenSpan.Adapters.Windows.WindowsAdapter.StartAdapter()
at OpenSpan.Adapters.Adapter.HandlePerformStart(Object sender, CancelEventArgs e)
at OpenSpan.Design.DesignComponentCommon.OnPerformStart()
at OpenSpan.Design.DesignComponentCommon.Start()
at OpenSpan.Design.DesignComponent.Start()
at OpenSpan.Adapters.Design.InterrogationService.StartInterrogation()
at OpenSpan.Adapters.Windows.Design.WindowsInterrogationService.StartInterrogation()
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.