summary refs log tree commit diff stats
path: root/gitlab/issues/target_i386/host_missing/accel_TCG/1826.toml
blob: ada1e591c186888c62d9f88a5dc6314c6d1b539e (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
id = 1826
title = "Segfault in memory_region_dispatch_write()"
state = "closed"
created_at = "2023-08-11T14:27:26.551Z"
closed_at = "2023-08-30T16:22:37.489Z"
labels = ["Closed::Fixed", "accel: TCG", "target: i386"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/1826"
host-os = "WSL2 Ubuntu"
host-arch = "x86_64"
qemu-version = "v8.1.0-rc3 (plus a bit though this persists from yesterday at least)"
guest-os = "ubuntu"
guest-arch = "x86_64 (arm64 is fine)"
description = """Several possible outcomes
- Kernel freeze and rcu lockup messages.
- segfault
 
For segfault, using gdb.
```
in memory_region_dispatch_write (mr=mr@entry=0x130013001300013, addr=addr@entry=176, data=dat@entry=0, op=op@entry=M0_42, attrs=...) at ../../softwmmu/memory.c:1515
1515     if (mr->alias) {

in memory_region_dispatch_write(  .. as above...)
in io_writex(env=env@entry=0x555556a84320, full=full@entry=0x7ffda010f630, mmu_idx=mmu_idx@entry=0, val=0, addr=addr@entry=18446744073699049648, retaddr=retaddr@entry=140736023420498, op=MO_32) at ../../accel/tcg/cputlb.c:1448
in do_st_mmio_leN (env=env@entry=0x555556a84320, full=full@entry=0x7ffda010f630, val_le=<optmized out>, val_le@entry=0, addr=addr@entry=18446744073699049648, size=size@entry=4, mmu_idx=mmu_idx@entry=0, ra=140736023420498) at ../../accel/tcg/cputlb.c:2755
in do_st_4 (ra=<optmized_out>, memop=<optimized out> mmu_idx=0, val=0, p=0x7ffff529c140, env=0x555556a84320) at ../../accel/tcg/cputbl.c:2921
do_st4_mmu (env=0x555556a84320, addr=<optimized out> val=<optmized out>, oi=<otpmized out> ra=140736023420498) at ../../accel/tcg/cputlb.c:3006
in code_gen_buffer()
in cpu_tb_exec(..) //getting lazy on typing as seems unlikely anything useful beyond here.
in cpu_loop_exec_tb()
cpu_exec_loop
in cpu_exec_setjmp()
in cpu_exec()
in tcg_cpus_exec()
```"""
reproduce = """1. Boot.
2. Use gdb to grab back trace after segfault."""
additional = """Seems to segfault mid way through PCI enumeration in the kernel.  Which device seems to vary between runs."""