Control: merge -1 1149859
On 10/3/26 21:51, kjonca wrote:
Package: qemu-system-x86
Version: 1:11.1.2+ds-1
Severity: normal
Dear Maintainer,
Recently I found that my 32 Windows Vista client halts during boot.
Moreover in logs I found (I am not sure if all of these are apropriate
here)
[63469.996020] qemu-system-x86[28061]: segfault at 560f63c29600 ip
0000560f63c29600 sp 00007ffc2509a078 error 15 likely on CPU 4 (core 8, socket 0)
[63469.996037] Code: 00 00 c8 1a ff 78 87 7f 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <00> 00 00 00 00
00 00 00 81 00 00 00 00 00 00 00 d0 52 1a 65 0f 56
This is never a good thing, - qemu crashed.
[63469.996503] audit: type=1400 audit(1791052506.218:510): apparmor="DENIED" operation="mknod" class="file"
profile="libvirt-31860a79-3e72-4fac-bda4-b199c1cbdb98" name="/core.28061" pid=28061 comm="qemu-system-x86"
requested_mask="c" denied_mask="c" fsuid=64055 ouid=64055
The rest messages from apparmor are not relevant, but they shows the process
didn't
dump a core file, which might be useful. Unfortunately I don't know an easy
way to
run qemu under debugger when it is started by libvirtd, nor how to let it dump
core.
Without either of that there's little I can do with remote hands.
I am not sure if this is latest version regression or not, as I did not
launch these clients for a while.
Yes it would be useful to know when it started, but much more important is a way
to reproduce it. I doubt it is vista-32bit specific though, it must be some
particular state or sequence of events which makes this issue to appear. It is
a bug in qemu, and your particular guest does the "right thing" to trigger it.
It just happened to be windows vista guest.
I can confirm that Vista 64bit / windows 7 32 and 64 bit /windows xp
works. Only vista 32 bit has problem.
What is more interesting - safe mode on these clients works.
Are there multiple virtual machines which trigger this issue?
Can you tell me more about the configuration of them, which options do you
use to run qemu (can be seen in libvirtd logfile), which version of vista
it is, and when the issue appears? Maybe that will be enough for me to
reproduce it.
If I can't, we'll have to figure out how to debug it at your side, - either
run it under gdb (probably starting it in paused mode, attaching gdb and
continuing) or produce a core file (and analyze it with gdb). I need a
stack trace of the crash, to understand where it does a bad thing.
Thanks,
/mjt