summary refs log tree commit diff stats
path: root/results/classifier/zero-shot-user-mode/instruction/1888728
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-07-08 13:28:15 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-07-08 13:28:28 +0200
commit5aa276efcbd67f4300ca1a7f809c6e00aadb03da (patch)
tree9b8f0e074014cda8d42f5a97a95bc25082d8b764 /results/classifier/zero-shot-user-mode/instruction/1888728
parent1a3c4faf4e0a25ed0b86e8739d5319a634cb9112 (diff)
downloademulator-bug-study-5aa276efcbd67f4300ca1a7f809c6e00aadb03da.tar.gz
emulator-bug-study-5aa276efcbd67f4300ca1a7f809c6e00aadb03da.zip
restructure results
Diffstat (limited to 'results/classifier/zero-shot-user-mode/instruction/1888728')
-rw-r--r--results/classifier/zero-shot-user-mode/instruction/188872825
1 files changed, 25 insertions, 0 deletions
diff --git a/results/classifier/zero-shot-user-mode/instruction/1888728 b/results/classifier/zero-shot-user-mode/instruction/1888728
new file mode 100644
index 00000000..e5ec58d1
--- /dev/null
+++ b/results/classifier/zero-shot-user-mode/instruction/1888728
@@ -0,0 +1,25 @@
+instruction: 0.503
+runtime: 0.298
+syscall: 0.200
+
+
+
+Bare chroot in linux-user fails with pgb_reserved_va: Assertion `guest_base != 0' failed.
+
+Trying to run a bare chroot with no additional bind mounts fails on git master (8ffa52c20d5693d454f65f2024a1494edfea65d4) with:
+
+root@nofan:~/qemu> chroot /local_scratch/sid-m68k-sbuild/
+qemu-m68k-static: /root/qemu/linux-user/elfload.c:2315: pgb_reserved_va: Assertion `guest_base != 0' failed.
+Aborted
+root@nofan:~/qemu>
+
+The problem can be worked around by bind-mounting /proc from the host system into the target chroot:
+
+root@nofan:~/qemu> mount -o bind /proc/ /local_scratch/sid-m68k-sbuild/proc/
+root@nofan:~/qemu> chroot /local_scratch/sid-m68k-sbuild/
+bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
+(sid-m68k-sbuild)root@nofan:/#
+
+Host system is an up-to-date Debian unstable (2020-07-23).
+
+I have not been able to bisect the issue yet since there is another annoying linux-user bug (virtual memory exhaustion) that was somewhere introduced and fixed between v5.0.0 and HEAD and overshadows the original Assertion failure bug.
\ No newline at end of file