From dee4dcba78baf712cab403d47d9db319ab7f95d6 Mon Sep 17 00:00:00 2001 From: Christian Krinitsin Date: Thu, 3 Jul 2025 19:39:53 +0200 Subject: restructure results --- results/classifier/zero-shot/108/semantic/1038 | 26 + results/classifier/zero-shot/108/semantic/1094786 | 90 ++ results/classifier/zero-shot/108/semantic/1152 | 43 + results/classifier/zero-shot/108/semantic/1212 | 24 + results/classifier/zero-shot/108/semantic/124 | 16 + results/classifier/zero-shot/108/semantic/1288385 | 105 ++ results/classifier/zero-shot/108/semantic/1347555 | 128 +++ results/classifier/zero-shot/108/semantic/1370 | 28 + results/classifier/zero-shot/108/semantic/1371 | 34 + results/classifier/zero-shot/108/semantic/1372 | 35 + results/classifier/zero-shot/108/semantic/1373 | 35 + results/classifier/zero-shot/108/semantic/1374 | 37 + results/classifier/zero-shot/108/semantic/1375 | 34 + results/classifier/zero-shot/108/semantic/1405 | 136 +++ results/classifier/zero-shot/108/semantic/1417 | 20 + results/classifier/zero-shot/108/semantic/1497711 | 52 + results/classifier/zero-shot/108/semantic/1586229 | 45 + results/classifier/zero-shot/108/semantic/1696180 | 70 ++ results/classifier/zero-shot/108/semantic/1743191 | 492 ++++++++++ results/classifier/zero-shot/108/semantic/1809546 | 92 ++ results/classifier/zero-shot/108/semantic/1829964 | 103 ++ results/classifier/zero-shot/108/semantic/1856335 | 1087 +++++++++++++++++++++ results/classifier/zero-shot/108/semantic/1865252 | 51 + results/classifier/zero-shot/108/semantic/1898215 | 100 ++ results/classifier/zero-shot/108/semantic/1905562 | 82 ++ results/classifier/zero-shot/108/semantic/1905979 | 70 ++ results/classifier/zero-shot/108/semantic/1907969 | 166 ++++ results/classifier/zero-shot/108/semantic/1922391 | 142 +++ results/classifier/zero-shot/108/semantic/227 | 16 + results/classifier/zero-shot/108/semantic/237164 | 110 +++ results/classifier/zero-shot/108/semantic/2582 | 38 + results/classifier/zero-shot/108/semantic/714 | 58 ++ results/classifier/zero-shot/108/semantic/754635 | 85 ++ 33 files changed, 3650 insertions(+) create mode 100644 results/classifier/zero-shot/108/semantic/1038 create mode 100644 results/classifier/zero-shot/108/semantic/1094786 create mode 100644 results/classifier/zero-shot/108/semantic/1152 create mode 100644 results/classifier/zero-shot/108/semantic/1212 create mode 100644 results/classifier/zero-shot/108/semantic/124 create mode 100644 results/classifier/zero-shot/108/semantic/1288385 create mode 100644 results/classifier/zero-shot/108/semantic/1347555 create mode 100644 results/classifier/zero-shot/108/semantic/1370 create mode 100644 results/classifier/zero-shot/108/semantic/1371 create mode 100644 results/classifier/zero-shot/108/semantic/1372 create mode 100644 results/classifier/zero-shot/108/semantic/1373 create mode 100644 results/classifier/zero-shot/108/semantic/1374 create mode 100644 results/classifier/zero-shot/108/semantic/1375 create mode 100644 results/classifier/zero-shot/108/semantic/1405 create mode 100644 results/classifier/zero-shot/108/semantic/1417 create mode 100644 results/classifier/zero-shot/108/semantic/1497711 create mode 100644 results/classifier/zero-shot/108/semantic/1586229 create mode 100644 results/classifier/zero-shot/108/semantic/1696180 create mode 100644 results/classifier/zero-shot/108/semantic/1743191 create mode 100644 results/classifier/zero-shot/108/semantic/1809546 create mode 100644 results/classifier/zero-shot/108/semantic/1829964 create mode 100644 results/classifier/zero-shot/108/semantic/1856335 create mode 100644 results/classifier/zero-shot/108/semantic/1865252 create mode 100644 results/classifier/zero-shot/108/semantic/1898215 create mode 100644 results/classifier/zero-shot/108/semantic/1905562 create mode 100644 results/classifier/zero-shot/108/semantic/1905979 create mode 100644 results/classifier/zero-shot/108/semantic/1907969 create mode 100644 results/classifier/zero-shot/108/semantic/1922391 create mode 100644 results/classifier/zero-shot/108/semantic/227 create mode 100644 results/classifier/zero-shot/108/semantic/237164 create mode 100644 results/classifier/zero-shot/108/semantic/2582 create mode 100644 results/classifier/zero-shot/108/semantic/714 create mode 100644 results/classifier/zero-shot/108/semantic/754635 (limited to 'results/classifier/zero-shot/108/semantic') diff --git a/results/classifier/zero-shot/108/semantic/1038 b/results/classifier/zero-shot/108/semantic/1038 new file mode 100644 index 00000000..bc4d29ac --- /dev/null +++ b/results/classifier/zero-shot/108/semantic/1038 @@ -0,0 +1,26 @@ +semantic: 0.944 +KVM: 0.827 +device: 0.819 +performance: 0.799 +graphic: 0.780 +PID: 0.753 +other: 0.709 +vnc: 0.617 +network: 0.606 +files: 0.526 +socket: 0.430 +boot: 0.429 +permissions: 0.407 +debug: 0.389 + +ppc 'max' CPU model is unlike the other targets 'max' CPU model +Description of problem: +On most targets the 'max' CPU model is either equivalent to 'host' (for KVM) or equivalent to all available CPU features (for TCG). + +On PPC64, however, this is not the case. Instead the 'max' model is an alias of the old '7400_v2.9' and simply doesn't work. + +This is confusing. At the very least the 'max' model alias should be deleted. Ideally a proper replacement would be introduced that matches semantics on other arches. +Steps to reproduce: +1. qemu-system-ppc64 -cpu max + +should be equiv to '-cpu host' or should expose all TCG features. diff --git a/results/classifier/zero-shot/108/semantic/1094786 b/results/classifier/zero-shot/108/semantic/1094786 new file mode 100644 index 00000000..51900640 --- /dev/null +++ b/results/classifier/zero-shot/108/semantic/1094786 @@ -0,0 +1,90 @@ +semantic: 0.924 +debug: 0.918 +graphic: 0.915 +permissions: 0.905 +performance: 0.898 +device: 0.897 +other: 0.883 +PID: 0.878 +vnc: 0.878 +socket: 0.860 +network: 0.847 +KVM: 0.830 +boot: 0.830 +files: 0.804 + +static build with curses fails if requires -ltinfo + +On my system (amd64 Debian wheezy/sid) static ncurses build requires -ltinfo: +$ pkg-config --libs --static ncurses +-lncurses -ltinfo + +$ ../../configure --enable-curses --static +# Actually this fails on line + if compile_prog "" "$curses_lib" ; then +# with +ERROR +ERROR: User requested feature curses +ERROR: configure was not able to find it +ERROR +# but if we add -ltinfo to this line check succeds +... +static build yes +... + +$ make +... +... + CC i386-softmmu/hw/i386/../kvm/pci-assign.o + LINK i386-softmmu/qemu-system-i386 +../os-posix.o: In function `change_process_uid': +/home/vadim/soft/qemu/os-posix.c:205: warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking # and many alike warnings +... +../ui/curses.o: In function `curses_cursor_position': +/home/vadim/soft/qemu/ui/curses.c:137: undefined reference to `COLS' +/home/vadim/soft/qemu/ui/curses.c:137: undefined reference to `LINES' +/home/vadim/soft/qemu/ui/curses.c:138: undefined reference to `stdscr' +/home/vadim/soft/qemu/ui/curses.c:139: undefined reference to `curs_set' +../ui/curses.o: In function `curses_calc_pad': +/home/vadim/soft/qemu/ui/curses.c:68: undefined reference to `stdscr' +/home/vadim/soft/qemu/ui/curses.c:69: undefined reference to `stdscr' +... and so on + +I tried to build the very minimal static qemu executable. Actual configure line I tried first was +../../configure --target-list=i386-softmmu --disable-sdl --disable-virtfs --disable-vnc --disable-xen --disable-brlapi --disable-bluez --disable-slirp --disable-kvm --disable-user --disable-vde --disable-vhost-net --disable-spice --disable-libiscsi --disable-smartcard --disable-usb-redir --disable-guest-agent --audio-drv-list= --audio-card-list= --enable-curses --static + +and the errors was the same. + +I can reproduce this issue. + +I tried + +./configure --static --target-list="x86_64-softmmu" --enable-curse + +I get + +ERROR +ERROR: User requested feature curses +ERROR: configure was not able to find it +ERROR + +Please try qemu.git/master. + +If the error still occurs, please attach config.log. + +The problem may have to do with the way ./configure compile_prog and pkg_config interact with the --static option. The --static option is supposed to set up LDFLAGS -static and pkg-config --static. + +The curses probing code tries building -lncurses, -lcurses, and finally pkg-config ncurses. Try the following change: +curses_list="$($pkg_config --libs ncurses 2>/dev/null):-lncurses:-lcurses" + +That will probe pkg-config ncurses first. + +I ran into the same issue on FreeBSD, and just posted my patch to the qemu-devel list. It's the same solution stefanha describes above. + +(On FreeBSD we have an additional issue; we don't ship the .pc file with the ncurses port right now. I just hacked one together to include -ltinfo in Libs.private.) + + +Patch had been included here: +http://git.qemu.org/?p=qemu.git;a=commitdiff;h=cfeda5f4b8710b6ba14 +So I think we can now mark this ticket as "Fix released". + diff --git a/results/classifier/zero-shot/108/semantic/1152 b/results/classifier/zero-shot/108/semantic/1152 new file mode 100644 index 00000000..e34177eb --- /dev/null +++ b/results/classifier/zero-shot/108/semantic/1152 @@ -0,0 +1,43 @@ +semantic: 0.913 +other: 0.854 +KVM: 0.763 +graphic: 0.740 +debug: 0.727 +device: 0.624 +performance: 0.622 +boot: 0.565 +PID: 0.536 +permissions: 0.444 +vnc: 0.421 +socket: 0.384 +files: 0.327 +network: 0.323 + +Windows crashes on resuming from sleep if hv-tlbflush is enabled +Description of problem: +The above steps cause my Windows VM to BSOD immediately upon waking up (even before restarting the display driver in my case). +Steps to reproduce: +1. Boot Windows +2. Tell Windows to go to sleep (observe that qemu's state switches to suspended) +3. Cause windows to wake up (e.g. using the `system_wakeup` HMP command) +Additional information: +Looking at the crash dumps always shows the "ATTEMPTED WRITE TO READONLY MEMORY" error, and always with this stack trace: + +``` +nt!KeBugCheckEx +nt!MiRaisedIrqlFault+0x1413a6 +nt!MmAccessFault+0x4ef +nt!KiPageFault+0x35e +nt!MiIncreaseUsedPtesCount+0x12 +nt!MiBuildForkPte+0xc6 +nt!MiCloneVads+0x4ab +nt!MiCloneProcessAddressSpace+0x261 +nt!MmInitializeProcessAddressSpace+0x1cb631 +nt!PspAllocateProcess+0x1d13 +nt!PspCreateProcess+0x242 +nt!NtCreateProcessEx+0x85 +nt!KiSystemServiceCopyEnd+0x25 +ntdll!NtCreateProcessEx+0x14 +``` + +However, the process that is being created here is always `WerFault.exe`, i.e. the crash reporter. The crashing process is seemingly random. Removing `hv-tlbflush` from the command line resolves the problem. Hence, my hypothesis is that due to improper TLB flushing during wakeup, a random application on the core will crash, which spawns `WerFault.exe` which then immediately crashes again inside the kernel (also because of bad/stale TLB contents) and causes the BSOD. Perhaps one core wakes up first, requests a TLB flush, which is then *not* propagated to sleeping cores due to hv-tlbflush. Then one of those cores wakes up without the TLB flush? diff --git a/results/classifier/zero-shot/108/semantic/1212 b/results/classifier/zero-shot/108/semantic/1212 new file mode 100644 index 00000000..e3e92b3d --- /dev/null +++ b/results/classifier/zero-shot/108/semantic/1212 @@ -0,0 +1,24 @@ +semantic: 0.916 +device: 0.885 +PID: 0.881 +graphic: 0.865 +debug: 0.838 +network: 0.785 +vnc: 0.763 +socket: 0.711 +files: 0.687 +performance: 0.667 +boot: 0.532 +permissions: 0.432 +other: 0.075 +KVM: 0.018 + +A NULL pointer dereference issue in elf2dmp +Description of problem: +SIGSEGV in get_pml4e for it didn't handle NULL result properly. +Steps to reproduce: +1.launch qemu and running "gab attach -p $QEMU_PID", run "gcore" inside gdb to generate coredump +2../elf2dmp ./core.111 ./out.dmp +3.get segemantation fault +Additional information: +![1](/uploads/39da5ed2da15b105664ee7ee05f69078/1.png) diff --git a/results/classifier/zero-shot/108/semantic/124 b/results/classifier/zero-shot/108/semantic/124 new file mode 100644 index 00000000..0a56c5e6 --- /dev/null +++ b/results/classifier/zero-shot/108/semantic/124 @@ -0,0 +1,16 @@ +semantic: 0.952 +device: 0.844 +performance: 0.726 +debug: 0.657 +network: 0.595 +graphic: 0.461 +boot: 0.240 +vnc: 0.123 +other: 0.085 +permissions: 0.063 +socket: 0.059 +KVM: 0.053 +PID: 0.041 +files: 0.006 + +SIGSEGV when reading ARM GIC registers through GDB stub diff --git a/results/classifier/zero-shot/108/semantic/1288385 b/results/classifier/zero-shot/108/semantic/1288385 new file mode 100644 index 00000000..1ff17a7e --- /dev/null +++ b/results/classifier/zero-shot/108/semantic/1288385 @@ -0,0 +1,105 @@ +semantic: 0.923 +other: 0.920 +graphic: 0.920 +permissions: 0.916 +vnc: 0.911 +debug: 0.908 +performance: 0.905 +KVM: 0.900 +boot: 0.849 +device: 0.849 +PID: 0.840 +network: 0.787 +files: 0.780 +socket: 0.734 + +VFIO passthrough causes assertation failure + +Since commit 5e95494380ec I am no longer able to passthrough my Nvidia GTX 770 using VFIO. Qemu terminates with: + +qemu-system-x86_64: hw/pci/pcie.c:240: pcie_cap_slot_hotplug_common: Assertion `((pci_dev->devfn) & 0x07) == 0' failed. + +Above output was generated using commit f55ea6297cc0. + + +Lspci of the vga card: + +01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 770] (rev a1) + Subsystem: Gigabyte Technology Co., Ltd Device 360c + Kernel driver in use: vfio-pci +01:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1) + Subsystem: Gigabyte Technology Co., Ltd Device 360c + Kernel driver in use: vfio-pci + + +Commandline used to start qemu: + +qemu-system-x86_64 -machine accel=kvm \ + -nodefaults \ + -name VFIO-Test \ + -machine q35 \ + -cpu host \ + -smp 1 \ + -enable-kvm \ + -m 1024 \ + -k de \ + -vga none \ + -device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 \ + -device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on \ + -device vfio-pci,host=01:00.1,bus=root.1,addr=00.1 \ + -rtc base=utc \ + -boot order=d \ + -device ide-cd,drive=drive-cd-disk1,id=cd-disk1,unit=0 \ + -drive file=/home/bluebird/Downloads/systemrescuecd-x86-4.0.0.iso,if=none,id=drive-cd-disk1,media=cdrom \ + -nographic + + +Full output of git bisect: + +5e95494380ecf83c97d28f72134ab45e0cace8f9 is the first bad commit +commit 5e95494380ecf83c97d28f72134ab45e0cace8f9 +Author: Igor Mammedov