blob: b0c984a66e17206b28a5845a42b10977b956c32e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
The issue described involves an unexpected segmentation fault when using `mremap` within QEMU for certain architectures (i386 and 32-bit ARM). The problem does not occur when running natively on x86_64 or when resizing to a different size, indicating it might be specific to how QEMU handles the `mremap` system call in these contexts.
**Analysis:**
- The segmentation fault occurs during the `mremap` syscall.
- It's reproducible with both i386 and 32-bit ARM emulations but not on native x86_64 or when resizing to a different size (e.g., 12288).
- Debugging with `-singlestep` confirms that the segfault happens during `mremap`.
**Conclusion:**
The issue is related to how QEMU handles the `mremap` system call for specific architectures, leading to an unexpected segmentation fault.
**Category:** syscall
|