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

Mark Johnston <ma...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
           Assignee|kev...@freebsd.org          |ma...@freebsd.org

--- Comment #7 from Mark Johnston <ma...@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.
_______________________________________________
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"

Reply via email to