[Spice-devel] Bug : KeyEvent up not sent?

Frédéric Grelot fredericg_99 at yahoo.fr
Mon Apr 4 12:51:17 PDT 2011


OK, I had a look at the dump, but I don't know the protocol well enough to be able to say anything relevant...
I see few packet tagged as protocol "spice invalid" (Info : Server MIGRATE_DATA), and some tagged as "Client link message[Malformed Packet]".
actually the dump is quite small, so I put it as attachment.
It correspond to the following events :
-connect to client
-[guest] launch gedit 
-[client] start wireshark session
-[guest] click in gedit
-[guest] press 1 (on numpad)
-[guest] release 1
-[guest] press 2
-[guest] release 2
-[guest] press 3
-[guest] release 3
*3 keeps printing*
-[guest] press and immediately release 3
-[guest, then client] move mouse over to wireshark window, and stop the session

Server is 192.168.1.2 and client is 192.168.1.3

I hope somebody can have a look at this and help me...

Frederic

-- 
while(!asleep()) sheep++

----- Mail original -----
> On Sun, Apr 03, 2011 at 11:35:09PM +0200, Frédéric Grelot wrote:
> > Just tried again :
> > I launched my F14 guest, and could trigger the bug after the 3rd
> > key.
> > I pressed 1, 2, 3, .... just enough time to have
> > "1111111111122222222223333333333...", and at 3, it kept writing
> > while I released.
> > I have a wireshark session of it, but don't really know what to do
> > with it (I know there is work on a wireshark dissector, but I
> > don't think it has been pushed upstream yet, since I can't find
> > "spice" in the protocol list).
> > 
> 
> Hi Frederic,
> 
>  There is an experimental build of wireshark with a spice dissector
>  available
>  at spice-space.org/download.html#wireshark, you can try that.
> 
> Alon
> 
> > Frederic.
> > 
> > 
> > --
> > frederic at grelot.net
> > Tél : 09 54 76 14 26 / 06 82 23 46 17
> > while(!asleep()) sheep++
> > 
> > ----- Mail original -----
> > > Hi all,
> > >
> > > I've not been able to provide more information about this bug,
> > > but it
> > > happened again today, using :
> > > -same server
> > > -wired ethernet (Gb, 1 switch only, never had any problems)
> > > -recent client from git (cloned, say 1 week ago)
> > > -latest qemu/spice from virt-preview repo
> > > -more decent (i.e. powerfull) client hardware
> > > -F14 and F15 alpha (x86_64) guests, even got the bug during
> > > F15_alpha
> > > install (anaconda)
> > >
> > > The problem was identical : I press one key, and it stays pressed
> > > although I released it.
> > > I just thought about this : I don't remember using the mouse at
> > > the
> > > same "time", but can not say for sure.
> > >
> > > Hope this helps!
> > >
> > > Could you give an idea of the amount of traffic between spice
> > > client
> > > and server? the bug does not occur really often, so maybe I
> > > should
> > > setup wireshark, but I don't know if it will hold...
> > >
> > > Thanks for your help (and your work!)
> > >
> > > Frederic.
> > >
> > >
> > >
> > > ----- Mail original -----
> > > > On Thu, Feb 24, 2011 at 11:45:15PM +0100, Frédéric Grelot
> > > > wrote:
> > > > > Hi all,
> > > > >
> > > > > I'm currently using Spice to develop on a remote computer
> > > > > (more
> > > > > powerfull than my laptop, which makes me spare quite a lot of
> > > > > time
> > > > > waiting for the builds!), and I come to a quite annoying bug
> > > > > when
> > > > > I use it : relatively often, some event seem not to be sent.
> > > > > The most noticeable is a keyevent up, since the character
> > > > > keeps
> > > > > printing, but I cannot say that other events are not dropped.
> > > > > I
> > > > > waited for few seconds and the event is definitely lost : the
> > > > > only
> > > > > way to stop the characters from printing (or removing if I
> > > > > pressed
> > > > > backspace!) is to press/release another key.
> > > > > I don't really know how to get more information about this
> > > > > bug :
> > > > > there is nothing in the logs (client, server, and tail -f
> > > > > /var/log/* on the guest shows nothing).
> > > > > My versions are as follow :
> > > > > -server : git, spice.kvm.v28, fedora 14, all updates
> > > > > -client : built from git, 0.7.3, Ubuntu 10.10, all updates
> > > > > -guest : fedora 14, all updates
> > > > >
> > > > > This is quite annoying, since it happens almost once every 20
> > > > > key
> > > > > pressed I would say, which is quite a lot!
> > > > > It happens whether I am in fullscreen or not.
> > > > >
> > > > > Tell me if you need more information about this, I would be
> > > > > pleased
> > > > > to help!
> > > >
> > > > What kind of network? I mean, can you reproduce this with
> > > > localhost?
> > > > (client == server) Or can you create
> > > > some synthetic environment to trigger it? Is it a specific key
> > > > (ok,
> > > > I'm reaching)? Does it happen when the guest
> > > > is in X only, or also console?
> > > > >
> > > > > Frederic.
> > > > > _______________________________________________
> > > > > Spice-devel mailing list
> > > > > Spice-devel at lists.freedesktop.org
> > > > > http://lists.freedesktop.org/mailman/listinfo/spice-devel
> > > >
> > > _______________________________________________
> > > Spice-devel mailing list
> > > Spice-devel at lists.freedesktop.org
> > > http://lists.freedesktop.org/mailman/listinfo/spice-devel
> > >
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug-spice.capture
Type: application/octet-stream
Size: 138947 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110404/a875d109/attachment-0001.obj>


More information about the Spice-devel mailing list