Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485176 - app-emulation/qemu-1.6.0 - Assertion `pio->offset >= off_last' failed.
Summary: app-emulation/qemu-1.6.0 - Assertion `pio->offset >= off_last' failed.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://git.qemu.org/?p=qemu.git;a=com...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-17 08:08 UTC by Martin von Gagern
Modified: 2013-09-18 09:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2013-09-17 08:08:59 UTC
qemu-system-x86_64 -soundhw all […] fails for me:

qemu-system-x86_64: /var/tmp/portage/app-emulation/qemu-1.6.0/work/qemu-1.6.0/ioport.c:240: portio_list_add: Assertion `pio->offset >= off_last' failed.

It seems that this was already fixed upstream:

http://git.qemu.org/?p=qemu.git;a=commitdiff;h=2b21fb57af305f17841d79e7e2e02ad1

Not sure whether you want to add this patch in a revbump of the 1.6.0 ebuild, or whether you'd rather wait for the next release. In any case, having this bug documented here might help others who experience the same.

Workaround for users (thanks to epatch_user):

# mkdir -p /etc/portage/patches/app-emulation/qemu-1.6.0
# wget -O /etc/portage/patches/app-emulation/qemu-1.6.0/adlib.patch \
  'http://git.qemu.org/?p=qemu.git;a=patch;h=2b21fb57af305f17841d79e7e2e02ad1'
# emerge -1 qemu

After this, qemu booted fine.
Comment 1 Martin von Gagern 2013-09-18 09:57:58 UTC
Fixed by app-emulation/qemu-1.6.0-r1 due to a patch called
0023-adlib-sort-offsets-in-portio-registration.patch