qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Pavel Dovgalyuk" <dovgaluk@ispras.ru>
To: 'Stefan Hajnoczi' <stefanha@gmail.com>
Cc: 'qemu-devel' <qemu-devel@nongnu.org>,
	"'Paolo Bonzini'" <pbonzini@redhat.com>,
	"'Pavel Dovgalyuk'" <pavel.dovgaluk@ispras.ru>,
	"'Peter Maydell'" <peter.maydell@linaro.org>,
	"'Alex Bennée'" <alex.bennee@linaro.org>
Subject: Re: [Qemu-devel] qemu-2.8-rc4 is broken
Date: Wed, 11 Jan 2017 10:10:59 +0300	[thread overview]
Message-ID: <000801d26bd9$dca56db0$95f04910$@ru> (raw)
In-Reply-To: <CAJSP0QW1pOcthcEt16Pp5xQu3miUh2Leq3kn3yvQqWqhi1P=QQ@mail.gmail.com>

> From: Stefan Hajnoczi [mailto:stefanha@gmail.com]
> On Wed, Dec 21, 2016 at 5:57 AM, Pavel Dovgalyuk <dovgaluk@ispras.ru> wrote:
> >> -----Original Message-----
> >> From: Stefan Hajnoczi [mailto:stefanha@gmail.com]
> >> On Tue, Dec 20, 2016 at 11:10 AM, Pavel Dovgalyuk <dovgaluk@ispras.ru> wrote:
> >> >> From: Stefan Hajnoczi [mailto:stefanha@gmail.com]
> >> >> On Tue, Dec 20, 2016 at 10:45:44AM +0300, Pavel Dovgalyuk wrote:
> >> >> > It also fails much earlier when I enable logs with "-d int -D log".
> >> >> >
> >> >> Looks like a heap corruption bug since free() is failing.
> >> >
> >> > Seems to be a race condition.
> >> > When I add logs into invalidate_page_bitmap, the bug disappears.
> >> > It seems that someone tries to free the same page bitmap twice and simultaneously.
> >>
> >> Does the following workaround prevent the crashes?
> >>
> >> -global apic-common.vapic=off
> >
> > Yes, this option helps.
> > Thank you.
> 
> Good news.  This can be fixed in 2.8.1 once someone finds a solution.

It seems that something still goes wrong.
I'm using this workaround, but there is a kind of deadlock in translation.
call_rcu_thread hangs at some moment in qemu_event_wait.

As far as I understand, it is used by QHT in translate-all.c.
I can't get more information yet, because logging makes everything too slow.

Pavel Dovgalyuk

  reply	other threads:[~2017-01-11  7:11 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-19  9:47 [Qemu-devel] qemu-2.8-rc4 is broken Pavel Dovgalyuk
2016-12-20  7:45 ` Pavel Dovgalyuk
2016-12-20 10:21   ` Stefan Hajnoczi
2016-12-20 11:10     ` Pavel Dovgalyuk
2016-12-20 13:20       ` Stefan Hajnoczi
2016-12-20 14:02       ` Stefan Hajnoczi
2016-12-20 16:02         ` Alex Bennée
2016-12-20 16:13           ` Stefan Hajnoczi
2016-12-21  5:57         ` Pavel Dovgalyuk
2016-12-21 11:05           ` Stefan Hajnoczi
2017-01-11  7:10             ` Pavel Dovgalyuk [this message]
2017-01-11 11:41               ` Alex Bennée
2017-01-12  8:07                 ` Pavel Dovgalyuk
2017-01-20 17:33                   ` Alex Bennée
2017-01-23  7:50                     ` Pavel Dovgalyuk
2017-01-23  9:38                       ` Alex Bennée

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='000801d26bd9$dca56db0$95f04910$@ru' \
    --to=dovgaluk@ispras.ru \
    --cc=alex.bennee@linaro.org \
    --cc=pavel.dovgaluk@ispras.ru \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /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).