Public bug reported:
This can be simply reproduced by compiling and running the attached C
code (readdir-bug.c) under 32-bit user-static qemu, such as qemu-arm-
static:
# Setup docker for user-static binfmt
docker run --rm --privileged multiarch/qemu-user-static:register --reset
# Compile the cod
I sent out a patch:
http://lists.nongnu.org/archive/html/qemu-devel/2018-10/msg01657.html
(Please ignore the other 2 identical patches. It was my first time sending out
patches and I didn't know it was moderated so I sent it out multiple times).
--
You received this bug notification because you
I was hit by this issue when I tried to run some Java program. And it
turns out jdk sets the buf to NULL:
http://hg.openjdk.java.net/jdk7/jdk7/jdk/file/887e525597f8/src/solaris/native/java/net/NetworkInterface.c#l1042
Setting to NULL is valid according to http://man7.org/linux/man-
pages/man7/netd
Public bug reported:
To reproduce it, compile the attached crash.c under aarch64 to a.out and
execute on x86_64
qemu-aarch64-static ./a.out
It will print the following and crash:
socket=3
qemu:handle_cpu_signal received signal outside vCPU context @ pc=0x60038cd6
qemu:handle_cpu_signal received
Thanks Peter for your information.
I was hit by the bug when trying to compile bazel (a build system open-
sourced by Google: https://bazel.build) and the code is at
https://github.com/bazelbuild/bazel/blob/master/third_party/ijar/mapped_file_unix.cc#L116
Of course I can send PR to fix that in ba
** Tags added: arm
** Tags added: linux-user
** Tags added: qemu
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1779955
Title:
qemu-arm-static read() doesn't accept mmap address as destination
St
Public bug reported:
When read() function takes an mmap'ed address as output buffer, it
returns EFAULT. The expected behavior is it should just work.
The following code works for qemu-system-arm, but not for qemu-arm-
static.
QEMU version affected: latest release 2.12.0.
Steps to reproduce (ple