X11DRV_DIB_CreateDIBSection

Ulrich Weigand weigand at immd1.informatik.uni-erlangen.de
Sun Apr 27 16:55:23 CDT 2003


Robert Lunnon wrote:

> Under Solaris I have a problem with this function.which appears to protect a 
> section of the DIB giving a portion of it no access at all and when the 
> application  tries to blit from it later,  a segfault results.

That's how it is supposed to be.  The segfault handler should then
call the handler installed by the X11 driver (via VIRTUAL_HandleFault),
which should mark the DIB as user-accessed, mark the DIB memory as
readable, and return to the app.

If this doesn't work correctly, there is most likely a problem with
the sparc segfault handler not calling VIRTUAL_HandleFault properly
(i.e. not called at all, called with incorrect fault address, ...).

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand at informatik.uni-erlangen.de



More information about the wine-devel mailing list