Bug 1206037 - qemu coredump when boot with more qxl-vga device - Fast Train
Summary: qemu coredump when boot with more qxl-vga device - Fast Train
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: qemu-kvm
Version: 8.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: 8.0
Assignee: Gerd Hoffmann
QA Contact: liunana
URL:
Whiteboard:
: 1170432 (view as bug list)
Depends On: 1171942 1206030
Blocks: 1401400
TreeView+ depends on / blocked
 
Reported: 2015-03-26 07:49 UTC by Sibiao Luo
Modified: 2019-11-12 00:11 UTC (History)
13 users (show)

Fixed In Version: qemu 3.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1206030
Environment:
Last Closed: 2019-05-29 16:04:07 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:1293 0 None None None 2019-05-29 16:04:47 UTC

Comment 1 Sibiao Luo 2015-03-26 07:50:58 UTC
host info:
# uname -r && rpm -q qemu-kvm-rhev
3.10.0-232.el7.x86_64
qemu-kvm-rhev-2.2.0-8.el7.x86_64

/usr/libexec/qemu-kvm -name rhel7.2 -M pc -m 4G -cpu Opteron_G3 -smp 4,sockets=4,cores=1,threads=1,maxcpus=4 -rtc base=utc,driftfix=slew -vga qxl -device qxl-vga -monitor stdioStarting program: /usr/libexec/qemu-kvm -name rhel7.2 -M pc -m 4G -cpu Opteron_G3 -smp 4,sockets=4,cores=1,threads=1,maxcpus=4 -rtc base=utc,driftfix=slew -vga qxl -device qxl-vga -monitor stdio

RAMBlock "vga.vram" already registered, abort!

Program received signal SIGABRT, Aborted.
0x00007ffff09ba5d7 in raise () from /lib64/libc.so.6

(gdb) bt
#0  0x00007ffff09ba5d7 in raise () from /lib64/libc.so.6
#1  0x00007ffff09bbcc8 in abort () from /lib64/libc.so.6
#2  0x00005555555e2ffc in qemu_ram_set_idstr (addr=<optimized out>, name=0x5555562039d0 "vga.vram", dev=<optimized out>) at /usr/src/debug/qemu-2.2.0/exec.c:1274
#3  0x000055555561c913 in vmstate_register_ram (mr=mr@entry=0x5555562c4570, dev=<optimized out>) at /usr/src/debug/qemu-2.2.0/savevm.c:1407
#4  0x000055555562bde8 in vga_common_init (s=0x5555562c4560, obj=0x5555562c3940, global_vmstate=<optimized out>) at /usr/src/debug/qemu-2.2.0/hw/display/vga.c:2116
#5  0x000055555574da2c in qxl_init_primary (dev=0x5555562c3940) at hw/display/qxl.c:2042
#6  0x000055555576f2b7 in pci_qdev_init (qdev=0x5555562c3940) at hw/pci/pci.c:1766
#7  0x000055555572ace4 in device_realize (dev=0x5555562c3940, errp=0x7fffffffde80) at hw/core/qdev.c:197
#8  0x000055555572c2fe in device_set_realized (obj=0x5555562c3940, value=<optimized out>, errp=0x7fffffffdfb8) at hw/core/qdev.c:990
#9  0x00005555557aad2e in property_set_bool (obj=0x5555562c3940, v=<optimized out>, opaque=0x555556261b70, name=<optimized out>, errp=0x7fffffffdfb8) at qom/object.c:1514
#10 0x00005555557ad8b7 in object_property_set_qobject (obj=0x5555562c3940, value=<optimized out>, name=0x55555589153d "realized", errp=0x7fffffffdfb8)
    at qom/qom-qobject.c:24
#11 0x00005555557ac340 in object_property_set_bool (obj=obj@entry=0x5555562c3940, value=value@entry=true, name=name@entry=0x55555589153d "realized", 
    errp=errp@entry=0x7fffffffdfb8) at qom/object.c:905
#12 0x00005555556d4ec4 in qdev_device_add (opts=0x55555615b640) at qdev-monitor.c:574
#13 0x00005555556e7ff9 in device_init_func (opts=<optimized out>, opaque=<optimized out>) at vl.c:2228
#14 0x000055555585d57b in qemu_opts_foreach (list=<optimized out>, func=func@entry=0x5555556e7ff0 <device_init_func>, opaque=opaque@entry=0x0, 
    abort_on_failure=abort_on_failure@entry=1) at util/qemu-option.c:1057
#15 0x00005555555dbc28 in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at vl.c:4292
(gdb)

Comment 6 Gerd Hoffmann 2016-06-13 12:51:48 UTC
*** Bug 1170432 has been marked as a duplicate of this bug. ***

Comment 7 Gerd Hoffmann 2017-01-09 13:11:45 UTC
Not fixed yet upstream, unlikely to make 7.4, deferring.

Comment 8 Gerd Hoffmann 2018-07-04 11:39:31 UTC
upstream commit 1fcfdc435a3e25ab9037f6f7b8ab4bdf89ba1269

Comment 18 Gerd Hoffmann 2019-02-19 11:28:05 UTC
Fix works only for new machine types.  So, as we didn't add new pc machine types you have to pick q35 (aka pc-q35-rhel8.0.0) to verify.

Comment 27 errata-xmlrpc 2019-05-29 16:04:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:1293


Note You need to log in before you can comment on or make changes to this bug.