Hi Naga,

Tested and reproduced it on Win7.
I don't have a patch yet for solving it, but you comment out the line:
//ret = _running = false;
so vdagent won't exit, although mouse will not be effective on such apps.
If it's a must, meanwhile you can always switch back to server mouse mode by stopping vdservice. You can also use usbtablet in case you don't need vdagent functionality (multi mon, c&p etc.)
I'll update you when I have a patch ready (currently not top priority).

Regards,
Arnon



Naga Mohan Pothula wrote:
Hi Arnon,
Have you checked installing kaspersky trail version? Here is the eror that causes vdagent.exe to be terminated abruptly.
VDAgent::send_input::SendInput failed: 0
VDAgent::run::Agent stopped
I've checked integrity level of Kaspersky UI process and it is lesser than VDAgent.exe Thanks/Naga.


________________________________
From: Arnon Gilboa <agil...@redhat.com>fail due to UIPI blocking
To: Naga Mohan Pothula <nagamohan.poth...@yahoo.com> Cc: "spice-devel@lists.freedesktop.org" <spice-devel@lists.freedesktop.org> Sent: Sunday, August 5, 2012 9:54 AM
Subject: Re: [Spice-devel] Mouse failure happens when mouse hovers on some Apps 
like Kaspersky Anti-virus tool.

Naga Mohan Pothula wrote:
Hi,

VDAgent in Windows 7 guest gets terminated when mouse hovers on some applications like 
Kaspersky Anti-virus tool. Noticed SendInput Windows API fails whenever any mouse 
operation performs on this tool. "handle_mouse_event" method returns with 
failure due to this and causes VDAgent to terminate.
what's the error logged in %windir%\temp\vdagent.log? look for "SendInput failed: 
...")
Initially, I thought it is UIPI ie., Process Integrity Level issue and observed 
as follows:
VDService with SYSTEM a/c creates VDAgent with SYTEM a/c
Kaspersky tool is service-based app with SYSTEM a/c creates process to handle 
UI with logged-on user and with 'Medium' Integrity level.

Don't understand why SendInput API fails even VDAgent with higher integrity 
level than Kaspersky tool?
Is there any other way to make VDAgent works for all applications installed in 
windows guest?
will give it a look and update you accordingly.
Thanks\Naga.

  ------------------------------------------------------------------------

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to