Received: from eggs.gnu.org ([2001:4830:134:3::10]:51825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf21V-0007gK-Rd for qemu-devel@nongnu.org; Fri, 17 Oct 2014 03:32:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xf21U-00010t-PL for qemu-devel@nongnu.org; Fri, 17 Oct 2014 03:32:29 -0400 Received: from hall.aurel32.net ([2001:bc8:30d7:101::1]:60439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xf21U-00010m-Ji for qemu-devel@nongnu.org; Fri, 17 Oct 2014 03:32:28 -0400 Date: Fri, 17 Oct 2014 09:32:27 +0200 From: Aurelien Jarno Message-ID: <20141017073227.GB14823@hall.aurel32.net> References: <86egwyfwh9.fsf@shell.gmplib.org> <86a97mfn4d.fsf@shell.gmplib.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <86a97mfn4d.fsf@shell.gmplib.org> Sender: Aurelien Jarno Subject: Re: [Qemu-devel] Crashes of qemu-system-mips64 and qemu-system-mips64el List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?iso-8859-15?Q?Torbj=F6rn?= Granlund Cc: qemu-devel@nongnu.org On Sun, Aug 03, 2014 at 02:11:30AM +0200, Torbjörn Granlund wrote: > I forgot to mention one of the popular crashes: > > Assertion failed: (len <= 64), function tcg_gen_deposit_i64, file /var/tmp/pkg/usr/ports/emulators/qemu-devel/work/qemu-2.0.0/tcg/tcg-op.h, line 2206. > > (This corresponds to qemu 2.1.0) Hmm it looks quite strange, looking quickly at the code, the only place were we have a variable and unsafe length passed to tcg_gen_deposit_i64 is when using MIPS64R2 instruction, which is not your case according to the previous mail as you said you pass -cpu 5Kc to qemu. I remember there was a patch to fix these instrucions on the mailing list The best would be to get a backtrace using gdb so that we can now what calls tcg_gen_deposit_i64 with this too big len. -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://www.aurel32.net