qemu crashes with assertion error `!mr->container' failed

Bug #1721220 reported by R.Nageswara Sastry
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

Re-production steps:
git clone today's qemu git tree (4th Oct 2017)
./configure --target-list=ppc64-softmmu && make -j 8

Run the device-crash-test from scripts folder, seeing the following error

INFO: running test case: machine=bamboo binary=ppc64-softmmu/qemu-system-ppc64 device=pcie-pci-bridge accel=kvm
WARNING: qemu received signal -6: ppc64-softmmu/qemu-system-ppc64 -chardev socket,id=mon,path=/var/tmp/qemu-30972-monitor.sock -mon chardev=mon,mode=control -display none -vga none -S -machine bamboo,accel=kvm -device pcie-pci-bridge
CRITICAL: failed: machine=bamboo binary=ppc64-softmmu/qemu-system-ppc64 device=pcie-pci-bridge accel=kvm
CRITICAL: cmdline: ppc64-softmmu/qemu-system-ppc64 -S -machine bamboo,accel=kvm -device pcie-pci-bridge
CRITICAL: log: qemu-system-ppc64: /home/nasastry/qemu/memory.c:1699: memory_region_finalize: Assertion `!mr->container' failed.
CRITICAL: log: warning: KVM does not support watchdog
CRITICAL: exit code: -6

summary: - qemu crashes with signal 6 when tried with -machine bamboo,accel=kvm
- -device pcie-pci-bridge
+ qemu crashes with signal 6 with assertion error `!mr->container' failed
summary: - qemu crashes with signal 6 with assertion error `!mr->container' failed
+ qemu crashes with assertion error `!mr->container' failed
Revision history for this message
Thomas Huth (th-huth) wrote :

I think this should be fixed by this patch here:
https://lists.gnu.org/archive/html/qemu-devel/2017-09/msg06696.html
("hw/pci-bridge/pcie_pci_bridge: properly handle MSI unavailability case")

Revision history for this message
R.Nageswara Sastry (nasastry) wrote :

With the mentioned patch not seeing the Abort.

# ppc64-softmmu/qemu-system-ppc64 -S -machine bamboo,accel=kvm -device pcie-pci-bridge
gtk initialization failed
warning: KVM does not support watchdog

Thanks!!

Revision history for this message
Murilo Opsfelder Araújo (mopsfelder) wrote :

As per previous comments, this bug was fixed by commit https://git.qemu.org/?p=qemu.git;a=commitdiff;h=d659d94013390238961fac741572306c95496bf5 (released in QEMU v2.11.0):

commit d659d94013390238961fac741572306c95496bf5
Author: Aleksandr Bezzubikov <email address hidden>
Date: Mon Sep 25 02:21:58 2017 +0300

    hw/pci-bridge/pcie_pci_bridge: properly handle MSI unavailability case

Changed in qemu:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.