summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/105/graphic/1878915
blob: c9e68dc2b88f4d3fdd1c18dae7d9b84755a348e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
graphic: 0.679
other: 0.616
assembly: 0.526
instruction: 0.510
device: 0.484
boot: 0.395
KVM: 0.352
semantic: 0.337
vnc: 0.305
mistranslation: 0.266
network: 0.260
socket: 0.243

util/fdmon-io_uring.c:95: get_sqe: Assertion `ret > 1' failed.

qemu 5.0.0, liburing1 0.6-3, Linux 5.6.0-1-686-pae (Debian)

Stack trace:

                Stack trace of thread 31002:
                #0  0x00000000b7faf1cd __kernel_vsyscall (linux-gate.so.1 + 0x11cd)
                #1  0x00000000b6c618e2 __libc_signal_restore_set (libc.so.6 + 0x348e2)
                #2  0x00000000b6c4a309 __GI_abort (libc.so.6 + 0x1d309)
                #3  0x00000000b6c4a1d1 __assert_fail_base (libc.so.6 + 0x1d1d1)
                #4  0x00000000b6c59929 __GI___assert_fail (libc.so.6 + 0x2c929)
                #5  0x0000000000ba80be get_sqe (qemu-system-i386 + 0x6d00be)
                #6  0x0000000000ba80cb add_poll_add_sqe (qemu-system-i386 + 0x6d00cb)
                #7  0x0000000000ba820c fill_sq_ring (qemu-system-i386 + 0x6d020c)
                #8  0x0000000000ba7145 aio_poll (qemu-system-i386 + 0x6cf145)
                #9  0x0000000000aede63 blk_prw (qemu-system-i386 + 0x615e63)
                #10 0x0000000000aeef95 blk_pread (qemu-system-i386 + 0x616f95)
                #11 0x00000000008abbfa fdctrl_transfer_handler (qemu-system-i386 + 0x3d3bfa)
                #12 0x0000000000906c3d i8257_channel_run (qemu-system-i386 + 0x42ec3d)
                #13 0x00000000008ac119 fdctrl_start_transfer (qemu-system-i386 + 0x3d4119)
                #14 0x00000000008ab233 fdctrl_write_data (qemu-system-i386 + 0x3d3233)
                #15 0x0000000000708ae7 memory_region_write_accessor (qemu-system-i386 + 0x230ae7)
                #16 0x00000000007059e1 access_with_adjusted_size (qemu-system-i386 + 0x22d9e1)
                #17 0x000000000070b931 memory_region_dispatch_write (qemu-system-i386 + 0x233931)
                #18 0x00000000006a87a2 address_space_stb (qemu-system-i386 + 0x1d07a2)
                #19 0x0000000000829216 helper_outb (qemu-system-i386 + 0x351216)
                #20 0x00000000b06d9fdc n/a (n/a + 0x0)

Steps:

0. qemu-img create -f raw fda.img 3840K
1. mformat -i fda.img -n 48 -t 80 -h 2
2. qemu-system-i386 -fda fda.img -hda freedos.qcow2
3. Attempt to run 'dosfsck a:' in the guest

According to hw/block/fdc.c, a 3840K image should result in a virtual floppy with a geometry of 48 sectors/track x 80 tracks x 2 sides.

The assert seems bogus either way.

Hi,
This issue should no longer occur in qemu.git/master.

Commit ba607ca8bff4d2c2062902f8355657c865ac7c29 ("aio-posix: disable fdmon-io_uring when GSource is used") disabled fdmon-io_uring in this scenario.

Confirming that I can no longer reproduce the bug with the latest master (ae3aa5da96f4ccf0c2a28851449d92db9fcfad71). I have not bisected the bug, though; at the moment I am not quite able to afford the time.