From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSjXb-0007QT-9r for qemu-devel@nongnu.org; Tue, 03 Mar 2015 04:55:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSjXX-0003GD-6e for qemu-devel@nongnu.org; Tue, 03 Mar 2015 04:55:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSjXW-0003G5-TQ for qemu-devel@nongnu.org; Tue, 03 Mar 2015 04:54:59 -0500 Message-ID: <54F584E5.906@redhat.com> Date: Tue, 03 Mar 2015 10:54:45 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <54F57EB3.3010301@de.ibm.com> In-Reply-To: <54F57EB3.3010301@de.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] commit 79e2b9aeccedbfd exec: RCUify AddressSpaceDispatch causes crashes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christian Borntraeger Cc: qemu-devel On 03/03/2015 10:28, Christian Borntraeger wrote: > > Paolo, > > guests with lots of threads crash after this patch > > commit 79e2b9aeccedbfde762b05da662132c7fda292be > Author: Paolo Bonzini > AuthorDate: Wed Jan 21 12:09:14 2015 +0100 > Commit: Paolo Bonzini > CommitDate: Mon Feb 16 17:30:19 2015 +0100 > > exec: RCUify AddressSpaceDispatch > > (gdb) bt > #0 kvm_flush_coalesced_mmio_buffer () at /home/cborntra/REPOS/qemu/kvm-all.c:1694 > #1 0x000000008001835a in qemu_flush_coalesced_mmio_buffer () at /home/cborntra/REPOS/qemu/exec.c:1066 > #2 0x00000000800572ee in memory_region_clear_coalescing (mr=0x80409c30 ) at /home/cborntra/REPOS/qemu/memory.c:1524 > #3 0x00000000800573d0 in memory_region_finalize (obj=) at /home/cborntra/REPOS/qemu/memory.c:1253 > #4 0x000000008016d2e8 in object_deinit (type=0x808a7d00, obj=) at /home/cborntra/REPOS/qemu/qom/object.c:399 > #5 object_finalize (data=0x80409c30 ) at /home/cborntra/REPOS/qemu/qom/object.c:413 > #6 object_unref (obj=0x80409c30 ) at /home/cborntra/REPOS/qemu/qom/object.c:720 > #7 0x00000000800166ac in phys_section_destroy (mr=0x80409c30 ) at /home/cborntra/REPOS/qemu/exec.c:968 > #8 phys_sections_free (map=0x808dc038) at /home/cborntra/REPOS/qemu/exec.c:981 > #9 address_space_dispatch_free (d=0x808dc020) at /home/cborntra/REPOS/qemu/exec.c:2115 > #10 0x00000000802243ea in call_rcu_thread (opaque=) at /home/cborntra/REPOS/qemu/util/rcu.c:256 > #11 0x000003fffc4d34e6 in start_thread () from /lib64/libpthread.so.0 > #12 0x000003fffc4260fa in thread_start () from /lib64/libc.so.6 > > Christian > This is the same that was reported by Gonglei... Looking at it. Paolo