From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y3LF2-0000Pp-Sb for qemu-devel@nongnu.org; Tue, 23 Dec 2014 03:55:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y3LEx-0003mC-5k for qemu-devel@nongnu.org; Tue, 23 Dec 2014 03:54:56 -0500 Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:47308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y3LEw-0003lz-Va for qemu-devel@nongnu.org; Tue, 23 Dec 2014 03:54:51 -0500 Received: by mail-wi0-f176.google.com with SMTP id ex7so10199311wid.3 for ; Tue, 23 Dec 2014 00:54:50 -0800 (PST) Sender: Paolo Bonzini Message-ID: <54992DD7.5030301@redhat.com> Date: Tue, 23 Dec 2014 09:54:47 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1418661511-22348-1-git-send-email-pbonzini@redhat.com> <1418661511-22348-27-git-send-email-pbonzini@redhat.com> <20141219021916.GB9468@thinpad.lan.raisama.net> <2162.40673694319$1419317788@news.gmane.org> In-Reply-To: <2162.40673694319$1419317788@news.gmane.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PULL 26/47] cpu-exec: reset exception_index correctly List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pavel Dovgaluk , 'Eduardo Habkost' Cc: qemu-devel@nongnu.org On 23/12/2014 07:55, Pavel Dovgaluk wrote: >> From: Eduardo Habkost [mailto:ehabkost@redhat.com] >> On Mon, Dec 15, 2014 at 05:38:10PM +0100, Paolo Bonzini wrote: >>> From: Pavel Dovgalyuk >>> >>> Exception index is reset at every entry at every entry into cpu_exec() >>> function. This may cause missing the exceptions while replaying them. >>> This patch moves exception_index reset to the locations where they are >>> processed. >>> >>> Signed-off-by: Pavel Dovgalyuk >>> Signed-off-by: Paolo Bonzini >> >> x86_64-linux-user is broken after applying this patch: >> >> [qemu/(e511b4d...)|BISECTING]$ ./install/bin/qemu-x86_64 /bin/true >> qemu: uncaught target signal 8 (Floating point exception) - core dumped >> Floating point exception (core dumped) > > I cannot reproduce this bug. > QEMU runs and terminates correctly. > Can you show me call stack for the exception? It's already fixed in qemu.git. Paolo