summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/1734.toml
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-05-21 21:21:26 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-05-21 21:21:26 +0200
commit4b927bc37359dec23f67d3427fc982945f24f404 (patch)
tree245449ef9146942dc7fffd0235b48b7e70a00bf2 /gitlab/issues/target_missing/host_missing/accel_missing/1734.toml
parentaa8bd79cec7bf6790ddb01d156c2ef2201abbaab (diff)
downloademulator-bug-study-4b927bc37359dec23f67d3427fc982945f24f404.tar.gz
emulator-bug-study-4b927bc37359dec23f67d3427fc982945f24f404.zip
add gitlab issues in toml format
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/1734.toml')
-rw-r--r--gitlab/issues/target_missing/host_missing/accel_missing/1734.toml24
1 files changed, 24 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/1734.toml b/gitlab/issues/target_missing/host_missing/accel_missing/1734.toml
new file mode 100644
index 00000000..ca87c578
--- /dev/null
+++ b/gitlab/issues/target_missing/host_missing/accel_missing/1734.toml
@@ -0,0 +1,24 @@
+id = 1734
+title = "mmap-ing more than 1GB of files fails on v8.0 of QEMU, but works on older version"
+state = "closed"
+created_at = "2023-06-27T04:59:08.216Z"
+closed_at = "2023-07-09T07:43:34.631Z"
+labels = ["linux-user"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/1734"
+host-os = "Ubuntu 22.04 LTS"
+host-arch = "x64 host"
+qemu-version = "qemu-arm version 8.0.50 (v8.0.0-1944-gcab35c73be)"
+guest-os = "ARM Linux 32-bit user mode application"
+guest-arch = "ARM"
+description = """Trying to run an application using QEMU user mode for an ARM binary.  My host system is Ubuntu 22.04 based.  The v6.2 from Ubuntu repos is able to mmap files that contain more than 1GB of address space, but version 8.0 that I compiled will not.
+
+I created a repo with a readme, and a simple application that you can use to demonstrate the problem:
+https://github.com/mwales/qemu_mmap_test
+
+Example application simply takes a list of files, mmaps the entire file into memory, and then computes a checksum of the file data.  Once the file(s) sizes exceed around 1GB, the mmap calls will fail because the memory from 0x00000000 - 0x40000000 has been exhausted."""
+reproduce = """1. Compile test application that mmaps entire files
+2. Create 5 256MB test files
+3. Run the program tell it to mmap all the files.  The first 3 files succeed, but the 4th when run gets a -1 returned from mmap."""
+additional = """Lots of details on my github writeup and a demo of the bug in question.
+
+It seems that this 1GB limit is an artifact of where QEMU loaded the original ELF binary at (0x40000000).  I've also been playing around with moving that address using the -B 0x80000000 option, but I've encountered other problems doing that.  As I diagnose that, I figured I would write up this report on what I've seen so far incase I'm doing something dumb / creating a bad build or something."""