mprotect fails after MacOS 11.2 on arm mac
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I got the following error when I ran qemu on arm mac(MacOS 11.2).
```
$ ./qemu-
qemu-system-x86_64: qemu_mprotect_
**
ERROR:.
Bail out! ERROR:.
[1] 34898 abort ./qemu-
```
I tested the same version of qemu on intel mac(MacOS 11.2), but it works fine.
And my friend told me that they did not have this error with MacOS 11.1.
So, I think it is CPU architecture or an OS version dependent error.
Environment:
Qemu commit id: d0dddab40e472ba
OS: MacOS 11.2(20D64)
Hardware: MacBook Air (M1, 2020)
How to build:
```
mkdir build/
cd build/
../configure --target-
make
```
How to reproduce:
```
./qemu-
```
Error message:
```
$ ./qemu-
qemu-system-x86_64: qemu_mprotect_
**
ERROR:.
Bail out! ERROR:.
[1] 34898 abort ./qemu-
```
Changed in qemu: | |
status: | New → Confirmed |
Changed in qemu: | |
status: | Confirmed → Fix Committed |
Thanks for submitting the ticket.
I've just stumbled upon it after updating to 11.2.
The question was already asked on apple developer forums: https:/ /developer. apple.com/ forums/ thread/ 672804
And there's a thread going on with regard to broken nodejs on 11.2: /github. com/nodejs/ node/issues/ 37061#issuecomm ent-774175983
https:/