Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Feb 2021 22:45:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   [Bug 253335] emulators/qemu-user-static php segfault building devel/pear for armv7
Message-ID:  <bug-253335-4077-LeQLR1TKVF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253335-4077@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253335-4077@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253335

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
           Assignee|kevans@freebsd.org          |markj@FreeBSD.org

--- Comment #7 from Mark Johnston <markj@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) =3D 0xf4206000
71585 mprotect(0xf4206000,0x10000,7) =3D 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 mm=
ap()
call.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253335-4077-LeQLR1TKVF>