Bug 2195952 - [abrt] qemu-system-x86-core: do_patch_instruction(): qemu-system-x86_64 killed by SIGABRT
Summary: [abrt] qemu-system-x86-core: do_patch_instruction(): qemu-system-x86_64 kille...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Virtualization Maintainers
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:0c4c591093a133cc66490131dc9...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-06 22:22 UTC by Asad Mehmood
Modified: 2023-05-09 10:59 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-09 10:59:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: proc_pid_status (1.40 KB, text/plain)
2023-05-06 22:22 UTC, Asad Mehmood
no flags Details
File: maps (3.97 KB, text/plain)
2023-05-06 22:22 UTC, Asad Mehmood
no flags Details
File: limits (1.29 KB, text/plain)
2023-05-06 22:22 UTC, Asad Mehmood
no flags Details
File: environ (3.12 KB, text/plain)
2023-05-06 22:22 UTC, Asad Mehmood
no flags Details
File: open_fds (3.39 KB, text/plain)
2023-05-06 22:22 UTC, Asad Mehmood
no flags Details
File: mountinfo (3.90 KB, text/plain)
2023-05-06 22:22 UTC, Asad Mehmood
no flags Details
File: os_info (734 bytes, text/plain)
2023-05-06 22:22 UTC, Asad Mehmood
no flags Details
File: cpuinfo (2.81 KB, text/plain)
2023-05-06 22:22 UTC, Asad Mehmood
no flags Details
File: core_backtrace (58.25 KB, text/plain)
2023-05-06 22:22 UTC, Asad Mehmood
no flags Details
File: backtrace (109.54 KB, text/plain)
2023-05-06 22:22 UTC, Asad Mehmood
no flags Details

Description Asad Mehmood 2023-05-06 22:22:07 UTC
Description of problem:
Virtualizing a Windows XP system which tried to reboot.

Version-Release number of selected component:
qemu-system-x86-core-2:7.2.1-1.fc38

Additional info:
reporter:       libreport-2.17.9
type:           CCpp
reason:         qemu-system-x86_64 killed by SIGABRT
journald_cursor: s=ac95954794b2423db123cb5fe5dbe0a0;i=302dc;b=e438685e383645b5830325542f357090;m=260a32ca9;t=5fb0dcc01fae4;x=e7490690426d6f6e
executable:     /usr/bin/qemu-system-x86_64
cmdline:        qemu-system-x86_64 -accel kvm --cpu kvm32,-hypervisor -smp cpus=4 -vnc :0 -k en-gb -m 3G -monitor stdio -drive if=none,id=disk,file=current.img,cache=unsafe -device virtio-blk-pci,drive=disk -drive if=none,id=pagefile,file=pagefile/live_pagefile.qcow2.img,cache=unsafe -device virtio-blk-pci,drive=pagefile -boot menu=on,splash-time=60000 -rtc base=localtime -netdev hubport,hubid=0,id=n0 -device rtl8139,mac=52:54:00:12:34:56,netdev=n0
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-8ed3d5a8-1af8-4e9f-a400-3fed1e27a380.scope
rootdir:        /
uid:            1000
kernel:         6.2.12-300.fc38.x86_64
package:        qemu-system-x86-core-2:7.2.1-1.fc38
runlevel:       N 5
dso_list:       /usr/bin/qemu-system-x86_64 qemu-system-x86-core-2:7.2.1-1.fc38.x86_64 (Fedora Project) 1682502753
backtrace_rating: 4
crash_function: do_patch_instruction
comment:        Virtualizing a Windows XP system which tried to reboot.

Truncated backtrace:
Thread no. 1 (6 frames)
 #4 do_patch_instruction at ../hw/i386/kvmvapic.c:439
 #5 process_queued_cpu_work at ../cpus-common.c:347
 #6 qemu_wait_io_event at ../softmmu/cpus.c:435
 #7 kvm_vcpu_thread_fn at ../accel/kvm/kvm-accel-ops.c:56
 #8 qemu_thread_start at ../util/qemu-thread-posix.c:505
 #10 clone3 at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Comment 1 Asad Mehmood 2023-05-06 22:22:11 UTC
Created attachment 1962907 [details]
File: proc_pid_status

Comment 2 Asad Mehmood 2023-05-06 22:22:13 UTC
Created attachment 1962908 [details]
File: maps

Comment 3 Asad Mehmood 2023-05-06 22:22:15 UTC
Created attachment 1962909 [details]
File: limits

Comment 4 Asad Mehmood 2023-05-06 22:22:17 UTC
Created attachment 1962910 [details]
File: environ

Comment 5 Asad Mehmood 2023-05-06 22:22:19 UTC
Created attachment 1962911 [details]
File: open_fds

Comment 6 Asad Mehmood 2023-05-06 22:22:20 UTC
Created attachment 1962912 [details]
File: mountinfo

Comment 7 Asad Mehmood 2023-05-06 22:22:22 UTC
Created attachment 1962913 [details]
File: os_info

Comment 8 Asad Mehmood 2023-05-06 22:22:25 UTC
Created attachment 1962914 [details]
File: cpuinfo

Comment 9 Asad Mehmood 2023-05-06 22:22:27 UTC
Created attachment 1962915 [details]
File: core_backtrace

Comment 10 Asad Mehmood 2023-05-06 22:22:29 UTC
Created attachment 1962916 [details]
File: backtrace

Comment 11 Richard W.M. Jones 2023-05-09 10:59:14 UTC
qemu was run by hand with:

qemu-system-x86_64 -accel kvm --cpu kvm32,-hypervisor -smp cpus=4 -vnc :0 -k en

My best guess for -cpu ...,-hypervisor is that it masks out the VMX bit in
CPUID which would seem fairly harmless.

The crash happens in the depths of the emulated KVM APIC when emulating
the task-priority register, which according to the comment on the file
is only used with old 32 bit Windows (it mentions XP and W2K3 Server),
which matches what the user reports.

I suspect this is a genuine, but upstream bug and I recommend the reporter
files it there, since we don't have anyone here who knows anything about 32 bit Windows 
virtualization.

https://www.qemu.org/contribute/report-a-bug/

For the same reason, closing / CANTFIX.


Note You need to log in before you can comment on or make changes to this bug.