[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: X11DRV_DIB_CreateDIBSection
From:       Ulrich Weigand <weigand () immd1 ! informatik ! uni-erlangen ! de>
Date:       2003-04-27 21:55:23
[Download RAW message or body]

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@informatik.uni-erlangen.de

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic