Skip to contentSkip to conversation

Commit 23326164ae (exec: Support 64-bit op...) triggers assertion

Qemu-devel Luiz Capitulino 2 participants 4 messages Jul 19, 2013

lore
Share & tools
lore
#0 lore raw

Hi,

Reproducer:

# ./qemu-qmp -drive file=disks/test.img,if=virtio,cache=none,aio=native \
  -enable-kvm -m 1G -monitor stdio  -usb -usbdevice host:1.43
QEMU 1.5.50 monitor - type 'help' for more information
(qemu) qemu-qmp: /home/lcapitulino/work/src/upstream/qmp-unstable/exec.c:1927: memory_access_size: Assertion `l >= access_size_min' failed.

I have an USB stick on 1.43, although I did manage to get this without USB at all (forgot how, though).

Bisect says the bug was introduced by:

commit 23326164ae6fe8d94b7eff123e03f97ca6978d33

Author: Richard Henderson <[email protected]>
Date:   Mon Jul 8 14:55:59 2013 -0700

exec: Support 64-bit operations in address_space_rw

#1 lore raw
Quoted 11 lines · On Fri, 19 Jul 2013 13:28:52 -0400 Luiz Capitulino <[email protected]>…

Hi,

Reproducer:

# ./qemu-qmp -drive file=disks/test.img,if=virtio,cache=none,aio=native \
  -enable-kvm -m 1G -monitor stdio  -usb -usbdevice host:1.43
QEMU 1.5.50 monitor - type 'help' for more information
(qemu) qemu-qmp: /home/lcapitulino/work/src/upstream/qmp-unstable/exec.c:1927: memory_access_size: Assertion `l >= access_size_min' failed.

I have an USB stick on 1.43, although I did manage to get this without USB at all (forgot how, though).

It's possible to reproduce it passing just -usb (I guess I was wrong about reproducing it w/o USB).

#2 lore raw
In reply to Luiz Capitulino
Quoted 12 lines · Luiz Capitulino

Hi,

Reproducer:

# ./qemu-qmp -drive file=disks/test.img,if=virtio,cache=none,aio=native \
  -enable-kvm -m 1G -monitor stdio  -usb -usbdevice host:1.43
QEMU 1.5.50 monitor - type 'help' for more information
(qemu) qemu-qmp: /home/lcapitulino/work/src/upstream/qmp-unstable/exec.c:1927: memory_access_size: Assertion `l >= access_size_min' failed.

I have an USB stick on 1.43, although I did manage to get this without USB at all (forgot how, though).

Quoted 8 lines

Bisect says the bug was introduced by:

commit 23326164ae6fe8d94b7eff123e03f97ca6978d33

Author: Richard Henderson <[email protected]>
Date:   Mon Jul 8 14:55:59 2013 -0700

exec: Support 64-bit operations in address_space_rw

Yes, we've already discussed it and agreed upon a solution. I guess it hasn't been applied yet?

r~

#3 lore raw
Quoted 19 lines · On Fri, 19 Jul 2013 12:06:42 -0700 Richard Henderson <[email protected]> wrote:
Quoted 18 lines · Luiz Capitulino

Hi,

Reproducer:

# ./qemu-qmp -drive file=disks/test.img,if=virtio,cache=none,aio=native \
  -enable-kvm -m 1G -monitor stdio  -usb -usbdevice host:1.43
QEMU 1.5.50 monitor - type 'help' for more information
(qemu) qemu-qmp: /home/lcapitulino/work/src/upstream/qmp-unstable/exec.c:1927: memory_access_size: Assertion `l >= access_size_min' failed.

I have an USB stick on 1.43, although I did manage to get this without USB at all (forgot how, though).

Bisect says the bug was introduced by:

commit 23326164ae6fe8d94b7eff123e03f97ca6978d33

Author: Richard Henderson <[email protected]>
Date:   Mon Jul 8 14:55:59 2013 -0700
Quoted 5 lines
Quoted 2 lines

exec: Support 64-bit operations in address_space_rw

Yes, we've already discussed it and agreed upon a solution. I guess it hasn't been applied yet?

Well, I saw the problem against latest upstream (HEAD 24943978c).