All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>,
	Stefan Hajnoczi <stefanha@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>, QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PULL for-2.4 0/4] Block patches
Date: Tue, 21 Jul 2015 13:46:46 +0200	[thread overview]
Message-ID: <55AE3126.5010409@redhat.com> (raw)
In-Reply-To: <CAFEAcA98JTf-xBseGMmnCF_FMc1v5wDHze_0JVOuO2tYWyC32A@mail.gmail.com>



On 21/07/2015 11:04, Peter Maydell wrote:
> On 20 July 2015 at 19:05, Stefan Hajnoczi <stefanha@redhat.com> wrote:
>> The following changes since commit f73ca7363440240b7ee5ee7f7ddb1c64751efb54:
>>
>>   Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (2015-07-20 13:25:28 +0100)
>>
>> are available in the git repository at:
>>
>>   git://github.com/stefanha/qemu.git tags/block-pull-request
>>
>> for you to fetch changes up to 4fefb0d50cd0a803bba3cedaeb9adfb80cc61fed:
>>
>>   AioContext: fix broken ctx->dispatching optimization (2015-07-20 17:14:22 +0100)
>>
>> ----------------------------------------------------------------
>>
>> ----------------------------------------------------------------
>>
>> Fam Zheng (1):
>>   mirror: Speed up bitmap initial scanning
>>
>> Paolo Bonzini (3):
>>   tests: remove irrelevant assertions from test-aio
>>   aio-win32: reorganize polling loop
>>   AioContext: fix broken ctx->dispatching optimization
> 
> I'm afraid this seems to cause 'make check' to hang on one
> of the PPC tests:
> 
> QTEST_QEMU_BINARY=ppc-softmmu/qemu-system-ppc QTEST_QEMU_IMG=qemu-img
> MALLOC_PERTURB_=${MALLOC_PERTURB_:-$((RANDOM % 255 + 1))} gtester -k
> --verbose -m=quick tests/endianness-test tests/boot-order-test
> tests/qom-test
> TEST: tests/endianness-test... (pid=27216)
>   /ppc/endianness/g3beige:                                             OK
>   /ppc/endianness/split/g3beige:                                       OK
>   /ppc/endianness/combine/g3beige:                                     OK
>   /ppc/endianness/prep:                                                OK
>   /ppc/endianness/split/prep:                                          OK
>   /ppc/endianness/combine/prep:                                        OK
>   /ppc/endianness/bamboo:                                              OK
>   /ppc/endianness/split/bamboo:                                        OK
>   /ppc/endianness/combine/bamboo:                                      OK
> PASS: tests/endianness-test
> TEST: tests/boot-order-test... (pid=27228)
>   /ppc/boot-order/prep:                                                OK
>   /ppc/boot-order/pmac_oldworld:
> 
> (and then it just sits there. Seen on x86-64/Linux and OSX hosts.)
> 
> Backtrace from connecting a gdb to it:
> (gdb) thread apply all bt
> 
> Thread 3 (Thread 0x2ac8d2d5f700 (LWP 17911)):
> #0  __lll_lock_wait () at
> ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
> #1  0x00002ac8c6310657 in _L_lock_909 () from
> /lib/x86_64-linux-gnu/libpthread.so.0
> #2  0x00002ac8c6310480 in __GI___pthread_mutex_lock
> (mutex=0x2ac8be8dad00 <qemu_global_mutex>) at
> ../nptl/pthread_mutex_lock.c:79
> #3  0x00002ac8be3a9f89 in qemu_mutex_lock
> (mutex=mutex@entry=0x2ac8be8dad00 <qemu_global_mutex>) at
> /home/petmay01/linaro/qemu-for-merges/util/qemu-thread-posix.c:73
> #4  0x00002ac8be0554a4 in qemu_mutex_lock_iothread () at
> /home/petmay01/linaro/qemu-for-merges/cpus.c:1164
> #5  0x00002ac8be3ba33e in call_rcu_thread (opaque=<optimised out>) at
> /home/petmay01/linaro/qemu-for-merges/util/rcu.c:241
> #6  0x00002ac8c630e182 in start_thread (arg=0x2ac8d2d5f700) at
> pthread_create.c:312
> #7  0x00002ac8c661e47d in clone () at
> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
> 
> Thread 2 (Thread 0x2ac8d33ac700 (LWP 17912)):
> #0  0x00002ac8c63160d1 in do_sigwait (sig=0x2ac8d33ab99c,
> set=<optimised out>) at
> ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:60
> #1  __sigwait (set=set@entry=0x2ac8d33ab9a0,
> sig=sig@entry=0x2ac8d33ab99c) at
> ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:97
> #2  0x00002ac8be055937 in qemu_dummy_cpu_thread_fn
> (arg=0x2ac8bed53450) at
> /home/petmay01/linaro/qemu-for-merges/cpus.c:1016
> #3  0x00002ac8c630e182 in start_thread (arg=0x2ac8d33ac700) at
> pthread_create.c:312
> #4  0x00002ac8c661e47d in clone () at
> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
> 
> Thread 1 (Thread 0x2ac8be572680 (LWP 17910)):
> #0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
> #1  0x00002ac8be3aa5f2 in futex_wait (val=4294967295,
> ev=0x2ac8be669708) at
> /home/petmay01/linaro/qemu-for-merges/util/qemu-thread-posix.c:301
> #2  qemu_event_wait (ev=ev@entry=0x2ac8be669708) at
> /home/petmay01/linaro/qemu-for-merges/util/qemu-thread-posix.c:399
> #3  0x00002ac8be325e41 in qemu_clock_enable
> (type=type@entry=QEMU_CLOCK_VIRTUAL, enabled=enabled@entry=false) at
> /home/petmay01/linaro/qemu-for-merges/qemu-timer.c:167
> #4  0x00002ac8be055d22 in pause_all_vcpus () at
> /home/petmay01/linaro/qemu-for-merges/cpus.c:1200
> #5  0x00002ac8be01491d in main_loop_should_exit () at
> /home/petmay01/linaro/qemu-for-merges/vl.c:1864
> #6  main_loop () at /home/petmay01/linaro/qemu-for-merges/vl.c:1906
> #7  main (argc=<optimised out>, argv=<optimised out>, envp=<optimised
> out>) at /home/petmay01/linaro/qemu-for-merges/vl.c:4653
> 
> thanks
> -- PMM
> 

That's mine...

Paolo

      reply	other threads:[~2015-07-21 11:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-20 18:05 [Qemu-devel] [PULL for-2.4 0/4] Block patches Stefan Hajnoczi
2015-07-20 18:05 ` [Qemu-devel] [PULL for-2.4 1/4] mirror: Speed up bitmap initial scanning Stefan Hajnoczi
2015-07-20 18:05 ` [Qemu-devel] [PULL for-2.4 2/4] tests: remove irrelevant assertions from test-aio Stefan Hajnoczi
2015-07-20 18:05 ` [Qemu-devel] [PULL for-2.4 3/4] aio-win32: reorganize polling loop Stefan Hajnoczi
2015-07-20 18:05 ` [Qemu-devel] [PULL for-2.4 4/4] AioContext: fix broken ctx->dispatching optimization Stefan Hajnoczi
2015-07-21  9:04 ` [Qemu-devel] [PULL for-2.4 0/4] Block patches Peter Maydell
2015-07-21 11:46   ` Paolo Bonzini [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=55AE3126.5010409@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.