Sanity Check: Bogus(?) General Protection Fault

Matt Fleming matt at console-pimps.org
Wed Aug 6 16:26:56 UTC 2014


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).

-- 
Matt Fleming, Intel Open Source Technology Center


More information about the freebsd-hackers mailing list