From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIJuQ-0008Nb-Hb for qemu-devel@nongnu.org; Mon, 02 Feb 2015 11:31:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIJuN-0001ww-42 for qemu-devel@nongnu.org; Mon, 02 Feb 2015 11:31:34 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIJuM-0001wg-TH for qemu-devel@nongnu.org; Mon, 02 Feb 2015 11:31:31 -0500 Message-ID: <54CF9755.3080705@redhat.com> Date: Mon, 02 Feb 2015 16:27:17 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1422631197-26063-1-git-send-email-pbonzini@redhat.com> <54CF8FFA.8010207@redhat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PULL 00/11] RCU, scsi, modules, icount changes for 2015-01-30 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers On 02/02/2015 16:03, Peter Maydell wrote: > On 2 February 2015 at 14:55, Paolo Bonzini 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= 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= 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= 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= 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= 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= 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= 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= 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= 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= unavailable, due to optimizations>, duration= 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 >