|
|
|
|
Group: Forum Members
Last Login: Monday, August 20, 2007
Posts: 6,
Visits: 12
|
Here's the repro steps:- Users inits connection to a server that is off (ConnectAsyncEx)
- Before timing out, user inits connection to another server.
- Control connects to valid server
- .5-1 second after successful connection, exception occurs.
System.AccessViolationException was unhandled Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt." Source="System.Windows.Forms" StackTrace: at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at System.Windows.Forms.Nativewindow.DefWndProc(Message& m) at System.Windows.Forms.Control.DefWndProc(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.AxHost.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m) at System.Windows.Forms.Nativewindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(ApplicationContext context) at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine) at VNC_Command_Console_2.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81 at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args) at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()
|
|
|
|
|
Group: Administrators
Last Login: 2 days ago @ 4:49 PM
Posts: 1,248,
Visits: 2,125
|
|
|
|
|
|
Group: Forum Members
Last Login: Monday, August 20, 2007
Posts: 6,
Visits: 12
|
Works great! No Repro. Thanks.
|
|
|
|
|
Group: Forum Members
Last Login: Tuesday, February 10, 2009
Posts: 1,
Visits: 1
|
I have the same error - I understand what you're saying, but am not clear on how to implement it.
Can someone give me an example of how this can be fixed?
|
|
|
|
|
Group: Forum Members
Last Login: Thursday, August 05, 2010
Posts: 53,
Visits: 56
|
I cannot reproduce this problem using the latest ViewerX build. Could you please send us a sample code that we could use to reproduce the crash? Please email it to support@s-code.com
Regards, ---- Alex Morozov Chief Software Engineer SmartCode Solutions
|