ViewerX Version 3.5.x crashing on connect/reconnect/disconnect


Author
Message
CEikeland
CEikeland
Supreme Being (569 reputation)Supreme Being (569 reputation)Supreme Being (569 reputation)Supreme Being (569 reputation)Supreme Being (569 reputation)Supreme Being (569 reputation)Supreme Being (569 reputation)Supreme Being (569 reputation)Supreme Being (569 reputation)
Group: Forum Members
Posts: 5, Visits: 60
Hi,

I'm using the ViewerX component a few years now in our products. Every now and then the ViewerX component will crash on connect/reconnect or disconnect from a vnc-server. This will happen with a single VNC-connection or with multiple VNC-connections.

This is reproducible with all the ViewerX versions 3.x.x 

Your ViewerX-Demos are affected and your latest version of VNC-Manger 6.9 is alsow affected. I have send a bugreport on this.

Client OS affected are WinXP, Win7 prof. Win 8 I have not tried yet.



I need this issue fixed!



Hope you can help!!

Thanx

CEikeland



//Snip Exception Start

24.09.2014 21:18:44: 0000000205: VNC->AxVNCX_Connecting()
24.09.2014 21:18:44: 0000000206: EXCEPTION->ex.MessageEine externe Komponente hat eine Ausnahme ausgelöst. [CLASS:StartApp->HandleUnhandledException][CALLED:SubMain]
24.09.2014 21:18:44: 0000000207: EXCEPTION->ex.InnerException.Message[leer] [CLASS:StartApp->HandleUnhandledException][CALLED:SubMain]
24.09.2014 21:18:44: 0000000208: EXCEPTION->ex.StackTrace   bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageA(MSG& msg)
   bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   bei System.Windows.Forms.Application.Run(Form mainForm)

// Snip End
Tags
Yury Averkiev (s-code)
Yury Averkiev (s-code)
Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)
Group: Administrators
Posts: 1.9K, Visits: 3.6K
Hi CEikeland,
we have been hunting this bug for close to two years now and frankly, it drives us nuts. No matter what we do we cannot reproduce this crash in a lab. 
Do you see any pattern with those crashes? Any specific details that might help us to reproduce the crash under a debugger? 

http://www.s-code.com/App_Themes/Default/images/blue_line.gif
Regards,
Yury Averkiev, SmartCode

CEikeland
CEikeland
Supreme Being (569 reputation)Supreme Being (569 reputation)Supreme Being (569 reputation)Supreme Being (569 reputation)Supreme Being (569 reputation)Supreme Being (569 reputation)Supreme Being (569 reputation)Supreme Being (569 reputation)Supreme Being (569 reputation)
Group: Forum Members
Posts: 5, Visits: 60
Hi,

our test scenario is pretty simple (using the ServerX component):

We set the idleTimeout property of the ServerX component to 10 sec. and let it disconnect.

The ViewerX component will try to reconnect to the ServerX component. And ViewerX will crash!!

Crashes (Exceptions raised!) occure:

- On ServerX disconnect
- On ViewerX connect/reconnect/disconnect
- On reading/setting properties like Viewer.visible etc. no matter what encoding used or scalefactor set.

sometimes it will crash immediately and sometimes it will reconnect fine 20 times until it chrashes.

I hope this will be usefull.

Regards

CEikeland
Yury Averkiev (s-code)
Yury Averkiev (s-code)
Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)
Group: Administrators
Posts: 1.9K, Visits: 3.6K
Would you be able to send us source code of the ViewerX application or debug version of the ViewerX application (we will need pdb files in this case) so we could run it under a debugger?

http://www.s-code.com/App_Themes/Default/images/blue_line.gif
Regards,
Yury Averkiev, SmartCode

CEikeland
CEikeland
Supreme Being (569 reputation)Supreme Being (569 reputation)Supreme Being (569 reputation)Supreme Being (569 reputation)Supreme Being (569 reputation)Supreme Being (569 reputation)Supreme Being (569 reputation)Supreme Being (569 reputation)Supreme Being (569 reputation)
Group: Forum Members
Posts: 5, Visits: 60
Hi,

well, you can test it with your own demo-code. Set up the ServerX as mentioned above and let the viewerx client automaticly reconnet to the server.



Regards

CEikeland
Yury Averkiev (s-code)
Yury Averkiev (s-code)
Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)
Group: Administrators
Posts: 1.9K, Visits: 3.6K
We had tried that. My suspicion is that there is a raise condition bug that manifests itself on certain hardware configurations only. We will give it another try, let it run overnight and see if it crashes.

http://www.s-code.com/App_Themes/Default/images/blue_line.gif
Regards,
Yury Averkiev, SmartCode

Yury Averkiev (s-code)
Yury Averkiev (s-code)
Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)
Group: Administrators
Posts: 1.9K, Visits: 3.6K
Hi CEikeland,
we have been able the bug that causes ViewerX and SmartCode VNC Manager to crash upon disconnect/reconnect.

A new build with the fix will be released by the end of this week.

http://www.s-code.com/App_Themes/Default/images/blue_line.gif
Regards,
Yury Averkiev, SmartCode

rick
rick
Supreme Being (3.4K reputation)Supreme Being (3.4K reputation)Supreme Being (3.4K reputation)Supreme Being (3.4K reputation)Supreme Being (3.4K reputation)Supreme Being (3.4K reputation)Supreme Being (3.4K reputation)Supreme Being (3.4K reputation)Supreme Being (3.4K reputation)
Group: Forum Members
Posts: 30, Visits: 108
Same problem occured when I used ViewerX 3.5.9.0, so this bug seems no fixed on version 3.5.9.
Yury Averkiev (s-code)
Yury Averkiev (s-code)
Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)
Group: Administrators
Posts: 1.9K, Visits: 3.6K
Hi Rick,
I'm sorry to hear that. This must be a different bug then. Because since release of the ViewerX 3.5.9 and VNC Manager 6.9.12, we are not seeing disconnect related crashes in the automatic crash reports. 

When ViewerX crashes, what's the memory address where the crash occurs? 

http://www.s-code.com/App_Themes/Default/images/blue_line.gif
Regards,
Yury Averkiev, SmartCode

rick
rick
Supreme Being (3.4K reputation)Supreme Being (3.4K reputation)Supreme Being (3.4K reputation)Supreme Being (3.4K reputation)Supreme Being (3.4K reputation)Supreme Being (3.4K reputation)Supreme Being (3.4K reputation)Supreme Being (3.4K reputation)Supreme Being (3.4K reputation)
Group: Forum Members
Posts: 30, Visits: 108
Crash Reports :


ServerX


ViewerX




(same issue I had post on ServerX forum #4644 . )




Rick.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Explore
Messages
Mentions
Search