[Vm-dev] Odd image lock-up on Unix

Andreas Raab andreas.raab at gmx.de
Tue Apr 3 03:15:59 UTC 2007

What I'm much more curious about is this:

#2  0x0806fc03 in aioSleep (microSeconds=-1075955024) at 
#3  0x00b34001 in display_ioRelinquishProcessorForMicroseconds 
     at /home/araab/QwaqVM/platforms/unix/vm-display-X11/sqUnixX11.c:2304

How can a call to display_ioRelinquishProcessorForMicroseconds(1000) end 
up to be a call to aioSleep(-1075955024) given that it is implemented 
like here:

static sqInt display_ioRelinquishProcessorForMicroseconds(sqInt 
   aioSleep(handleEvents() ? 0 : microSeconds);
   return 0;

The only difference I see is that the argument is declared as sqInt but 
that aioSleep takes an int - but I wouldn't expect that to cause 
problems. Unless it's been declared even differently from that, but in 
this case I would expect every call to go wrong.

Any theories to offer anyone? (other than cosmic rays)

   - Andreas

More information about the Vm-dev mailing list