summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_arm/accel_TCG/1714.toml
blob: 9c70f80a0c6f8954ea03fc7d3bbe1ef9d161baeb (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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
id = 1714
title = "QEMU crashes on ARMv7 since at least commit 493c9b19"
state = "closed"
created_at = "2023-06-18T16:06:16.540Z"
closed_at = "2024-02-14T15:45:11.632Z"
labels = ["Closed::Fixed", "accel: TCG", "host: arm"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/1714"
host-os = "Android"
host-arch = "ARMv7a"
qemu-version = "7.2.50 .. 8.0.0 .. 8.0.2 .. master"
guest-os = "TinyCore Linux 12"
guest-arch = "x86"
description = """I'm trying to build QEMU for Android, Arm64 versions work well, but **Armv7** builds began to crash nearly since this series of commits (QEMU 7.2.50), related to 'TCG_TARGET_HAS_direct_jump' removal by @rth7680.
More precisely, this commit still works:

https://gitlab.com/qemu-project/qemu/-/commit/82df11e78d0baef7ffb7e7933c6fb830ffed087c

and this one crashes:

https://gitlab.com/qemu-project/qemu/-/commit/493c9b19a7fb7f387c4fcf57d3836504d5242bf5

(I tracked commits of 'tcg' subfolder and didn't bisect finer, but it's possible if needed).

Both qemu-system-x86_64 and qemu-system-i386 emulators crash.

**The crash is related to translation buffer size** : if I don't specify "-accel tcg,thread=single **,tb-size=256** ", the machine works.

The problem is that I can not run debugger on a phone, and crash dump does not show any useful information, just "segfault" reason ("Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xe19b8000").

Even more, the Linux starts and runs, but it crashes only when I'm trying to run the GIMP, between splash screen and main interface appearance.

I know that 1) Android is not officially supported and 2) 32-bit hosts were considered deprecated recently, but maybe it's possible to do something with these crashes?

Recent master (https://gitlab.com/qemu-project/qemu/-/commit/5692a39f329413a00020a61fff95aff6b9884a73) doesn't work as well.
All 8.0.x Arm64 builds are runnable.

Thanks in advance."""
reproduce = "n/a"
additional = "n/a"