summary refs log tree commit diff stats
path: root/results/classifier/118/all/1047
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--results/classifier/118/all/1047134
-rw-r--r--results/classifier/118/all/1047999150
2 files changed, 284 insertions, 0 deletions
diff --git a/results/classifier/118/all/1047 b/results/classifier/118/all/1047
new file mode 100644
index 00000000..1237eb0e
--- /dev/null
+++ b/results/classifier/118/all/1047
@@ -0,0 +1,134 @@
+peripherals: 0.937
+register: 0.935
+graphic: 0.925
+device: 0.924
+assembly: 0.912
+performance: 0.912
+ppc: 0.911
+mistranslation: 0.908
+semantic: 0.907
+permissions: 0.903
+hypervisor: 0.901
+debug: 0.901
+architecture: 0.899
+vnc: 0.889
+socket: 0.885
+risc-v: 0.884
+arm: 0.879
+i386: 0.874
+TCG: 0.865
+boot: 0.856
+KVM: 0.847
+PID: 0.843
+VMM: 0.841
+virtual: 0.839
+user-level: 0.835
+kernel: 0.834
+network: 0.832
+x86: 0.811
+files: 0.772
+
+Single stepping Windows 10 bootloader results in Assertion `ret < cpu->num_ases && ret >= 0' failed.
+Description of problem:
+When I am trying to debug Windows bootloader, I see an assertion error in QEMU when single stepping some instructions in SeaBIOS.
+
+```
+qemu-system-i386: ../hw/core/cpu-sysemu.c:77: cpu_asidx_from_attrs: Assertion `ret < cpu->num_ases && ret >= 0' failed.                                        
+```
+Steps to reproduce:
+1. Download / construct `w.img`, see above
+2. Start QEMU using `./qemu-system-i386 --drive media=disk,file=w.img,format=raw,index=1 -s -S -enable-kvm`
+3. Start GDB using `gdb --ex 'target remote :::1234' --ex 'hb *0x7c00' --ex c --ex 'si 1000' --ex q`
+4. See error message
+Additional information:
+The GDB script first breaks at 0x7c00, then tries to execute 1000 instructions using single step (`si`). On my machine, after executing around 772 instructions, the assertion error in QEMU happens. 
+Here is an interactive GDB session on my machine. 
+
+```
+(gdb) hb *0x7c00
+Hardware assisted breakpoint 1 at 0x7c00
+(gdb) c
+Continuing.
+
+Breakpoint 1, 0x00007c00 in ?? ()
+(gdb) d
+Delete all breakpoints? (y or n) y
+(gdb) si 770
+0x000f7d7b in ?? ()
+(gdb) x/10i $eip
+=> 0xf7d7b:	mov    $0x7d85,%ebx
+   0xf7d80:	out    %al,$0xb2
+   0xf7d82:	pause  
+   0xf7d84:	hlt    
+   0xf7d85:	mov    %bp,%sp
+   0xf7d88:	jmp    0xf7dd1
+   0xf7d8a:	mov    %cx,%si
+   0xf7d8d:	mov    $0x1,%ax
+   0xf7d91:	add    %al,(%eax)
+   0xf7d93:	callw  0x6b66
+(gdb) si
+0x000f7d80 in ?? ()
+(gdb) info reg
+eax            0xb5                181
+ecx            0x5678              22136
+edx            0x0                 0
+ebx            0x7d85              32133
+esp            0xe96d4             0xe96d4
+ebp            0xfed4              0xfed4
+esi            0xe0346             918342
+edi            0xefd91             982417
+eip            0xf7d80             0xf7d80
+eflags         0x6                 [ IOPL=0 PF ]
+cs             0x8                 8
+ss             0x10                16
+ds             0x10                16
+es             0x10                16
+fs             0x10                16
+gs             0x10                16
+fs_base        0x0                 0
+gs_base        0x0                 0
+k_gs_base      0x0                 0
+cr0            0x11                [ ET PE ]
+cr2            0x0                 0
+cr3            0x0                 [ PDBR=0 PCID=0 ]
+cr4            0x0                 [ ]
+cr8            0x0                 0
+efer           0x0                 [ ]
+...
+mxcsr          0x1f80              [ IM DM ZM OM UM PM ]
+(gdb) si
+0x000f7d82 in ?? ()
+(gdb) info reg
+eax            0xb5                181
+ecx            0x5678              22136
+edx            0x0                 0
+ebx            0x7d85              32133
+esp            0xe96d4             0xe96d4
+ebp            0xfed4              0xfed4
+esi            0xe0346             918342
+edi            0xefd91             982417
+eip            0xf7d82             0xf7d82
+eflags         0x6                 [ IOPL=0 PF ]
+cs             0x8                 8
+ss             0x10                16
+ds             0x10                16
+es             0x10                16
+fs             0x10                16
+gs             0x10                16
+fs_base        0x0                 0
+gs_base        0x0                 0
+k_gs_base      0x0                 0
+cr0            0x11                [ ET PE ]
+cr2            0x0                 0
+cr3            0x0                 [ PDBR=0 PCID=0 ]
+cr4            0x0                 [ ]
+cr8            0x0                 0
+efer           0x0                 [ ]
+...
+mxcsr          0x1f80              [ IM DM ZM OM UM PM ]
+(gdb) si
+Remote connection closed
+(gdb) 
+```
+
+This bug was first incorrectly filed in KVM's bug tracker at <https://bugzilla.kernel.org/show_bug.cgi?id=216003>.
diff --git a/results/classifier/118/all/1047999 b/results/classifier/118/all/1047999
new file mode 100644
index 00000000..a1d92d58
--- /dev/null
+++ b/results/classifier/118/all/1047999
@@ -0,0 +1,150 @@
+register: 0.961
+architecture: 0.957
+device: 0.951
+assembly: 0.948
+semantic: 0.947
+virtual: 0.941
+graphic: 0.936
+debug: 0.935
+performance: 0.930
+permissions: 0.913
+arm: 0.905
+files: 0.905
+PID: 0.900
+risc-v: 0.888
+hypervisor: 0.884
+vnc: 0.873
+peripherals: 0.873
+boot: 0.873
+kernel: 0.866
+user-level: 0.855
+network: 0.830
+KVM: 0.826
+socket: 0.816
+ppc: 0.809
+VMM: 0.783
+TCG: 0.766
+mistranslation: 0.736
+x86: 0.714
+i386: 0.534
+
+error building process in sdlaudio.o
+
+./configure --enable-sdl --enable-virtfs --enable-vnc --enable-cocoa --enable-mixemu --enable-brlapi --enable-vnc-tls --enable-vnc-sasl --enable-vnc-jpeg --enable-vnc-png --enable-curses --enable-curl --enable-bluez --enable-tcg-interpreter --enable-nptl --enable-system --enable-user --enable-linux-user --enable-guest-base --enable-pie --enable-uuid --enable-vde --enable-attr --enable-docs --enable-vhost-net --enable-smartcard --enable-guest-agent --enable-seccomp --audio-drv-list="alsa oss sdl esd pa" --audio-card-list="ac97 es1370 sb16 cs4231a adlib gus hda" --prefix=/opt/qemu
+
+audio/sdlaudio.c:55: error: expected specifier-qualifier-list before ‘SDL_mutex’
+audio/sdlaudio.c: In function ‘sdl_logerr’:
+audio/sdlaudio.c:69: warning: implicit declaration of function ‘SDL_GetError’
+audio/sdlaudio.c:69: warning: nested extern declaration of ‘SDL_GetError’
+audio/sdlaudio.c:69: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
+audio/sdlaudio.c: In function ‘sdl_lock’:
+audio/sdlaudio.c:74: warning: implicit declaration of function ‘SDL_LockMutex’
+audio/sdlaudio.c:74: warning: nested extern declaration of ‘SDL_LockMutex’
+audio/sdlaudio.c:74: error: ‘SDLAudioState’ has no member named ‘mutex’
+audio/sdlaudio.c: In function ‘sdl_unlock’:
+audio/sdlaudio.c:83: warning: implicit declaration of function ‘SDL_UnlockMutex’
+audio/sdlaudio.c:83: warning: nested extern declaration of ‘SDL_UnlockMutex’
+audio/sdlaudio.c:83: error: ‘SDLAudioState’ has no member named ‘mutex’
+audio/sdlaudio.c: In function ‘sdl_post’:
+audio/sdlaudio.c:92: warning: implicit declaration of function ‘SDL_SemPost’
+audio/sdlaudio.c:92: warning: nested extern declaration of ‘SDL_SemPost’
+audio/sdlaudio.c:92: error: ‘SDLAudioState’ has no member named ‘sem’
+audio/sdlaudio.c: In function ‘sdl_wait’:
+audio/sdlaudio.c:101: warning: implicit declaration of function ‘SDL_SemWait’
+audio/sdlaudio.c:101: warning: nested extern declaration of ‘SDL_SemWait’
+audio/sdlaudio.c:101: error: ‘SDLAudioState’ has no member named ‘sem’
+audio/sdlaudio.c: In function ‘aud_to_sdlfmt’:
+audio/sdlaudio.c:121: error: ‘AUDIO_S8’ undeclared (first use in this function)
+audio/sdlaudio.c:121: error: (Each undeclared identifier is reported only once
+audio/sdlaudio.c:121: error: for each function it appears in.)
+audio/sdlaudio.c:124: error: ‘AUDIO_U8’ undeclared (first use in this function)
+audio/sdlaudio.c:127: error: ‘AUDIO_S16LSB’ undeclared (first use in this function)
+audio/sdlaudio.c:130: error: ‘AUDIO_U16LSB’ undeclared (first use in this function)
+audio/sdlaudio.c: In function ‘sdl_to_audfmt’:
+audio/sdlaudio.c:144: error: ‘AUDIO_S8’ undeclared (first use in this function)
+audio/sdlaudio.c:149: error: ‘AUDIO_U8’ undeclared (first use in this function)
+audio/sdlaudio.c:154: error: ‘AUDIO_S16LSB’ undeclared (first use in this function)
+audio/sdlaudio.c:159: error: ‘AUDIO_U16LSB’ undeclared (first use in this function)
+audio/sdlaudio.c:164: error: ‘AUDIO_S16MSB’ undeclared (first use in this function)
+audio/sdlaudio.c:169: error: ‘AUDIO_U16MSB’ undeclared (first use in this function)
+audio/sdlaudio.c: At top level:
+audio/sdlaudio.c:182: error: expected ‘)’ before ‘*’ token
+audio/sdlaudio.c: In function ‘sdl_close’:
+audio/sdlaudio.c:222: error: ‘SDLAudioState’ has no member named ‘initialized’
+audio/sdlaudio.c:226: warning: implicit declaration of function ‘SDL_PauseAudio’
+audio/sdlaudio.c:226: warning: nested extern declaration of ‘SDL_PauseAudio’
+audio/sdlaudio.c:227: warning: implicit declaration of function ‘SDL_CloseAudio’
+audio/sdlaudio.c:227: warning: nested extern declaration of ‘SDL_CloseAudio’
+audio/sdlaudio.c:228: error: ‘SDLAudioState’ has no member named ‘initialized’
+audio/sdlaudio.c: At top level:
+audio/sdlaudio.c:232: error: expected declaration specifiers or ‘...’ before ‘Uint8’
+audio/sdlaudio.c: In function ‘sdl_callback’:
+audio/sdlaudio.c:274: error: ‘buf’ undeclared (first use in this function)
+audio/sdlaudio.c: In function ‘sdl_init_out’:
+audio/sdlaudio.c:339: error: ‘SDL_AudioSpec’ undeclared (first use in this function)
+audio/sdlaudio.c:339: error: expected ‘;’ before ‘req’
+audio/sdlaudio.c:345: error: ‘req’ undeclared (first use in this function)
+audio/sdlaudio.c:352: warning: implicit declaration of function ‘sdl_open’
+audio/sdlaudio.c:352: warning: nested extern declaration of ‘sdl_open’
+audio/sdlaudio.c:352: error: ‘obt’ undeclared (first use in this function)
+audio/sdlaudio.c:370: error: ‘SDLAudioState’ has no member named ‘initialized’
+audio/sdlaudio.c: In function ‘sdl_audio_init’:
+audio/sdlaudio.c:396: warning: implicit declaration of function ‘SDL_InitSubSystem’
+audio/sdlaudio.c:396: warning: nested extern declaration of ‘SDL_InitSubSystem’
+audio/sdlaudio.c:396: error: ‘SDL_INIT_AUDIO’ undeclared (first use in this function)
+audio/sdlaudio.c:401: error: ‘SDLAudioState’ has no member named ‘mutex’
+audio/sdlaudio.c:401: warning: implicit declaration of function ‘SDL_CreateMutex’
+audio/sdlaudio.c:401: warning: nested extern declaration of ‘SDL_CreateMutex’
+audio/sdlaudio.c:402: error: ‘SDLAudioState’ has no member named ‘mutex’
+audio/sdlaudio.c:404: warning: implicit declaration of function ‘SDL_QuitSubSystem’
+audio/sdlaudio.c:404: warning: nested extern declaration of ‘SDL_QuitSubSystem’
+audio/sdlaudio.c:408: error: ‘SDLAudioState’ has no member named ‘sem’
+audio/sdlaudio.c:408: warning: implicit declaration of function ‘SDL_CreateSemaphore’
+audio/sdlaudio.c:408: warning: nested extern declaration of ‘SDL_CreateSemaphore’
+audio/sdlaudio.c:409: error: ‘SDLAudioState’ has no member named ‘sem’
+audio/sdlaudio.c:411: warning: implicit declaration of function ‘SDL_DestroyMutex’
+audio/sdlaudio.c:411: warning: nested extern declaration of ‘SDL_DestroyMutex’
+audio/sdlaudio.c:411: error: ‘SDLAudioState’ has no member named ‘mutex’
+audio/sdlaudio.c: In function ‘sdl_audio_fini’:
+audio/sdlaudio.c:423: warning: implicit declaration of function ‘SDL_DestroySemaphore’
+audio/sdlaudio.c:423: warning: nested extern declaration of ‘SDL_DestroySemaphore’
+audio/sdlaudio.c:423: error: ‘SDLAudioState’ has no member named ‘sem’
+audio/sdlaudio.c:424: error: ‘SDLAudioState’ has no member named ‘mutex’
+audio/sdlaudio.c:425: error: ‘SDL_INIT_AUDIO’ undeclared (first use in this function)
+make: *** [audio/sdlaudio.o] Error 1
+
+System:
+Linux insanelive 3.5.3-iatom-bfq #3 SMP Sat Sep 1 20:30:22 MSK 2012 i686 GNU/Linux
+Debian 6.0.5 Squeeze
+
+On Sat, Sep 8, 2012 at 10:09 PM, Oleg Bobuh <email address hidden> wrote:
+> ** Description changed:
+
+Is this qemu.git/master?
+
+>   ./configure --enable-sdl --enable-virtfs --enable-vnc --enable-cocoa
+>   --enable-mixemu --enable-brlapi --enable-vnc-tls --enable-vnc-sasl
+>   --enable-vnc-jpeg --enable-vnc-png --enable-curses --enable-curl
+>   --enable-bluez --enable-tcg-interpreter --enable-nptl --enable-system
+>   --enable-user --enable-linux-user --enable-guest-base --enable-pie
+>   --enable-uuid --enable-vde --enable-attr --enable-docs --enable-vhost-
+>   net --enable-smartcard --enable-guest-agent --enable-seccomp --audio-
+>   drv-list="alsa oss sdl esd pa" --audio-card-list="ac97 es1370 sb16
+>   cs4231a adlib gus hda" --prefix=/opt/qemu
+
+./configure output should say:
+SDL support       yes
+
+If you get "no" then something is wrong.  SDL on Debian ships with
+pkgconfig information, which ./configure uses to find the correct -I
+and -l compiler flags.
+
+Do you have the libsdl1.2-dev package installed?
+
+Please post the contents of ./config.log after running ./configure.
+
+Stefan
+
+
+[Expired for QEMU because there has been no activity for 60 days.]
+