blob: e421e9b99197512b4ef3cfe150da44a14e0120cb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
The issue involves a segmentation fault occurring when running `grep` using QEMU on an ARM64 host. The GDB backtrace shows that the problem arises from `open_self_maps_2`, which is related to handling memory regions and syscalls within QEMU's user-space emulation.
Step-by-step explanation:
1. **Problem Identification**: A segmentation fault occurs when running a specific command (`grep`) under QEMU, indicating an issue with memory access or system calls.
2. **Backtrace Analysis**: The GDB backtrace points to functions involved in processing syscalls and memory maps (`open_self_maps_2`, `walk_memory_regions`, etc.), suggesting the problem lies within how QEMU handles these operations.
3. **Category Determination**: Since the error is directly linked to system call handling (specifically, accessing `/proc/self/maps`), it falls under the "syscall" category rather than an instruction-level fault or a general runtime issue.
Answer: `syscall`
|