From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:52711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCw3K-0005V3-AQ for qemu-devel@nongnu.org; Thu, 21 Apr 2011 11:44:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QCw3J-0001le-G8 for qemu-devel@nongnu.org; Thu, 21 Apr 2011 11:44:22 -0400 Received: from mail-qy0-f173.google.com ([209.85.216.173]:39405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCw3J-0001la-Dk for qemu-devel@nongnu.org; Thu, 21 Apr 2011 11:44:21 -0400 Received: by qyk36 with SMTP id 36so2753041qyk.4 for ; Thu, 21 Apr 2011 08:44:20 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <20110410132415.GA6719@volta.aurel32.net> Date: Thu, 21 Apr 2011 17:44:20 +0200 Message-ID: From: Laurent Desnogues Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Qemu-devel] tcg/tcg.c:1892: tcg fatal error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Artyom Tarasenko Cc: Blue Swirl , peter.maydell@linaro.org, qemu-devel , Aurelien Jarno On Thu, Apr 21, 2011 at 4:57 PM, Artyom Tarasenko wrote: > On Tue, Apr 12, 2011 at 4:14 AM, Igor Kovalenko > wrote: >>>> Do you have public test case? >>>> It is possible to code this delay slot write test but real issue may >>>> be corruption elsewhere. > > The test case is trivial: it's just the two instructions, branch and wrpr. > >> In theory there could be multiple issues including compiler induced ones. >> I'd prefer to see some kind of reproducible testcase. > > Ok, attached a 40 byte long test (the first 32 bytes are not used and > needed only because the bios entry point is 0x20). > > $ git pull && make && sparc64-softmmu/qemu-system-sparc64 -bios > test-wrpr.bin -nographic > Already up-to-date. > make[1]: Nothing to be done for `all'. > /mnt/terra/projects/vanilla/qemu/tcg/tcg.c:1892: tcg fatal error > Aborted The problem seems to be that wrpr is using a non-local TCG tmp (cpu_tmp0). Laurent