ViewerX Crash when idle


http://www.s-code.com/forum/Topic1782.aspx
Print Topic | Close Window

By kevinc - Friday, November 23, 2007
Hi

I've written a quality control application which is running in Access 2003 and I've used the ViewerX Active X plugin to view the screen and the person you are quality monitoring.

I'm being told that after 3 or 4 minutes of not using the system but leaving the viewer open, that is freezes up and ultimately will need to be restarted.

What seems to happen is that Access starts to use up tons and memory until it falls over. It doesn't do this if you do not engage the Viewer so it must be down to this.

I've tried running it in ZLIB mode and this made no difference.

I've tried using the highest levels of compression and this makes no difference.

Any suggestions?
By Yury Averkiev (s-code) - Sunday, November 25, 2007
Would it be possible for you to email to us your Access application so we could run it under a debugger and try to reproduce the problem?
By daniele.ciattaglia - Thursday, November 29, 2007
kevinc (11/23/2007)
Hi

I've written a quality control application which is running in Access 2003 and I've used the ViewerX Active X plugin to view the screen and the person you are quality monitoring.

I'm being told that after 3 or 4 minutes of not using the system but leaving the viewer open, that is freezes up and ultimately will need to be restarted.

What seems to happen is that Access starts to use up tons and memory until it falls over. It doesn't do this if you do not engage the Viewer so it must be down to this.

I've tried running it in ZLIB mode and this made no difference.

I've tried using the highest levels of compression and this makes no difference.

Any suggestions?

Hi

I wrote this problem many days ago in the topic "Problem with flash animations" or similar. I didn't receive answer to this.

If on the screen there's an animation running (like screen savers or flash movie), it freezes after 3 minutes.

I need a reply because i bought your ocx and this problem wasn't mentioned. now i need to make my application works.

Please answer or find the solution

Thank you so much

bye

By daniele.ciattaglia - Monday, December 03, 2007
heyyy...

is here someone???!?

Someone who can tell us something about this problem?????

thank you!!

By Alex (s-code) - Monday, December 03, 2007
Daniele,
we had run a overnight test here. A server computer with UltraVNC 1.0.2 installed was playing c:\windows\clock.avi video in the full screen mode. There were two ViewerX clients connected; one with screen stretching disabled and another had it enabled. They were running for about 8 hours and both working just fine.

I’m not sure what can do about it at the moment, since this problem is obviously not easy to reproduce. But we certainly will be keeping eye on this problem and if there is a bug in the code, hopefully it will be fixed sooner or later.

By daniele.ciattaglia - Tuesday, December 04, 2007
Ok thank you so much for the test..
I didn't try to play an avi file, i found problems when i'm playing one or more flash movie.

I hope this could be helpful for your tests.

Thank you so much again
I hope that you'll find a solution for this.

Bye

Daniele

By Alex (s-code) - Tuesday, December 04, 2007
Daniele, we will try it with a Flash file tonight. Although for a VNC client, it doesn't matter what type of file is played on the remote side, since all it sees is screen updates being sent by a VNC server.
By daniele.ciattaglia - Friday, December 07, 2007
Another thing...

i'm developing on windows vista... maybe it can help..

thank you in advance

Daniele

By daniele.ciattaglia - Friday, December 07, 2007
sorry i forget to say you this:

it's possible for you to send me a simple client project to test it in my solution? doing this we can know if the problem depends by my fault.
Maybe i wrong some configuration parameters.. i don't know..

thank you again.

Daniele

By Alex (s-code) - Saturday, December 08, 2007
i'm developing on windows vista... maybe it can help..

We are using Vista + SP RC1 as our primary development OS too.
By Alex (s-code) - Saturday, December 08, 2007
it's possible for you to send me a simple client project to test it in my solution? doing this we can know if the problem depends by my fault.
Maybe i wrong some configuration parameters.. i don't know..

Perhaps you could install a trial version of the VNC Manager? It uses ViewerX as built-in VNC clients and allows to configure all ViewerX settings.

By kevinc - Tuesday, May 13, 2008
Hi Alex

Apologies in the delay in getting back to you - I've tried running an overnight test with VNC Manager and this works ok.

The Access application still freezes up after 3 mins or so. The code I'm using is:

'Connect VNC Viewer
[IP].Value = [Form_Login]![txtIP].Value

'MsgBox ("Connecting to: " + [IP])
DoCmd.OpenForm "Connecting"
Pause (0.5)

Remote.Height = 6532
Remote.Width = 8709
Remote.HostIP = [IP].Value
Remote.MsPassword = "1hateRadmin"
Remote.MsUser = "UltraVNC"
Remote.MsDomain = "DBF"
Remote.Port = "5900"
Remote.Password = "car8bear"

If [View].Value = True Then

Remote.ViewOnly = True

Else

Remote.ViewOnly = False

End If

If [Stretch].Value = True Then

Remote.StretchMode = SSM_NONE

Else

Remote.StretchMode = SSM_FREE

End If

Remote.Connect
'End VNC

The ocx control is drag and dropped onto the Access form I'm using and is called Remote.
By Yury Averkiev (s-code) - Tuesday, May 13, 2008
Kevin,
we will try to reproduce the problem with Access here. Let me ask you what ViewerX build number do you use? Also when you are trying to reproduce the problem, do you have Screen Stretching turned on? The reason I'm asking is because about 7 months ago there was a bug with screen stretching:  ViewerX wasn't releasing GDI handles. Eventially the client computer would run out of GDI handles and the application would freeze. So I'm wondering if this is the same problem that you are expirinecing.
By kevinc - Tuesday, May 13, 2008
Hi

I've just checked and I've got the StretchMode set to SSM_NONE so I guess not...

Is there any other config I should check?

Thanks

Kev
By Yury Averkiev (s-code) - Tuesday, May 13, 2008
Kev,
I tried to create an Access application, but since it was my first ever attempt in Access programming it wasn't very successful Smile Could you just send us some ready to use simple Access application, which could be used to reproduce the problem?
By kevinc - Wednesday, May 14, 2008
Hi

Here you go - all you need to do is put in the IP of the computer.

There's some code behind the connect button that's got the username etc...

If you need any help then let me know.
By Yury Averkiev (s-code) - Friday, May 16, 2008
Thanks! I ran the application in Access 2007. A remote computer had media player opened playing c:\windows\clock.avi file (this is kinda our ultimate test when we run overnight tests on ViewerX Smile ). So anyway, I connected to the computer in using with screen stretching on and off and left the access running for about 10 minutes. In both cases the used memory amount stayed at pretty much value and Access didn't hang.

By the way, you didn’t answer, what ViewerX build number are you using?
By kevinc - Tuesday, May 20, 2008
Hi

I'm using version 2.9.

What we are experiencing is that when the supervisor is using this to quality monitor they get 2-4 calls in and then we get this looping memory crash.

This takes about 15 - 20 minutes - any chance you could rerun this test for say, 30 mins?

We are also using Access 2003.

Out of interest, what's the spec of your test machine?
By Yury Averkiev (s-code) - Tuesday, May 20, 2008
This takes about 15 - 20 minutes - any chance you could rerun this test for say, 30 mins?

sure...it's actually 9:30PM here now, so I'll just leave the test running for the night...

Out of interest, what's the spec of your test machine?

Vista Ultimate SP1 32 bit, 4GB RAM
By kevinc - Friday, May 23, 2008
Hi

Any update in this?

The machines I'm running this on are Athlon 4200+ (Dual Core) on XP SP2 with 2GBs of Ram.
By Yury Averkiev (s-code) - Friday, May 23, 2008
I'm not sure if it's a good or bad new but the overnight test didn't reveal any problems.