Received: from eggs.gnu.org ([2001:4830:134:3::10]:34470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bICxR-00074U-3u for qemu-devel@nongnu.org; Wed, 29 Jun 2016 06:43:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bICxL-0003nG-4k for qemu-devel@nongnu.org; Wed, 29 Jun 2016 06:43:00 -0400 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:36806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bICxK-0003mu-Tc for qemu-devel@nongnu.org; Wed, 29 Jun 2016 06:42:55 -0400 Received: by mail-wm0-x241.google.com with SMTP id c82so13267796wme.3 for ; Wed, 29 Jun 2016 03:42:54 -0700 (PDT) Sender: Paolo Bonzini References: <1467135242-874-1-git-send-email-pbonzini@redhat.com> From: Paolo Bonzini Message-ID: <182e88e2-b932-b348-823a-595ca413cadd@redhat.com> Date: Wed, 29 Jun 2016 12:42:52 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PULL 00/32] Misc patches for QEMU soft freeze List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers On 29/06/2016 11:42, Peter Maydell wrote: > On 28 June 2016 at 18:33, Paolo Bonzini wrote: >> The following changes since commit 7dd929dfdc5c52ce79b21bf557ff506e89acbf63: >> >> configure: Make AVX2 test robust to non-ELF systems (2016-06-28 15:40:40 +0100) >> >> are available in the git repository at: >> >> git://github.com/bonzini/qemu.git tags/for-upstream >> >> for you to fetch changes up to ea74c50f48100860ef4d27f4a1b2aa3f5cb9a766: >> >> vl: smp_parse: fix regression (2016-06-28 19:19:29 +0200) >> >> ---------------------------------------------------------------- >> * serial port fixes (Paolo) >> * Q35 modeling improvements (Paolo, Vasily) >> * chardev cleanup improvements (Marc-André) >> * iscsi bugfix (Peter L.) >> * cpu_exec patch from multi-arch patches (Peter C.) >> * pci-assign tweak (Lin Ma) > > This triggers a lot of errors from the clang ubsan: > > /home/petmay01/linaro/qemu-for-merges/qemu-char.c:4043:5: runtime > error: member access within misaligned address 0x101010101010101 for > type 'CharDriverState' (aka 'struct CharDriverState'), which requires > 8 byte alignment > 0x101010101010101: note: pointer points here Real bug, this should fix it: diff --git a/qemu-char.c b/qemu-char.c index 4aeafe8..33ddabf 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -4553,7 +4553,7 @@ static void qemu_chr_cleanup(void) { CharDriverState *chr; - QTAILQ_FOREACH(chr, &chardevs, next) { + QTAILQ_FOREACH_SAFE(chr, &chardevs, next) { qemu_chr_delete(chr); } } Paolo > > > (There was also a hang trying to run tests on 32-bit > ARM, which might or might not be related. Don't have > more details on that one, sorry.) > > thanks > -- PMM > >