From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwk2Z-0001my-RN for qemu-devel@nongnu.org; Mon, 03 Sep 2018 04:16:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwk2Z-00037q-7f for qemu-devel@nongnu.org; Mon, 03 Sep 2018 04:16:55 -0400 Received: from mail-io0-x22f.google.com ([2607:f8b0:4001:c06::22f]:39745) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fwk2Z-00037c-21 for qemu-devel@nongnu.org; Mon, 03 Sep 2018 04:16:55 -0400 Received: by mail-io0-x22f.google.com with SMTP id l7-v6so15248538iok.6 for ; Mon, 03 Sep 2018 01:16:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Pranith Kumar Date: Mon, 3 Sep 2018 01:16:27 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: Re: [Qemu-devel] qemu-riscv64 seg fault List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mjc@sifive.com Cc: qemu-devel , Richard Henderson On Mon, Sep 3, 2018 at 1:07 AM Michael Clark wrote: > > Thanks. I was just about to log an issue in the riscv-qemu issue tracker on GitHub. > > I reproduced it on my side. The fact that it is causes QEMU user to crash in translate.c is interesting. > > I ran your program with -d in_asm and it appears to crash in thread::join Interestingly, qemu-x86_64 crashes too. But running natively on x86 works fine. There is something off somewhere... ~/quickht$ qemu-x86_64 ./bench -t 2 -u 2 qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault ~/quickht$ ./bench -t 2 -u 2 Comparisons: 23922 Buckets touched: 4933 Operations: 2000 -- Pranith