blob: cce5a45ef2e127c64c5f29a00861b46c3b57a34e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<think>
Okay, I need to figure out whether this bug report is about user-mode or system-mode in QEMU. The user is having segfaults when running 32-bit binaries using qemu-i386 on a Linux system. They mentioned that the issue disappears when using gdb or strace. Qemu-x86_64 works fine, so it's specific to the i386 version.
Segfaults can occur in user-mode emulation if there are issues with how the CPU is being emulated. Since x86_64 works but i386 doesn't, maybe there's a problem with the 32-bit emulation code. The fact that it goes away when using gdb or strace suggests that the environment or some aspect of how QEMU interacts with the host in user-mode might be affected.
Qemu-i386 runs in user-mode when executing binaries without a full OS, so issues here are more likely related to user-mode emulation rather than system-mode which involves full virtualization and device handling. Since the problem is reproducible only on 32-bit and not 64-bit, it points towards an issue within the i386 CPU or emulator setup in user-mode.
Therefore, this bug is probably a 'user' mode issue.
</think>
The segfaults are likely due to issues in the user-mode emulation of QEMU for 32-bit binaries. The fact that the problem occurs only with qemu-i386 and not qemu-x86_64 indicates it's related to how the i386 CPU is being emulated in user mode.
user
|