[Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Feb 8 22:45:57 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253335
Mark Johnston <markj at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|New |Open
Assignee|kevans at freebsd.org |markj at FreeBSD.org
--- Comment #7 from Mark Johnston <markj at FreeBSD.org> ---
We're crashing on a write to 0xf4215a70. Shortly before, we had mmapped a
region containing that address:
71585 mmap(0,65536,7,4098,-1,0) = 0xf4206000
71585 mprotect(0xf4206000,0x10000,7) = 0
and I can't see any subsequent system calls that would modify that mapping, but
procstat -v shows:
71585 0xf4206000 0xf4215000 rwx 1 2 2 0 ----- df
71585 0xf4215000 0xf4216000 r-x 1 2 2 0 ----- df
so indeed the last page is not writeable. I'm not sure why libpcre is
mprotect()ing a region to set the permissions specified by the preceding mmap()
call.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list