qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Pranith Kumar <bobby.prani@gmail.com>
To: mjc@sifive.com
Cc: qemu-devel <qemu-devel@nongnu.org>, Richard Henderson <rth@twiddle.net>
Subject: Re: [Qemu-devel] qemu-riscv64 seg fault
Date: Mon, 3 Sep 2018 01:16:27 -0700	[thread overview]
Message-ID: <CAJhHMCBKpf2F5NqEvZOugzd0TgK802TxCWfYL1Y2ELiGH-vmJg@mail.gmail.com> (raw)
In-Reply-To: <CAHNT7NvuwMw71jn4aQP2DWiekMEe0veSNrnL0tao3pPR+uGROg@mail.gmail.com>

On Mon, Sep 3, 2018 at 1:07 AM Michael Clark <mjc@sifive.com> 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

  reply	other threads:[~2018-09-03  8:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-03  7:45 [Qemu-devel] qemu-riscv64 seg fault Pranith Kumar
2018-09-03  7:58 ` Pranith Kumar
2018-09-03  8:07   ` Michael Clark
2018-09-03  8:16     ` Pranith Kumar [this message]
2018-09-03  8:41       ` Michael Clark

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJhHMCBKpf2F5NqEvZOugzd0TgK802TxCWfYL1Y2ELiGH-vmJg@mail.gmail.com \
    --to=bobby.prani@gmail.com \
    --cc=mjc@sifive.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).