qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Problem in pcie_pci_bridge_realize()


From: Thomas Huth
Subject: [Qemu-devel] Problem in pcie_pci_bridge_realize()
Date: Wed, 27 Sep 2017 17:50:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

 Hi,

QEMU currently aborts with an assertion when plugging of the
pcie-pci-bridge fails, e.g.:

$ mips64el-softmmu/qemu-system-mips64el -M malta -nographic -S \
                -device pcie-pci-bridge -bios pc-bios/bios.bin 
qemu-system-mips64el: memory.c:1699: memory_region_finalize:
 Assertion `!mr->container' failed.
Aborted (core dumped)

The backtrace points to the pcie_pci_bridge_realize() function:

#0  0x00007ffff150f1f7 in raise () at /lib64/libc.so.6
#1  0x00007ffff15108e8 in abort () at /lib64/libc.so.6
#2  0x00007ffff1508266 in __assert_fail_base () at /lib64/libc.so.6
#3  0x00007ffff1508312 in  () at /lib64/libc.so.6
#4  0x00005555557cedaf in memory_region_finalize (obj=<optimized out>)
    at /home/thuth/devel/qemu/memory.c:1699
#5  0x0000555555a49852 in object_unref (type=<optimized out>, 
obj=0x555556e68580)
    at /home/thuth/devel/qemu/qom/object.c:453
#6  0x0000555555a49852 in object_unref (data=0x555556e68580) at 
/home/thuth/devel/qemu/qom/object.c:467
#7  0x0000555555a49852 in object_unref (obj=0x555556e68580) at 
/home/thuth/devel/qemu/qom/object.c:902
#8  0x0000555555a48887 in object_property_del_child (obj=0x555556dc7760, 
address@hidden, errp=0x0) at /home/thuth/devel/qemu/qom/object.c:427
#9  0x0000555555a490a4 in object_unparent (address@hidden)
    at /home/thuth/devel/qemu/qom/object.c:446
#10 0x00005555559906ae in shpc_free (address@hidden)
    at /home/thuth/devel/qemu/hw/pci/shpc.c:676
#11 0x0000555555987470 in pcie_pci_bridge_realize (d=0x555556dc7760, 
errp=0x7fffffffd710)
    at /home/thuth/devel/qemu/hw/pci-bridge/pcie_pci_bridge.c:84
#12 0x000055555598ca67 in pci_qdev_realize (qdev=0x555556dc7760, 
errp=0x7fffffffd7b0)
    at /home/thuth/devel/qemu/hw/pci/pci.c:2024
#13 0x000055555590ee4a in device_set_realized (obj=<optimized out>, 
value=<optimized out>, errp=0x7fffffffd8e8) at 
/home/thuth/devel/qemu/hw/core/qdev.c:914

Any clue what might be wrong here?

 Thomas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]