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


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

Author
Message
CEikeland
View Quick Profile

Supreme Being
Supreme Being (493 reputation)Supreme Being (493 reputation)Supreme Being (493 reputation)Supreme Being (493 reputation)Supreme Being (493 reputation)Supreme Being (493 reputation)Supreme Being (493 reputation)Supreme Being (493 reputation)Supreme Being (493 reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 5, Visits: 59
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

Bug
Yury Averkiev (s-code)
View Quick Profile

Supreme Being
Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)

Group: Administrators
Last Active: 7 days ago @ 10:28 PM
Posts: 1.9K, Visits: 3.5K
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
Kindest Regards,
SmartCode Solutions Support
CEikeland
View Quick Profile

Supreme Being
Supreme Being (493 reputation)Supreme Being (493 reputation)Supreme Being (493 reputation)Supreme Being (493 reputation)Supreme Being (493 reputation)Supreme Being (493 reputation)Supreme Being (493 reputation)Supreme Being (493 reputation)Supreme Being (493 reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 5, Visits: 59
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)
View Quick Profile

Supreme Being
Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)

Group: Administrators
Last Active: 7 days ago @ 10:28 PM
Posts: 1.9K, Visits: 3.5K
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
Kindest Regards,
SmartCode Solutions Support
CEikeland
View Quick Profile

Supreme Being
Supreme Being (493 reputation)Supreme Being (493 reputation)Supreme Being (493 reputation)Supreme Being (493 reputation)Supreme Being (493 reputation)Supreme Being (493 reputation)Supreme Being (493 reputation)Supreme Being (493 reputation)Supreme Being (493 reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 5, Visits: 59
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)
View Quick Profile

Supreme Being
Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)

Group: Administrators
Last Active: 7 days ago @ 10:28 PM
Posts: 1.9K, Visits: 3.5K
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
Kindest Regards,
SmartCode Solutions Support
Yury Averkiev (s-code)
View Quick Profile

Supreme Being
Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)

Group: Administrators
Last Active: 7 days ago @ 10:28 PM
Posts: 1.9K, Visits: 3.5K
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
Kindest Regards,
SmartCode Solutions Support
rick
View Quick Profile

Supreme Being
Supreme Being (3K reputation)Supreme Being (3K reputation)Supreme Being (3K reputation)Supreme Being (3K reputation)Supreme Being (3K reputation)Supreme Being (3K reputation)Supreme Being (3K reputation)Supreme Being (3K reputation)Supreme Being (3K reputation)

Group: Forum Members
Last Active: Last Year
Posts: 27, Visits: 74
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)
View Quick Profile

Supreme Being
Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)Supreme Being (193K reputation)

Group: Administrators
Last Active: 7 days ago @ 10:28 PM
Posts: 1.9K, Visits: 3.5K
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
Kindest Regards,
SmartCode Solutions Support
rick
View Quick Profile

Supreme Being
Supreme Being (3K reputation)Supreme Being (3K reputation)Supreme Being (3K reputation)Supreme Being (3K reputation)Supreme Being (3K reputation)Supreme Being (3K reputation)Supreme Being (3K reputation)Supreme Being (3K reputation)Supreme Being (3K reputation)

Group: Forum Members
Last Active: Last Year
Posts: 27, Visits: 74
Crash Reports :


ServerX


ViewerX




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




Rick.


Similar Topics


Reading This Topic