Re: [Qemu-devel] qmeu-arm SIGSEGV for self-modifying code

2017-09-20 Thread Peter Maydell
On 20 September 2017 at 00:13, John Reiser wrote: > [Moving here from https://bugzilla.redhat.com/show_bug.cgi?id=1493304 ] > > qemu-arm from qemu-user-2.10.0-1.fc27.x86_64 (thus emulating 32-bit ARM on > x86_64) > generates SIGSEGV when code modifies a never-previously executed instruction > tha

Re: [Qemu-devel] qmeu-arm SIGSEGV for self-modifying code

2017-09-20 Thread Peter Maydell
On 20 September 2017 at 11:21, Peter Maydell wrote: > On 20 September 2017 at 00:13, John Reiser wrote: >> [Moving here from https://bugzilla.redhat.com/show_bug.cgi?id=1493304 ] >> >> qemu-arm from qemu-user-2.10.0-1.fc27.x86_64 (thus emulating 32-bit ARM on >> x86_64) >> generates SIGSEGV when

[Qemu-devel] qmeu-arm SIGSEGV for self-modifying code

2017-09-19 Thread John Reiser
[Moving here from https://bugzilla.redhat.com/show_bug.cgi?id=1493304 ] qemu-arm from qemu-user-2.10.0-1.fc27.x86_64 (thus emulating 32-bit ARM on x86_64) generates SIGSEGV when code modifies a never-previously executed instruction that is on a writable page and is 848 bytes ahead of pc. A real