Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Memory Errors on disconnect from UVNC Server 104 with AESV2

Should you have problems with the DSM plugin, here's the place to look for help or report issues
Post Reply
desk_jedi
Posts: 6
Joined: 2008-05-30 16:09
Location: Ft. Worth, TX
Contact:

Memory Errors on disconnect from UVNC Server 104 with AESV2

Post by desk_jedi »

Whenever I disconnect from the VNC Server I get the following Windows Error message:

[Message Pop-up]
<HOSTNAME> ( 192.123.123.123 ) --- Ultr@VNC Viewer + AESV2 Plugin-v1.0.0.0: vncviewer.exe - Application Error : The instruction at "0x7c910f29" referenced memory at "0x00000000". The memory could not be "read".

Click on OK to terminate the program
Click on CANCEL to debug the program
[/Message Pop-up]

It doesn't affect the functionality of VNC as far as I can tell, but it is annoying and didn't start until after I upgraded the VNC Server and Viewers to the latest 104 release.

I tried generating and using a new AESV2 key to see if that would help but the error persists. As far as I can tell this doesn't affect the Server in any way. I cannot find any errors in the Windows Events logs or in the VNC server logs except for the one posted below (which I'm not convinced is connected to the issue)

[VNC Server Log Snippet]
Thu May 15 19:04:49 2008
.\vncdesktopthread.cpp : WaitMessage() skip

... (message repeats some 20+ more times)

.\vncdesktopthread.cpp : WaitMessage() skip
.\vsocket.cpp : zero bytes read1
.\vncservice.cpp : SelectHDESK to Winlogon (2c) from 1a0
.\vncclient.cpp : client disconnected : 207.71.54.247 (1)
.\vncclient.cpp : disable update thread
.\vncclient.cpp : enable/disable synced
.\vncclient.cpp : kill update thread
.\vncclient.cpp : stopping update thread
client sent 775 updates
.\vncclient.cpp : update thread gone
.\vncserver.cpp : removing authorised client
.\vncserver.cpp : deleting desktop server
.\vncdesktop.cpp : killing screen server
.\vncdesktopthread.cpp : quitting desktop server thread
.\vncdesktop.cpp : SetBlankMonitor: monitor on, using alpha false
.\vncdesktop.cpp : Monitor22 -1
.\vncdesktop.cpp : Monitor3 61808 -1
.\vncdesktop.cpp : SetBlankMonitor: monitor on, using alpha false
--The system cannot find the file specified.
.\vncdesktop.cpp : Monitor22 -1
.\vncdesktop.cpp : Monitor3 61808 -1
.\vncdesktop.cpp : SetDisableInput: inputs enabled
--The system cannot find the file specified.
.\vncdesktop.cpp : BlockInput failed: Last error 00000000
Thu May 15 19:04:50 2008
.\vncservice.cpp : SelectHDESK to Winlogon (2c) from 1a4
[/VNC Server Log Snippet]

I have not yet had the opportunity to test connections without the AESV2 Plugin enabled. I will try that this weekend and post the results here.

Any assistance offered toward getting this issue resolved is greatly appreciated.

Thanks,

D_J
Last edited by desk_jedi on 2008-06-05 16:36, edited 1 time in total.
Nothing is foolproof to a sufficiently talented fool.

Image
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Memory Errors on disconnect from UVNC Server 104 with AE

Post by redge »

vista + aesv2plugin.dsm fail on vista sp1

vncviewer 104 RC16
Faulting application vncviewer.exe, version 1.0.4.914, time stamp 0x48289b65, faulting module AESV2Plugin.dsm, version 1.0.0.0, time stamp 0x4401127a, exception code 0xc0000005
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
desk_jedi
Posts: 6
Joined: 2008-05-30 16:09
Location: Ft. Worth, TX
Contact:

Re: Memory Errors on disconnect from UVNC Server 104 with AE

Post by desk_jedi »

Redge, I came across that in another thread in this forum, but at this point I'm not even dealing with Vista.

Both the Server and Viewer are running Windows XP Pro SP2.

If there is any additional information you need concerning server or viewer please let me know.

Thanks,

D_J
Nothing is foolproof to a sufficiently talented fool.

Image
desk_jedi
Posts: 6
Joined: 2008-05-30 16:09
Location: Ft. Worth, TX
Contact:

Re: Memory Errors on disconnect from UVNC Server 104 with AE

Post by desk_jedi »

I was able to determine that the error does not occur when the AESV2 Plugin is not enabled. So it would appear that it has something to do with the current version of the plugin and UVNC 104.
Nothing is foolproof to a sufficiently talented fool.

Image
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Memory Errors on disconnect from UVNC Server 104 with AE

Post by redge »

teacherwilli wrote:I tried now "EnableHook=0" in the ini-file and now it´s OK!
ini file is the ultravnc.ini
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
desk_jedi
Posts: 6
Joined: 2008-05-30 16:09
Location: Ft. Worth, TX
Contact:

Re: Memory Errors on disconnect from UVNC Server 104 with AE

Post by desk_jedi »

On which side? Server, viewer or both?
Nothing is foolproof to a sufficiently talented fool.

Image
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Memory Errors on disconnect from UVNC Server 104 with AE

Post by redge »

caused by server side.
ultravnc.ini = file read/write by ultravnc server only
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
desk_jedi
Posts: 6
Joined: 2008-05-30 16:09
Location: Ft. Worth, TX
Contact:

Re: Memory Errors on disconnect from UVNC Server 104 with AE

Post by desk_jedi »

Thanks, I will give it shot this weekend and post the results. :D
Nothing is foolproof to a sufficiently talented fool.

Image
desk_jedi
Posts: 6
Joined: 2008-05-30 16:09
Location: Ft. Worth, TX
Contact:

Re: Memory Errors on disconnect from UVNC Server 104 with AE

Post by desk_jedi »

I checked the ultravnc.ini but no "EnableHook" setting existed. I added EnableHook=0 to the configuration file and restarted the VNC Server. I still get the same memory error when the viewer disconnects from the server.
Last edited by desk_jedi on 2008-06-07 12:28, edited 1 time in total.
Nothing is foolproof to a sufficiently talented fool.

Image
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Memory Errors on disconnect from UVNC Server 104 with AE

Post by redge »

> I checked the ultravnc.ini but no "EnableHook" setting existed.

UltraVNC 104RC16 on xp home/pro do not write all functions to ultravnc.ini
UltraVNC 104RC16 on vista write all functions to ultravnc.ini


I will try if I have same issue with AESV2Plugin.dsm
Last edited by redge on 2008-06-07 16:55, edited 1 time in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Memory Errors on disconnect from UVNC Server 104 with AE

Post by redge »

server: XP Home SP3
viewer: XP Pro SP3

server: 104RC16 as service + aesv2plugin.dsm + aesv2.key
viewer: 104RC16 + aesv2plugin.dsm + aesv2.key

confirmed:
I have error while vncviewer disconnect from server. (viewer side)
drwatson postmortem debugger.
event log type 1000
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Post Reply