blob: 8446e0cde050c55bc59ff1f82f2f2d68ed526aa5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
8.0.0: Crash when emulating MIPS executable
Description of problem:
A change to QEMU introduced within the 6.0.0 development cycle causes MIPS executable to crash.
Similar problem occurred within the same time-frame for Aarch64 executables, but was fixed.
Patches in QEMU causing both Aarch64 and MIPS occurrences are identified and attached below.
Steps to reproduce:
1. Download attached core_test.zip archive.
2. Run pre-built MIPS executable with QEMU.
3. Observe the crash somewhere in tdelete.
4. Source for the test is here: https://github.com/VectorChief/QuadRay-engine
5. The binaries were built with GCC 9.4 cross-compilers using slightly modified makefiles (-ggdb3) for gdb-multiarch
6. Building on Ubuntu 22.04 and Ubuntu 23.04 also reproduces the problem, so it's not OS or compiler specific.
Additional information:
Archive with pre-built binaries: [core_test.zip](/uploads/529833c6f83aeec253df647a94868f8a/core_test.zip)
Patch breaking Aarch64: [qemu_arm_br.diff](/uploads/476321e40a551e964be41a8bfda96613/qemu_arm_br.diff)
commit 8fe35e0444be88de4e3ab80a2a0e210a1f6d663d
Patch fixing Aarch64: [qemu_arm_fix.diff](/uploads/2db3892d6839e9a4dfaf427359d6f004/qemu_arm_fix.diff)
commit ae30e86661b0f48562cd95918d37cbeec5d02262
Patch breaking MIPS: [qemu_mips_br.diff](/uploads/0a482e61c1245e5783364db845a55dfa/qemu_mips_br.diff)
commit 96e5b4c7584d623f6cdcb0083829c19141b2b130
|