All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PULL 00/11] RCU, scsi, modules, icount changes for 2015-01-30
Date: Mon, 02 Feb 2015 16:27:17 +0100	[thread overview]
Message-ID: <54CF9755.3080705@redhat.com> (raw)
In-Reply-To: <CAFEAcA-e=7im867sQ=pYE4ewUwrac8WHq3MjKEnso+E9ycdxoA@mail.gmail.com>



On 02/02/2015 16:03, Peter Maydell wrote:
> On 2 February 2015 at 14:55, Paolo Bonzini <pbonzini@redhat.com> wrote:
>> and if it still fails, catch a backtrace of all threads?

Whoa, this has been broken for a long, long time.

Paolo

> (gdb) thread apply all backtrace
> 
> Thread 9 (process 42110):
> #0  0x00007fff94a94746 in __psynch_mutexwait ()
> #1  0x00007fff968df779 in _pthread_mutex_lock ()
> #2  0x000000010880a589 in qemu_mutex_lock (mutex=0x10880c990) at
> /Users/pm215/src/qemu/util/qemu-thread-posix.c:77
> #3  0x000000010880b247 in synchronize_rcu () at
> /Users/pm215/src/qemu/util/rcu.c:128
> #4  0x000000010880a105 in rcu_fake_update_stress_test (arg=<value
> temporarily unavailable, due to optimizations>) at
> /Users/pm215/src/qemu/tests/rcutorture.c:324
> #5  0x00007fff968dc899 in _pthread_body ()
> #6  0x00007fff968dc72a in _pthread_start ()
> #7  0x00007fff968e0fc9 in thread_start ()
> 
> Thread 8 (process 42110):
> #0  0x00007fff94a94746 in __psynch_mutexwait ()
> #1  0x00007fff968df779 in _pthread_mutex_lock ()
> #2  0x000000010880a589 in qemu_mutex_lock (mutex=0x10880c990) at
> /Users/pm215/src/qemu/util/qemu-thread-posix.c:77
> #3  0x000000010880b247 in synchronize_rcu () at
> /Users/pm215/src/qemu/util/rcu.c:128
> #4  0x000000010880a105 in rcu_fake_update_stress_test (arg=<value
> temporarily unavailable, due to optimizations>) at
> /Users/pm215/src/qemu/tests/rcutorture.c:324
> #5  0x00007fff968dc899 in _pthread_body ()
> #6  0x00007fff968dc72a in _pthread_start ()
> #7  0x00007fff968e0fc9 in thread_start ()
> 
> Thread 7 (process 42110):
> #0  0x00007fff94a94746 in __psynch_mutexwait ()
> #1  0x00007fff968df779 in _pthread_mutex_lock ()
> #2  0x000000010880a589 in qemu_mutex_lock (mutex=0x10880c990) at
> /Users/pm215/src/qemu/util/qemu-thread-posix.c:77
> #3  0x000000010880b247 in synchronize_rcu () at
> /Users/pm215/src/qemu/util/rcu.c:128
> #4  0x000000010880a105 in rcu_fake_update_stress_test (arg=<value
> temporarily unavailable, due to optimizations>) at
> /Users/pm215/src/qemu/tests/rcutorture.c:324
> #5  0x00007fff968dc899 in _pthread_body ()
> #6  0x00007fff968dc72a in _pthread_start ()
> #7  0x00007fff968e0fc9 in thread_start ()
> 
> Thread 6 (process 42110):
> #0  0x00007fff94a94746 in __psynch_mutexwait ()
> #1  0x00007fff968df779 in _pthread_mutex_lock ()
> #2  0x000000010880a589 in qemu_mutex_lock (mutex=0x10880c990) at
> /Users/pm215/src/qemu/util/qemu-thread-posix.c:77
> #3  0x000000010880b247 in synchronize_rcu () at
> /Users/pm215/src/qemu/util/rcu.c:128
> #4  0x000000010880a105 in rcu_fake_update_stress_test (arg=<value
> temporarily unavailable, due to optimizations>) at
> /Users/pm215/src/qemu/tests/rcutorture.c:324
> #5  0x00007fff968dc899 in _pthread_body ()
> #6  0x00007fff968dc72a in _pthread_start ()
> #7  0x00007fff968e0fc9 in thread_start ()
> 
> Thread 5 (process 42110):
> #0  0x00007fff94a94746 in __psynch_mutexwait ()
> #1  0x00007fff968df779 in _pthread_mutex_lock ()
> #2  0x000000010880a589 in qemu_mutex_lock (mutex=0x10880c990) at
> /Users/pm215/src/qemu/util/qemu-thread-posix.c:77
> #3  0x000000010880b247 in synchronize_rcu () at
> /Users/pm215/src/qemu/util/rcu.c:128
> #4  0x000000010880a105 in rcu_fake_update_stress_test (arg=<value
> temporarily unavailable, due to optimizations>) at
> /Users/pm215/src/qemu/tests/rcutorture.c:324
> #5  0x00007fff968dc899 in _pthread_body ()
> #6  0x00007fff968dc72a in _pthread_start ()
> #7  0x00007fff968e0fc9 in thread_start ()
> 
> Thread 4 (process 42110):
> #0  0x00007fff94a94716 in __psynch_cvwait ()
> #1  0x00007fff968dec3b in _pthread_cond_wait ()
> #2  0x000000010880ac68 in futex_wait [inlined] () at
> /Users/pm215/src/qemu/util/qemu-thread-posix.c:321
> #3  0x000000010880ac68 in qemu_event_wait (ev=0x10880c2b8) at
> /Users/pm215/src/qemu/util/qemu-thread-posix.c:401
> #4  0x000000010880b288 in wait_for_readers [inlined] () at
> /Users/pm215/src/qemu/util/rcu.c:119
> #5  0x000000010880b288 in synchronize_rcu () at
> /Users/pm215/src/qemu/util/rcu.c:148
> #6  0x000000010880a06c in rcu_update_stress_test (arg=<value
> temporarily unavailable, due to optimizations>) at
> /Users/pm215/src/qemu/tests/rcutorture.c:307
> #7  0x00007fff968dc899 in _pthread_body ()
> #8  0x00007fff968dc72a in _pthread_start ()
> #9  0x00007fff968e0fc9 in thread_start ()
> 
> Thread 3 (process 42110):
> #0  0x00007fff94a94746 in __psynch_mutexwait ()
> #1  0x00007fff968df779 in _pthread_mutex_lock ()
> #2  0x000000010880a589 in qemu_mutex_lock (mutex=0x10880c990) at
> /Users/pm215/src/qemu/util/qemu-thread-posix.c:77
> #3  0x000000010880b247 in synchronize_rcu () at
> /Users/pm215/src/qemu/util/rcu.c:128
> #4  0x0000000108809e70 in rcu_read_stress_test (arg=<value temporarily
> unavailable, due to optimizations>) at
> /Users/pm215/src/qemu/tests/rcutorture.c:271
> #5  0x00007fff968dc899 in _pthread_body ()
> #6  0x00007fff968dc72a in _pthread_start ()
> #7  0x00007fff968e0fc9 in thread_start ()
> 
> Thread 2 (process 42110):
> #0  0x00007fff94a94716 in __psynch_cvwait ()
> #1  0x00007fff968dec3b in _pthread_cond_wait ()
> #2  0x000000010880ac68 in futex_wait [inlined] () at
> /Users/pm215/src/qemu/util/qemu-thread-posix.c:321
> #3  0x000000010880ac68 in qemu_event_wait (ev=0x10880c9e0) at
> /Users/pm215/src/qemu/util/qemu-thread-posix.c:401
> #4  0x000000010880b6b0 in call_rcu_thread (opaque=<value temporarily
> unavailable, due to optimizations>) at
> /Users/pm215/src/qemu/util/rcu.c:231
> #5  0x00007fff968dc899 in _pthread_body ()
> #6  0x00007fff968dc72a in _pthread_start ()
> #7  0x00007fff968e0fc9 in thread_start ()
> 
> Thread 1 (process 42110):
> #0  0x00007fff94a94a3a in __semwait_signal ()
> #1  0x00007fff968e07f3 in pthread_join ()
> #2  0x000000010880af73 in qemu_thread_join (thread=<value temporarily
> unavailable, due to optimizations>) at
> /Users/pm215/src/qemu/util/qemu-thread-posix.c:506
> #3  0x000000010880a2c8 in wait_all_threads [inlined] () at
> /Users/pm215/src/qemu/tests/rcutorture.c:105
> #4  0x000000010880a2c8 in gtest_stress (nreaders=<value temporarily
> unavailable, due to optimizations>, duration=<value temporarily
> unavailable, due to optimizations>) at
> /Users/pm215/src/qemu/tests/rcutorture.c:379
> #5  0x000000010886291d in g_test_run_suite_internal ()
> #6  0x0000000108862ae1 in g_test_run_suite_internal ()
> #7  0x0000000108862ae1 in g_test_run_suite_internal ()
> #8  0x0000000108862198 in g_test_run_suite ()
> #9  0x000000010880961e in main (argc=1, argv=0x7fff573f78c8) at
> /Users/pm215/src/qemu/tests/rcutorture.c:430
> 
> -- PMM
> 

  reply	other threads:[~2015-02-02 16:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-30 15:19 [Qemu-devel] [PULL 00/11] RCU, scsi, modules, icount changes for 2015-01-30 Paolo Bonzini
2015-01-30 15:19 ` [Qemu-devel] [PULL 01/11] rcu: add rcu library Paolo Bonzini
2015-01-30 15:19 ` [Qemu-devel] [PULL 02/11] rcu: add rcutorture Paolo Bonzini
2015-01-30 15:19 ` [Qemu-devel] [PULL 03/11] rcu: allow nesting of rcu_read_lock/rcu_read_unlock Paolo Bonzini
2015-01-30 15:19 ` [Qemu-devel] [PULL 04/11] rcu: add call_rcu Paolo Bonzini
2015-01-30 15:19 ` [Qemu-devel] [PULL 05/11] memory: remove assertion on memory_region_destroy Paolo Bonzini
2015-01-30 15:19 ` [Qemu-devel] [PULL 06/11] memory: protect current_map by RCU Paolo Bonzini
2015-01-30 15:19 ` [Qemu-devel] [PULL 07/11] memory: avoid ref/unref in memory_region_find Paolo Bonzini
2015-01-30 15:19 ` [Qemu-devel] [PULL 08/11] cpu-exec: simplify align_clocks Paolo Bonzini
2015-01-30 15:19 ` [Qemu-devel] [PULL 09/11] cpu-exec: simplify init_delay_params Paolo Bonzini
2015-01-30 15:19 ` [Qemu-devel] [PULL 10/11] scsi: Fix scsi_req_cancel_async for no aiocb req Paolo Bonzini
2015-01-30 15:19 ` [Qemu-devel] [PULL 11/11] configure: Default to enable module build Paolo Bonzini
2015-02-02 14:36 ` [Qemu-devel] [PULL 00/11] RCU, scsi, modules, icount changes for 2015-01-30 Peter Maydell
2015-02-02 14:55   ` Paolo Bonzini
2015-02-02 15:03     ` Peter Maydell
2015-02-02 15:27       ` Paolo Bonzini [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-01-30 15:01 Paolo Bonzini

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=54CF9755.3080705@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --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 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.