From: Peter Maydell <peter.maydell@linaro.org>
To: "Rengert, Mark" <mrengert@redcom.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] FW: qemu-ppc core dumps randomly on postgresql thread safety test
Date: Fri, 6 Jan 2012 13:00:09 +0000 [thread overview]
Message-ID: <CAFEAcA8PNdLdq9oQ5djoom4kHvcHaqxCpcoSZ2oFkmb=qAf47A@mail.gmail.com> (raw)
In-Reply-To: <401084E5E73F4241A44F3C9E6FD794282454A951@exch-01>
On 6 January 2012 12:37, Rengert, Mark <mrengert@redcom.com> wrote:
> I am using scratchbox2 under Ubuntu 10.04 to build postgresql for ppc. About half the time
> the configuration test for thread safety fails with a qemu-ppc coredump. It fails less often
> when QEMU_STRACE is defined but it still fails sometimes. It appears to happen in the
> pthread_join() call, I think.
>
> Here is the info requested on the KVM bug report webpage (http://www.linux-kvm.org/page/Bugs):
>
> CPU model: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
>
> Host kernel: Linux florida 2.6.32-36-generic-pae #79-Ubuntu SMP Tue Nov 8 23:25:26 UTC 2011 i686 GNU/Linux
>
> Guest: via "sb2 -t powerpc-unknown-linux-gnu"
>
> Qemu command: (generated by scratchbox) "/usr/bin/qemu-ppc -U LD_PRELOAD -L / -0 ./conftest ./conftest"
> Scratchbox2 version: 2.0-lta101
> Qemu version: qemu-ppc version 0.12.3 (qemu-kvm-0.12.3), Copyright (c) 2003-2008 Fabrice Bellard
> Ubuntu package: qemu-kvm-extras 0.12.3+noroms-0ubuntu9.16 (latest version available for Ubuntu 10.04)
Two things:
(1) this is a known bug, qemu has some race conditions which are
exposed by running
heavily multithreaded code in user-mode, and which can cause crashes/hangs/other
problems.
(2) 0.12.3 is a really old version. As it happens I know we haven't
fixed this bug yet,
but in most other cases we'd just ask you to retry with a newer QEMU version.
-- PMM
prev parent reply other threads:[~2012-01-06 13:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-06 12:37 [Qemu-devel] FW: qemu-ppc core dumps randomly on postgresql thread safety test Rengert, Mark
2012-01-06 13:00 ` Peter Maydell [this message]
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='CAFEAcA8PNdLdq9oQ5djoom4kHvcHaqxCpcoSZ2oFkmb=qAf47A@mail.gmail.com' \
--to=peter.maydell@linaro.org \
--cc=mrengert@redcom.com \
--cc=qemu-devel@nongnu.org \
/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).