From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: applications running in KVM crashing? Date: Wed, 14 Jul 2010 17:00:39 +0300 Message-ID: <4C3DC307.9050903@redhat.com> References: <20100609041444.GA4550@nik-comp.linuxbox.cz> <4C0F827B.4040404@redhat.com> <20100609121800.GA5390@develbox.linuxbox.cz> <20100714094553.GA10153@develbox.linuxbox.cz> <4C3DB2CE.2050300@redhat.com> <20100714134132.GC10153@develbox.linuxbox.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: KVM list , nikola.ciprich@linuxbox.cz, krucina@linuxbox.cz To: Nikola Ciprich Return-path: Received: from mx1.redhat.com ([209.132.183.28]:4621 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753588Ab0GNOAx (ORCPT ); Wed, 14 Jul 2010 10:00:53 -0400 In-Reply-To: <20100714134132.GC10153@develbox.linuxbox.cz> Sender: kvm-owner@vger.kernel.org List-ID: On 07/14/2010 04:41 PM, Nikola Ciprich wrote: >> disassembly around the failure please. >> > hmm, is this what You want? > > (gdb) disas 0x00007f6391472273 > 0x00007f6391472273: lock decl (%rdi) > By coincidence, a patch was sent yesterday fixing lock decl. Can you try it out? commit cb7eaecb3389c7fa2490ea1bee8f10cfa5df30d4 Author: Gleb Natapov Date: Tue Jul 13 16:40:23 2010 +0300 KVM: x86: emulator: inc/dec can have lock prefix Mark inc (0xfe/0 0xff/0) and dec (0xfe/1 0xff/1) as lock prefix capable. Signed-off-by: Gleb Natapov Signed-off-by: Marcelo Tosatti Although userspace code shouldn't invoke the emulator in most situations. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.