Hello,

When I run this command (on Linux):

qemu-system-x86_64 -accel tcg -cpu max -m 512 -cdrom cd79.iso -nographic -vga 
none -action reboot=shutdown -d int -D int.log

If I don't provide any input at the "boot>" prompt and just wait for about 10 
seconds, it exits abruptly a few seconds after displaying the output "entry 
point at 0xffffffff8100100". The logs in "int.log" include:

check_exception old: 0xffffffff new 0xe
 61292: v=0e e=0000 i=0 cpl=0 IP=0008:ffffffff8139a44c pc=ffffffff8139a44c 
SP=0010:ffff80000e88df60 CR2=0000000000000000

I believe that the "CR2=0000000000000000" indicates a null pointer dereference. 
Some debugging suggests that this is an error in a function "wsdisplaywrite". 
Entering "set tty com0" and then "boot" at the "boot>" prompt causes it to boot 
normally, of course; this seems to be an issue with how the lack of a VGA 
console is handled. I would expect this to either fall back to using com0 or 
display an error message on com0, rather than just crashing. 

This is mostly an annoyance and certainly (to my knowledge) not any sort of 
security risk. I'm running QEMU  11.0.3 on Arch Linux (kernel version 
7.1.5-arch1-2). cd79.iso is just the normal installer CD, with sha256sum: 
da6eed49185e7d4e5199e4fb15252d53a377e4a7dad572838705bfebfb7ac0ab

Best,
Jason Hansel

Reply via email to