Looking at the code it looks like it would be possible for there to be <12
bytes in the socket, so the read will return less that 12 bytes (because
you got very unlucky and the bytes were split across two packets).

Looking at the code fixing that assumption will be a bit of a pain.

Ali




On 11/25/14, 5:21 AM, "Gabe Black via gem5-dev" <gem5-dev@gem5.org> wrote:

>Hi folks. I've seen VNC related errors a couple of times which look like
>the following:
>
>gem5.opt: build/X86/base/vnc/vncserver.cc:382: void
>VncServer::checkProtocolVersion(): Assertion `len == 12' failed.
>
>Any idea what that's from? It's not annoying enough to spend time digging
>into it, but it is still a little annoying.
>
>Gabe
>_______________________________________________
>gem5-dev mailing list
>gem5-dev@gem5.org
>http://m5sim.org/mailman/listinfo/gem5-dev
>


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium.  Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No:  2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No:  2548782

_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to