[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1003574: segfault in libc-2.33.so during i386 boot ofde QEMU VM



Am 2022-01-15 11:26, schrieb Aurelien Jarno:
control: reopen -1
control: merge 1003610 -1
control: severity -1 serious
control: found -1 glibc/2.33-1
control: forwarded -1 https://sourceware.org/bugzilla/show_bug.cgi?id=28784

On 2022-01-12 14:08, Christian Kastner wrote:
Hi Aurelien,

thank you for the quick reply.

On 2022-01-12 11:45, Aurelien Jarno wrote:
>> # Boot image. -enable-kvm assumes that this is being tested on amd64
>> # Optionally use -nographic for terminal output instead of GUI
>> $ qemu-system-i386 \
>> 	-machine q35 \
>> 	-enable-kvm \
>
> You might also want to try without -enable-kvm

Indeed, this fixed the issue.

So sorry for the noise. I was 120% sure that I had tried that.

My turn to be sorry, it appears to be a genuine issue on the GNU libc
side, and changing the CPU definition in QEMU, either with -cpu or by
disabling kvm) just hide the bug. I was not able to reproduce the issue
as you need a non-Intel CPU to get the issue with the command line your
provided.

This bug also affects via C7 CPUs. I have reported the issue upstream
and provided a patch, currently waiting for review.

Regards,
Aurelien

I built the libc6 deb-package for i386 with your patch applied. It fixes the problem for VIA C7 and VIA Eden.

Thanks a lot for your help. I hope upstream will include this fix soon.

Regards,
--
Wolfgang Walter
Studentenwerk München
Anstalt des öffentlichen Rechts


Reply to: