[gem5-dev] VNC errors

2014-11-25 Thread Gabe Black via gem5-dev
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

Re: [gem5-dev] VNC errors

2014-11-25 Thread Ali Saidi via gem5-dev
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