[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 9 05:27:36 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335

Mark Johnston <markj at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |imp at FreeBSD.org

--- Comment #10 from Mark Johnston <markj at FreeBSD.org> ---
The problem appears to be with this commit:
https://github.com/qemu-bsd-user/qemu-bsd-user/commit/63d5d4f649f44f8e3d9105dec40a354d92a19550

That check is indeed needed.  qemu relies on delivery of SIGSEGV to detect
self-modifying code so that it can update its translation cache accordingly. 
This will manifest as a page fault, so ksi_trapno is T_PAGEFLT == 0xc on amd64.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-emulation mailing list