Sanity Check: Bogus(?) General Protection Fault

Eric van Gyzen eric at vangyzen.net
Wed Aug 6 17:11:15 UTC 2014


On 08/06/2014 12:19, Matt Fleming wrote:
> On Wed, 06 Aug, at 11:55:28AM, Eric van Gyzen wrote:
>> Thanks, Matt.  That has always been my understanding (and I just found
>> the docs to confirm).  I doubted myself because the problem is now even
>> more bizarre.  The mov before the faulting instruction apparently didn't
>> complete.  %r11 is still an old value, not 0x....f7a8.
>  
> The mov to %r11 isn't an immediate move, it's a memory read. So
> %r11 will contain the *contents* of 0xffffffff809bf7a, not the address
> itself (note the missing '$' as in the shr instruction above it).

Argh!  THAT was the sanity-check I needed.  Thanks again, Matt.

"It's always some mundane detail."  --Michael Bolton

Eric


More information about the freebsd-hackers mailing list