================================================= ./valgrind-old/drd/tests/annotate_barrier.stderr.diff ================================================= --- annotate_barrier.stderr.exp 2010-08-28 03:25:29.000000000 +0100 +++ annotate_barrier.stderr.out 2010-08-28 03:37:48.000000000 +0100 @@ -24,8 +24,6 @@ Thread 2: Conflicting store by thread 2 at 0x........ size 4 at 0x........: threadfunc (annotate_barrier.c:?) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) - by 0x........: (within libpthread-?.?.so) Address 0x........ is at offset 0 from 0x......... Allocation context: at 0x........: malloc (vg_replace_malloc.c:...) by 0x........: barriers_and_races (annotate_barrier.c:?) ================================================= ./valgrind-old/drd/tests/atomic_var.stderr.diff ================================================= --- atomic_var.stderr.exp 2010-08-28 03:25:29.000000000 +0100 +++ atomic_var.stderr.out 2010-08-28 03:38:54.000000000 +0100 @@ -2,7 +2,6 @@ Start of test. Conflicting load by thread x at 0x........ size 4 at 0x........: thread_func_2 (atomic_var.c:?) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) Location 0x........ is 0 bytes inside local var "s_y" declared at atomic_var.c:35, in frame #? of thread x ================================================= ./valgrind-old/drd/tests/hg03_inherit.stderr.diff ================================================= --- hg03_inherit.stderr.exp 2010-08-28 03:25:29.000000000 +0100 +++ hg03_inherit.stderr.out 2010-08-28 03:39:15.000000000 +0100 @@ -2,13 +2,11 @@ Thread 3: Conflicting store by thread 3 at 0x........ size 4 at 0x........: t2 (hg03_inherit.c:28) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) Location 0x........ is 0 bytes inside shared[1], declared at hg03_inherit.c:11, in frame #? of thread 3 Conflicting store by thread 3 at 0x........ size 4 at 0x........: t2 (hg03_inherit.c:29) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) Location 0x........ is 0 bytes inside shared[1], declared at hg03_inherit.c:11, in frame #? of thread 3 ================================================= ./valgrind-old/drd/tests/hg04_race.stderr.diff ================================================= --- hg04_race.stderr.exp 2010-08-28 03:25:29.000000000 +0100 +++ hg04_race.stderr.out 2010-08-28 03:39:19.000000000 +0100 @@ -2,7 +2,6 @@ Thread 3: Conflicting load by thread 3 at 0x........ size 4 at 0x........: th (hg04_race.c:10) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) Location 0x........ is 0 bytes inside local var "shared" declared at hg04_race.c:6, in frame #? of thread 2 Other segment start (thread 2) @@ -12,7 +11,6 @@ Conflicting store by thread 3 at 0x........ size 4 at 0x........: th (hg04_race.c:10) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) Location 0x........ is 0 bytes inside local var "shared" declared at hg04_race.c:6, in frame #? of thread 2 Other segment start (thread 2) ================================================= ./valgrind-old/drd/tests/hg05_race2.stderr.diff ================================================= --- hg05_race2.stderr.exp 2010-08-28 03:25:29.000000000 +0100 +++ hg05_race2.stderr.out 2010-08-28 03:39:23.000000000 +0100 @@ -2,7 +2,6 @@ Thread 3: Conflicting load by thread 3 at 0x........ size 4 at 0x........: th (hg05_race2.c:17) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) Location 0x........ is 0 bytes inside foo.poot[5].plop[11], declared at hg05_race2.c:24, in frame #? of thread 1 Other segment start (thread 2) @@ -12,7 +11,6 @@ Conflicting store by thread 3 at 0x........ size 4 at 0x........: th (hg05_race2.c:17) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) Location 0x........ is 0 bytes inside foo.poot[5].plop[11], declared at hg05_race2.c:24, in frame #? of thread 1 Other segment start (thread 2) ================================================= ./valgrind-old/drd/tests/hg05_race2.stderr.diff-powerpc ================================================= --- hg05_race2.stderr.exp-powerpc 2010-08-28 03:25:29.000000000 +0100 +++ hg05_race2.stderr.out 2010-08-28 03:39:23.000000000 +0100 @@ -2,8 +2,8 @@ Thread 3: Conflicting load by thread 3 at 0x........ size 4 at 0x........: th (hg05_race2.c:17) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) -Allocation context: unknown. +Location 0x........ is 0 bytes inside foo.poot[5].plop[11], +declared at hg05_race2.c:24, in frame #? of thread 1 Other segment start (thread 2) (thread finished, call stack no longer available) Other segment end (thread 2) @@ -11,8 +11,8 @@ Conflicting store by thread 3 at 0x........ size 4 at 0x........: th (hg05_race2.c:17) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) -Allocation context: unknown. +Location 0x........ is 0 bytes inside foo.poot[5].plop[11], +declared at hg05_race2.c:24, in frame #? of thread 1 Other segment start (thread 2) (thread finished, call stack no longer available) Other segment end (thread 2) ================================================= ./valgrind-old/drd/tests/pth_cond_race.stderr.diff ================================================= --- pth_cond_race.stderr.exp 2010-08-28 03:25:29.000000000 +0100 +++ pth_cond_race.stderr.out 2010-08-28 03:39:43.000000000 +0100 @@ -2,8 +2,6 @@ Thread 2: Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) - by 0x........: thread_func (pth_cond_race.c:?) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) cond 0x........ was first observed at: at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) by 0x........: main (pth_cond_race.c:?) ================================================= ./valgrind-old/drd/tests/qt4_atomic.stderr.diff ================================================= --- qt4_atomic.stderr.exp 2010-08-28 03:25:29.000000000 +0100 +++ qt4_atomic.stderr.out 2010-08-28 03:40:07.000000000 +0100 @@ -1,5 +1,233 @@ Start of test. +Thread 3: +Conflicting load by thread 3 at 0x........ size 4 + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:40) +Allocation context: BSS section of qt4_atomic +Other segment start (thread 2) + at 0x........: clone (in /...libc...) +Other segment end (thread 2) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) + +Conflicting store by thread 3 at 0x........ size 4 + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:40) +Allocation context: BSS section of qt4_atomic +Other segment start (thread 2) + at 0x........: clone (in /...libc...) +Other segment end (thread 2) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) + +Thread 11: +Conflicting store by thread 11 at 0x........ size 4 + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:102) +Allocation context: BSS section of qt4_atomic +Other segment start (thread 2) + at 0x........: clone (in /...libc...) +Other segment end (thread 2) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) +Other segment start (thread 3) + at 0x........: clone (in /...libc...) +Other segment end (thread 3) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) +Other segment start (thread 4) + at 0x........: clone (in /...libc...) +Other segment end (thread 4) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) +Other segment start (thread 5) + at 0x........: clone (in /...libc...) +Other segment end (thread 5) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) +Other segment start (thread 6) + at 0x........: clone (in /...libc...) +Other segment end (thread 6) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) +Other segment start (thread 7) + at 0x........: clone (in /...libc...) +Other segment end (thread 7) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) +Other segment start (thread 8) + at 0x........: clone (in /...libc...) +Other segment end (thread 8) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) +Other segment start (thread 9) + at 0x........: clone (in /...libc...) +Other segment end (thread 9) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) +Other segment start (thread 10) + at 0x........: clone (in /...libc...) +Other segment end (thread 10) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) + +Thread 7: +Conflicting store by thread 7 at 0x........ size 4 + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) +Allocation context: BSS section of qt4_atomic +Other segment start (thread 2) + at 0x........: clone (in /...libc...) +Other segment end (thread 2) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) +Other segment start (thread 3) + at 0x........: clone (in /...libc...) +Other segment end (thread 3) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) +Other segment start (thread 4) + at 0x........: clone (in /...libc...) +Other segment end (thread 4) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) +Other segment start (thread 5) + at 0x........: clone (in /...libc...) +Other segment end (thread 5) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) +Other segment start (thread 6) + at 0x........: clone (in /...libc...) +Other segment end (thread 6) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) +Other segment start (thread 8) + at 0x........: clone (in /...libc...) +Other segment end (thread 8) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) +Other segment start (thread 9) + at 0x........: clone (in /...libc...) +Other segment end (thread 9) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) +Other segment start (thread 10) + at 0x........: clone (in /...libc...) +Other segment end (thread 10) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) +Other segment start (thread 11) ================================================= ./valgrind-old/drd/tests/qt4_mutex.stderr.diff ================================================= --- qt4_mutex.stderr.exp 2010-08-28 03:25:29.000000000 +0100 +++ qt4_mutex.stderr.out 2010-08-28 03:40:11.000000000 +0100 @@ -1,5 +1,702 @@ Start of test. +Conflicting store by thread 1 at 0x........ size 8 + at 0x........: QObject::QObject(QObjectPrivate&, QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QThread::QThread(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: main (qt4_mutex.cpp:25) +Address 0x........ is at offset 8 from 0x......... Allocation context: + at 0x........: ...operator new... (vg_replace_malloc.c:...) + by 0x........: main (qt4_mutex.cpp:73) +Other segment start (thread 2) + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: g_slice_alloc (gslice.c:?) + by 0x........: g_hash_table_new_full (ghash.c:?) + by 0x........: g_get_language_names (gutils.c:?) + by 0x........: g_thread_init_glib (gthread.c:?) + by 0x........: QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QEventDispatcherGlib::QEventDispatcherGlib(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Other segment end (thread 2) + at 0x........: QMutex::unlock() (drd_qtcore_intercepts.c:?) + by 0x........: QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QEventDispatcherGlib::QEventDispatcherGlib(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) + +Conflicting store by thread 1 at 0x........ size 8 + at 0x........: QObject::QObject(QObjectPrivate&, QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QThread::QThread(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: main (qt4_mutex.cpp:25) +Address 0x........ is at offset 0 from 0x......... Allocation context: + at 0x........: ...operator new... (vg_replace_malloc.c:...) + by 0x........: main (qt4_mutex.cpp:73) +Other segment start (thread 2) + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: g_slice_alloc (gslice.c:?) + by 0x........: g_hash_table_new_full (ghash.c:?) + by 0x........: g_get_language_names (gutils.c:?) + by 0x........: g_thread_init_glib (gthread.c:?) + by 0x........: QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QEventDispatcherGlib::QEventDispatcherGlib(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Other segment end (thread 2) + at 0x........: QMutex::unlock() (drd_qtcore_intercepts.c:?) + by 0x........: QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QEventDispatcherGlib::QEventDispatcherGlib(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) + +Conflicting store by thread 1 at 0x........ size 8 + at 0x........: QThread::QThread(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: main (qt4_mutex.cpp:25) +Address 0x........ is at offset 0 from 0x......... Allocation context: + at 0x........: ...operator new... (vg_replace_malloc.c:...) + by 0x........: main (qt4_mutex.cpp:73) +Other segment start (thread 2) + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: g_slice_alloc (gslice.c:?) + by 0x........: g_hash_table_new_full (ghash.c:?) + by 0x........: g_get_language_names (gutils.c:?) + by 0x........: g_thread_init_glib (gthread.c:?) + by 0x........: QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QEventDispatcherGlib::QEventDispatcherGlib(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Other segment end (thread 2) + at 0x........: QMutex::unlock() (drd_qtcore_intercepts.c:?) + by 0x........: QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QEventDispatcherGlib::QEventDispatcherGlib(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) + +Conflicting store by thread 1 at 0x........ size 8 + at 0x........: main (qt4_mutex.cpp:25) +Address 0x........ is at offset 0 from 0x......... Allocation context: + at 0x........: ...operator new... (vg_replace_malloc.c:...) + by 0x........: main (qt4_mutex.cpp:73) +Other segment start (thread 2) ================================================= ./valgrind-old/drd/tests/qt4_rwlock.stderr.diff ================================================= --- qt4_rwlock.stderr.exp 2010-08-28 03:25:29.000000000 +0100 +++ qt4_rwlock.stderr.out 2010-08-28 03:40:28.000000000 +0100 @@ -1,5 +1,778 @@ Start of test. +Conflicting store by thread 1 at 0x........ size 8 + at 0x........: QObject::QObject(QObjectPrivate&, QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QThread::QThread(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: IncThread::IncThread() (qt4_rwlock.cpp:32) + by 0x........: main (qt4_rwlock.cpp:74) +Address 0x........ is at offset 8 from 0x......... Allocation context: + at 0x........: ...operator new... (vg_replace_malloc.c:...) + by 0x........: main (qt4_rwlock.cpp:74) +Other segment start (thread 2) + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: g_slice_alloc (gslice.c:?) + by 0x........: g_hash_table_new_full (ghash.c:?) + by 0x........: g_get_language_names (gutils.c:?) + by 0x........: g_thread_init_glib (gthread.c:?) + by 0x........: QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QEventDispatcherGlib::QEventDispatcherGlib(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Other segment end (thread 2) + at 0x........: QMutex::unlock() (drd_qtcore_intercepts.c:?) + by 0x........: QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QEventDispatcherGlib::QEventDispatcherGlib(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) + +Conflicting store by thread 1 at 0x........ size 8 + at 0x........: QObject::QObject(QObjectPrivate&, QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QThread::QThread(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: IncThread::IncThread() (qt4_rwlock.cpp:32) + by 0x........: main (qt4_rwlock.cpp:74) +Address 0x........ is at offset 0 from 0x......... Allocation context: + at 0x........: ...operator new... (vg_replace_malloc.c:...) + by 0x........: main (qt4_rwlock.cpp:74) +Other segment start (thread 2) + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: g_slice_alloc (gslice.c:?) + by 0x........: g_hash_table_new_full (ghash.c:?) + by 0x........: g_get_language_names (gutils.c:?) + by 0x........: g_thread_init_glib (gthread.c:?) + by 0x........: QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QEventDispatcherGlib::QEventDispatcherGlib(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Other segment end (thread 2) + at 0x........: QMutex::unlock() (drd_qtcore_intercepts.c:?) + by 0x........: QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QEventDispatcherGlib::QEventDispatcherGlib(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) + +Conflicting store by thread 1 at 0x........ size 8 + at 0x........: QThread::QThread(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: IncThread::IncThread() (qt4_rwlock.cpp:32) + by 0x........: main (qt4_rwlock.cpp:74) +Address 0x........ is at offset 0 from 0x......... Allocation context: + at 0x........: ...operator new... (vg_replace_malloc.c:...) + by 0x........: main (qt4_rwlock.cpp:74) +Other segment start (thread 2) + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: g_slice_alloc (gslice.c:?) + by 0x........: g_hash_table_new_full (ghash.c:?) + by 0x........: g_get_language_names (gutils.c:?) + by 0x........: g_thread_init_glib (gthread.c:?) + by 0x........: QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QEventDispatcherGlib::QEventDispatcherGlib(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Other segment end (thread 2) + at 0x........: QMutex::unlock() (drd_qtcore_intercepts.c:?) + by 0x........: QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QEventDispatcherGlib::QEventDispatcherGlib(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) + +Conflicting store by thread 1 at 0x........ size 8 + at 0x........: IncThread::IncThread() (qt4_rwlock.cpp:32) + by 0x........: main (qt4_rwlock.cpp:74) ================================================= ./valgrind-old/drd/tests/qt4_semaphore.stderr.diff ================================================= --- qt4_semaphore.stderr.exp 2010-08-28 03:25:29.000000000 +0100 +++ qt4_semaphore.stderr.out 2010-08-28 03:40:42.000000000 +0100 @@ -1,5 +1,629 @@ Start of test. +Thread 3: +Conflicting load by thread 3 at 0x........ size 4 + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:40) +Allocation context: BSS section of qt4_semaphore +Other segment start (thread 2) + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: g_source_attach (gmain.c:?) + by 0x........: QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QEventDispatcherGlib::QEventDispatcherGlib(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Other segment end (thread 2) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) + +Conflicting store by thread 3 at 0x........ size 4 + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:40) +Allocation context: BSS section of qt4_semaphore +Other segment start (thread 2) + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: g_source_attach (gmain.c:?) + by 0x........: QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QEventDispatcherGlib::QEventDispatcherGlib(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Other segment end (thread 2) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) + +Thread 11: +Conflicting store by thread 11 at 0x........ size 4 + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:102) +Allocation context: BSS section of qt4_semaphore +Other segment start (thread 2) + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: g_source_attach (gmain.c:?) + by 0x........: QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QEventDispatcherGlib::QEventDispatcherGlib(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Other segment end (thread 2) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) +Other segment start (thread 3) + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: g_source_attach (gmain.c:?) + by 0x........: QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QEventDispatcherGlib::QEventDispatcherGlib(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Other segment end (thread 3) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) +Other segment start (thread 4) + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: g_source_attach (gmain.c:?) + by 0x........: QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QEventDispatcherGlib::QEventDispatcherGlib(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Other segment end (thread 4) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) +Other segment start (thread 5) + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: g_source_attach (gmain.c:?) + by 0x........: QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QEventDispatcherGlib::QEventDispatcherGlib(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Other segment end (thread 5) + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) +Other segment start (thread 6) + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: g_source_attach (gmain.c:?) + by 0x........: QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: QEventDispatcherGlib::QEventDispatcherGlib(QObject*) (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) ================================================= ./valgrind-old/drd/tests/rwlock_race.stderr.diff ================================================= --- rwlock_race.stderr.exp 2010-08-28 03:25:29.000000000 +0100 +++ rwlock_race.stderr.out 2010-08-28 03:40:48.000000000 +0100 @@ -2,13 +2,11 @@ Thread 3: Conflicting load by thread 3 at 0x........ size 4 at 0x........: thread_func (rwlock_race.c:?) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) Location 0x........ is 0 bytes inside local var "s_racy" declared at rwlock_race.c:18, in frame #? of thread 3 Conflicting store by thread 3 at 0x........ size 4 at 0x........: thread_func (rwlock_race.c:?) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) Location 0x........ is 0 bytes inside local var "s_racy" declared at rwlock_race.c:18, in frame #? of thread 3 ================================================= ./valgrind-old/drd/tests/rwlock_race.stderr.diff2 ================================================= --- rwlock_race.stderr.exp2 2010-08-28 03:25:29.000000000 +0100 +++ rwlock_race.stderr.out 2010-08-28 03:40:48.000000000 +0100 @@ -1,16 +1,14 @@ Thread 3: Conflicting load by thread 3 at 0x........ size 4 - at 0x........: thread (rwlock_race.c:?) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + at 0x........: thread_func (rwlock_race.c:?) Location 0x........ is 0 bytes inside local var "s_racy" -declared at rwlock_race.c:17, in frame #? of thread 3 +declared at rwlock_race.c:18, in frame #? of thread 3 Conflicting store by thread 3 at 0x........ size 4 - at 0x........: thread (rwlock_race.c:?) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + at 0x........: thread_func (rwlock_race.c:?) Location 0x........ is 0 bytes inside local var "s_racy" -declared at rwlock_race.c:17, in frame #? of thread 3 +declared at rwlock_race.c:18, in frame #? of thread 3 Result: 2 ================================================= ./valgrind-old/drd/tests/tc09_bad_unlock.stderr.diff ================================================= --- tc09_bad_unlock.stderr.exp 2010-08-28 03:25:29.000000000 +0100 +++ tc09_bad_unlock.stderr.out 2010-08-28 03:41:31.000000000 +0100 @@ -11,8 +11,6 @@ Thread 2: Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 1. at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) - by 0x........: child_fn (tc09_bad_unlock.c:11) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: nearly_main (tc09_bad_unlock.c:31) ================================================= ./valgrind-old/drd/tests/tc09_bad_unlock.stderr.diff-glibc2.8 ================================================= --- tc09_bad_unlock.stderr.exp-glibc2.8 2010-08-28 03:25:29.000000000 +0100 +++ tc09_bad_unlock.stderr.out 2010-08-28 03:41:31.000000000 +0100 @@ -11,8 +11,6 @@ Thread 2: Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 1. at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) - by 0x........: child_fn (tc09_bad_unlock.c:11) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: nearly_main (tc09_bad_unlock.c:31) @@ -26,7 +24,7 @@ Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: (below main) + by 0x........: main (tc09_bad_unlock.c:49) mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: nearly_main (tc09_bad_unlock.c:31) @@ -49,7 +47,7 @@ Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: (below main) + by 0x........: main (tc09_bad_unlock.c:50) mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: nearly_main (tc09_bad_unlock.c:31) ================================================= ./valgrind-old/drd/tests/tc22_exit_w_lock.stderr.diff-32bit ================================================= --- tc22_exit_w_lock.stderr.exp-32bit 2010-08-28 03:25:29.000000000 +0100 +++ tc22_exit_w_lock.stderr.out 2010-08-28 03:41:47.000000000 +0100 @@ -1,139 +1,9 @@ -Conflicting load by thread 1 at 0x........ size 4 - at 0x........: __deallocate_stack (in libpthread-?.?.so) - by 0x........: __free_tcb (in libpthread-?.?.so) - by 0x........: pthread_join (in libpthread-?.?.so) - by 0x........: pthread_join (drd_pthread_intercepts.c:?) - by 0x........: main (tc22_exit_w_lock.c:43) -Allocation context: stack_cache_lock (offset 0, size 4) in libpthread-?.?.so, libpthread.so.0:BSS -Other segment start (thread 2) - (thread finished, call stack no longer available) -Other segment end (thread 2) - (thread finished, call stack no longer available) - -Conflicting store by thread 1 at 0x........ size 4 - at 0x........: __deallocate_stack (in libpthread-?.?.so) - by 0x........: __free_tcb (in libpthread-?.?.so) - by 0x........: pthread_join (in libpthread-?.?.so) - by 0x........: pthread_join (drd_pthread_intercepts.c:?) - by 0x........: main (tc22_exit_w_lock.c:43) -Allocation context: stack_cache_lock (offset 0, size 4) in libpthread-?.?.so, libpthread.so.0:BSS -Other segment start (thread 2) - (thread finished, call stack no longer available) -Other segment end (thread 2) - (thread finished, call stack no longer available) - -Conflicting store by thread 1 at 0x........ size 4 - at 0x........: __deallocate_stack (in libpthread-?.?.so) - by 0x........: __free_tcb (in libpthread-?.?.so) - by 0x........: pthread_join (in libpthread-?.?.so) - by 0x........: pthread_join (drd_pthread_intercepts.c:?) - by 0x........: main (tc22_exit_w_lock.c:43) -Allocation context: stack_used (offset 4, size 8) in libpthread-?.?.so, libpthread.so.0:Data -Other segment start (thread 2) - (thread finished, call stack no longer available) -Other segment end (thread 2) - (thread finished, call stack no longer available) - -Conflicting store by thread 1 at 0x........ size 4 - at 0x........: __deallocate_stack (in libpthread-?.?.so) - by 0x........: __free_tcb (in libpthread-?.?.so) - by 0x........: pthread_join (in libpthread-?.?.so) - by 0x........: pthread_join (drd_pthread_intercepts.c:?) - by 0x........: main (tc22_exit_w_lock.c:43) -Allocation context: stack_used (offset 0, size 8) in libpthread-?.?.so, libpthread.so.0:Data -Other segment start (thread 2) - (thread finished, call stack no longer available) -Other segment end (thread 2) - (thread finished, call stack no longer available) - -Conflicting load by thread 1 at 0x........ size 4 - at 0x........: __deallocate_stack (in libpthread-?.?.so) - by 0x........: __free_tcb (in libpthread-?.?.so) - by 0x........: pthread_join (in libpthread-?.?.so) - by 0x........: pthread_join (drd_pthread_intercepts.c:?) - by 0x........: main (tc22_exit_w_lock.c:43) -Allocation context: stack_cache (offset 0, size 8) in libpthread-?.?.so, libpthread.so.0:Data -Other segment start (thread 2) - (thread finished, call stack no longer available) -Other segment end (thread 2) - (thread finished, call stack no longer available) - -Conflicting store by thread 1 at 0x........ size 4 - at 0x........: __deallocate_stack (in libpthread-?.?.so) - by 0x........: __free_tcb (in libpthread-?.?.so) - by 0x........: pthread_join (in libpthread-?.?.so) - by 0x........: pthread_join (drd_pthread_intercepts.c:?) - by 0x........: main (tc22_exit_w_lock.c:43) -Allocation context: stack_cache (offset 4, size 8) in libpthread-?.?.so, libpthread.so.0:Data -Other segment start (thread 2) - (thread finished, call stack no longer available) -Other segment end (thread 2) - (thread finished, call stack no longer available) - -Conflicting load by thread 1 at 0x........ size 4 - at 0x........: __deallocate_stack (in libpthread-?.?.so) - by 0x........: __free_tcb (in libpthread-?.?.so) - by 0x........: pthread_join (in libpthread-?.?.so) - by 0x........: pthread_join (drd_pthread_intercepts.c:?) - by 0x........: main (tc22_exit_w_lock.c:43) -Allocation context: stack_cache_actsize (offset 0, size 4) in libpthread-?.?.so, libpthread.so.0:BSS -Other segment start (thread 2) - (thread finished, call stack no longer available) -Other segment end (thread 2) - (thread finished, call stack no longer available) - -Conflicting store by thread 1 at 0x........ size 4 - at 0x........: __deallocate_stack (in libpthread-?.?.so) - by 0x........: __free_tcb (in libpthread-?.?.so) - by 0x........: pthread_join (in libpthread-?.?.so) - by 0x........: pthread_join (drd_pthread_intercepts.c:?) - by 0x........: main (tc22_exit_w_lock.c:43) -Allocation context: stack_cache (offset 0, size 8) in libpthread-?.?.so, libpthread.so.0:Data -Other segment start (thread 2) - (thread finished, call stack no longer available) -Other segment end (thread 2) - (thread finished, call stack no longer available) - ================================================= ./valgrind-old/drd/tests/tc22_exit_w_lock.stderr.diff-64bit ================================================= --- tc22_exit_w_lock.stderr.exp-64bit 2010-08-28 03:25:29.000000000 +0100 +++ tc22_exit_w_lock.stderr.out 2010-08-28 03:41:47.000000000 +0100 @@ -4,8 +4,6 @@ by 0x........: main (tc22_exit_w_lock.c:43) mutex 0x........ was first observed at: at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?) - by 0x........: child_fn1 (tc22_exit_w_lock.c:18) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/drd/tests/tc23_bogus_condwait.stderr.diff-darwin ================================================= --- tc23_bogus_condwait.stderr.exp-darwin 2010-08-28 03:25:29.000000000 +0100 +++ tc23_bogus_condwait.stderr.out 2010-08-28 03:41:53.000000000 +0100 @@ -3,26 +3,21 @@ at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) by 0x........: main (tc23_bogus_condwait.c:69) -Mutex not locked: mutex 0x........, recursion count 0, owner 0. - at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:72) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:51) - Thread 3: Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) - by 0x........: rescue_me (tc23_bogus_condwait.c:20) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) cond 0x........ was first observed at: at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) by 0x........: main (tc23_bogus_condwait.c:56) + +Thread 1: +Mutex not locked: mutex 0x........, recursion count 0, owner 0. + at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:72) mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: main (tc23_bogus_condwait.c:51) -Thread 1: The object at address 0x........ is not a mutex. at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) by 0x........: main (tc23_bogus_condwait.c:75) @@ -37,27 +32,13 @@ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: main (tc23_bogus_condwait.c:53) -Thread 3: -Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. - at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) - by 0x........: rescue_me (tc23_bogus_condwait.c:24) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) -cond 0x........ was first observed at: - at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:56) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:53) - The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) ! Thread 2: Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1. at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) - by 0x........: grab_the_lock (tc23_bogus_condwait.c:42) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: main (tc23_bogus_condwait.c:53) -ERROR SUMMARY: 9 errors from 7 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 11 errors from 6 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/drd/tests/tc23_bogus_condwait.stderr.diff-linux-ppc ================================================= --- tc23_bogus_condwait.stderr.exp-linux-ppc 2010-08-28 03:25:29.000000000 +0100 +++ tc23_bogus_condwait.stderr.out 2010-08-28 03:41:53.000000000 +0100 @@ -3,11 +3,42 @@ at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) by 0x........: main (tc23_bogus_condwait.c:69) +Thread 3: +Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. + at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) +cond 0x........ was first observed at: + at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:56) + +Thread 1: +Mutex not locked: mutex 0x........, recursion count 0, owner 0. + at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:72) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:51) + +The object at address 0x........ is not a mutex. + at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:75) +rwlock 0x........ was first observed at: + at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:57) + +Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2. + at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:78) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:53) + +The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) ! +Thread 2: +Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1. + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:53) -Process terminating with default action of signal 7 (SIGBUS) - Invalid address alignment at address 0x........ - at 0x........: (within libpthread-?.?.so) - by 0x........: pthread_cond_wait@@GLIBC_2.3.2(within libpthread-?.?.so) - by 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) -ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 11 errors from 6 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/drd/tests/tc23_bogus_condwait.stderr.diff-linux-x86 ================================================= --- tc23_bogus_condwait.stderr.exp-linux-x86 2010-08-28 03:25:29.000000000 +0100 +++ tc23_bogus_condwait.stderr.out 2010-08-28 03:41:53.000000000 +0100 @@ -6,8 +6,6 @@ Thread 3: Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) - by 0x........: rescue_me (tc23_bogus_condwait.c:20) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) cond 0x........ was first observed at: at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) by 0x........: main (tc23_bogus_condwait.c:56) @@ -20,19 +18,6 @@ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: main (tc23_bogus_condwait.c:51) -Thread 3: -Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. - at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) - by 0x........: rescue_me (tc23_bogus_condwait.c:24) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) -cond 0x........ was first observed at: - at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:56) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:51) - -Thread 1: The object at address 0x........ is not a mutex. at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) by 0x........: main (tc23_bogus_condwait.c:75) @@ -40,19 +25,6 @@ at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?) by 0x........: main (tc23_bogus_condwait.c:57) -Thread 3: -Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. - at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) - by 0x........: rescue_me (tc23_bogus_condwait.c:28) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) -cond 0x........ was first observed at: - at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:56) -rwlock 0x........ was first observed at: - at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:57) - -Thread 1: Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2. at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) by 0x........: main (tc23_bogus_condwait.c:78) @@ -60,27 +32,13 @@ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: main (tc23_bogus_condwait.c:53) -Thread 3: -Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. - at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) - by 0x........: rescue_me (tc23_bogus_condwait.c:32) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) -cond 0x........ was first observed at: - at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:56) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:53) - The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) ! Thread 2: Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1. at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) - by 0x........: grab_the_lock (tc23_bogus_condwait.c:42) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: main (tc23_bogus_condwait.c:53) -ERROR SUMMARY: 11 errors from 9 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 11 errors from 6 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/exp-ptrcheck/tests/bad_percentify.stderr.diff-glibc28-amd64 ================================================= --- bad_percentify.stderr.exp-glibc28-amd64 2010-08-28 03:21:15.000000000 +0100 +++ bad_percentify.stderr.out 2010-08-28 03:42:04.000000000 +0100 @@ -1,32 +1,29 @@ Invalid read of size 1 - at 0x........: strlen (h_intercepts.c:...) - by 0x........: ... + at 0x........: ... by 0x........: ... by 0x........: VG_print_translation_stats (bad_percentify.c:88) by 0x........: main (bad_percentify.c:107) Address 0x........ expected vs actual: - Expected: stack array "buf" in frame 3 back from here + Expected: stack array "buf" in frame 2 back from here Actual: unknown Invalid read of size 1 - at 0x........: strlen (h_intercepts.c:...) - by 0x........: ... + at 0x........: ... by 0x........: ... by 0x........: VG_print_translation_stats (bad_percentify.c:93) by 0x........: main (bad_percentify.c:107) Address 0x........ expected vs actual: - Expected: stack array "buf" in frame 3 back from here + Expected: stack array "buf" in frame 2 back from here Actual: unknown Invalid read of size 1 - at 0x........: strlen (h_intercepts.c:...) - by 0x........: ... + at 0x........: ... by 0x........: ... by 0x........: VG_print_translation_stats (bad_percentify.c:98) by 0x........: main (bad_percentify.c:107) Address 0x........ expected vs actual: - Expected: stack array "buf" in frame 3 back from here + Expected: stack array "buf" in frame 2 back from here Actual: unknown ================================================= ./valgrind-old/exp-ptrcheck/tests/supp.stderr.diff ================================================= --- supp.stderr.exp 2010-08-28 03:21:15.000000000 +0100 +++ supp.stderr.out 2010-08-28 03:43:05.000000000 +0100 @@ -1,6 +1,6 @@ Syscall param write(buf) is non-contiguous - at 0x........: write (in /...libc...) + at 0x........: write (syscall-template.S:82) by 0x........: main (supp.c:16) First byte (0x........) is 3 bytes inside a 6-byte block alloc'd at 0x........: malloc (vg_replace_malloc.c:...) ================================================= ./valgrind-old/helgrind/tests/hg03_inherit.stderr.diff ================================================= --- hg03_inherit.stderr.exp 2010-08-28 03:21:05.000000000 +0100 +++ hg03_inherit.stderr.out 2010-08-28 03:36:47.000000000 +0100 @@ -8,8 +8,6 @@ Possible data race during write of size 4 at 0x........ by thread #x at 0x........: t2 (hg03_inherit.c:28) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... This conflicts with a previous read of size 4 by thread #x at 0x........: main (hg03_inherit.c:60) Location 0x........ is 0 bytes inside shared[1], ================================================= ./valgrind-old/helgrind/tests/hg04_race.stderr.diff ================================================= --- hg04_race.stderr.exp 2010-08-28 03:21:05.000000000 +0100 +++ hg04_race.stderr.out 2010-08-28 03:36:51.000000000 +0100 @@ -11,23 +11,15 @@ Possible data race during read of size 4 at 0x........ by thread #x at 0x........: th (hg04_race.c:10) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... This conflicts with a previous write of size 4 by thread #x at 0x........: th (hg04_race.c:10) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... Location 0x........ is 0 bytes inside local var "shared" declared at hg04_race.c:6, in frame #x of thread x Possible data race during write of size 4 at 0x........ by thread #x at 0x........: th (hg04_race.c:10) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... This conflicts with a previous write of size 4 by thread #x at 0x........: th (hg04_race.c:10) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... Location 0x........ is 0 bytes inside local var "shared" declared at hg04_race.c:6, in frame #x of thread x ================================================= ./valgrind-old/helgrind/tests/hg05_race2.stderr.diff ================================================= --- hg05_race2.stderr.exp 2010-08-28 03:21:05.000000000 +0100 +++ hg05_race2.stderr.out 2010-08-28 03:36:55.000000000 +0100 @@ -11,23 +11,15 @@ Possible data race during read of size 4 at 0x........ by thread #x at 0x........: th (hg05_race2.c:17) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... This conflicts with a previous write of size 4 by thread #x at 0x........: th (hg05_race2.c:17) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... Location 0x........ is 0 bytes inside foo.poot[5].plop[11], declared at hg05_race2.c:24, in frame #x of thread x Possible data race during write of size 4 at 0x........ by thread #x at 0x........: th (hg05_race2.c:17) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... This conflicts with a previous write of size 4 by thread #x at 0x........: th (hg05_race2.c:17) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... Location 0x........ is 0 bytes inside foo.poot[5].plop[11], declared at hg05_race2.c:24, in frame #x of thread x ================================================= ./valgrind-old/helgrind/tests/rwlock_race.stderr.diff ================================================= --- rwlock_race.stderr.exp 2010-08-28 03:21:05.000000000 +0100 +++ rwlock_race.stderr.out 2010-08-28 03:36:59.000000000 +0100 @@ -11,12 +11,8 @@ Possible data race during write of size 4 at 0x........ by thread #x at 0x........: thread_func (rwlock_race.c:29) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... This conflicts with a previous write of size 4 by thread #x at 0x........: thread_func (rwlock_race.c:29) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... Location 0x........ is 0 bytes inside local var "s_racy" declared at rwlock_race.c:18, in frame #x of thread x ================================================= ./valgrind-old/helgrind/tests/tc01_simple_race.stderr.diff ================================================= --- tc01_simple_race.stderr.exp 2010-08-28 03:21:05.000000000 +0100 +++ tc01_simple_race.stderr.out 2010-08-28 03:37:03.000000000 +0100 @@ -10,8 +10,6 @@ at 0x........: main (tc01_simple_race.c:28) This conflicts with a previous write of size 4 by thread #x at 0x........: child_fn (tc01_simple_race.c:14) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... Location 0x........ is 0 bytes inside global var "x" declared at tc01_simple_race.c:9 @@ -19,8 +17,6 @@ at 0x........: main (tc01_simple_race.c:28) This conflicts with a previous write of size 4 by thread #x at 0x........: child_fn (tc01_simple_race.c:14) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... Location 0x........ is 0 bytes inside global var "x" declared at tc01_simple_race.c:9 ================================================= ./valgrind-old/helgrind/tests/tc05_simple_race.stderr.diff ================================================= --- tc05_simple_race.stderr.exp 2010-08-28 03:21:05.000000000 +0100 +++ tc05_simple_race.stderr.out 2010-08-28 03:37:07.000000000 +0100 @@ -10,8 +10,6 @@ at 0x........: main (tc05_simple_race.c:33) This conflicts with a previous write of size 4 by thread #x at 0x........: child_fn (tc05_simple_race.c:19) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... Location 0x........ is 0 bytes inside global var "y" declared at tc05_simple_race.c:10 @@ -19,8 +17,6 @@ at 0x........: main (tc05_simple_race.c:33) This conflicts with a previous write of size 4 by thread #x at 0x........: child_fn (tc05_simple_race.c:19) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... Location 0x........ is 0 bytes inside global var "y" declared at tc05_simple_race.c:10 ================================================= ./valgrind-old/helgrind/tests/tc06_two_races.stderr.diff ================================================= --- tc06_two_races.stderr.exp 2010-08-28 03:21:05.000000000 +0100 +++ tc06_two_races.stderr.out 2010-08-28 03:37:10.000000000 +0100 @@ -10,8 +10,6 @@ at 0x........: main (tc06_two_races.c:31) This conflicts with a previous write of size 4 by thread #x at 0x........: child_fn (tc06_two_races.c:14) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... Location 0x........ is 0 bytes inside global var "unprot1" declared at tc06_two_races.c:9 @@ -19,8 +17,6 @@ at 0x........: main (tc06_two_races.c:31) This conflicts with a previous write of size 4 by thread #x at 0x........: child_fn (tc06_two_races.c:14) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... Location 0x........ is 0 bytes inside global var "unprot1" declared at tc06_two_races.c:9 @@ -28,8 +24,6 @@ at 0x........: main (tc06_two_races.c:35) This conflicts with a previous write of size 4 by thread #x at 0x........: child_fn (tc06_two_races.c:18) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... Location 0x........ is 0 bytes inside global var "unprot2" declared at tc06_two_races.c:9 @@ -37,8 +31,6 @@ at 0x........: main (tc06_two_races.c:35) This conflicts with a previous write of size 4 by thread #x at 0x........: child_fn (tc06_two_races.c:18) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... Location 0x........ is 0 bytes inside global var "unprot2" declared at tc06_two_races.c:9 ================================================= ./valgrind-old/helgrind/tests/tc06_two_races_xml.stderr.diff ================================================= --- tc06_two_races_xml.stderr.exp 2010-08-28 03:21:05.000000000 +0100 +++ tc06_two_races_xml.stderr.out 2010-08-28 03:37:13.000000000 +0100 @@ -40,16 +40,25 @@ 0x........ ... clone + ... + clone.S + ... 0x........ ... - do_clone + do_clone.clone.0 + ... + createthread.c + ... 0x........ ... pthread_create@@GLIBC_2.2.5 + ... + createthread.c + ... 0x........ @@ -109,24 +118,6 @@ tc06_two_races.c ... - - 0x........ - ... - mythread_wrapper - ... - hg_intercepts.c - ... - - - 0x........ - ... - start_thread - - - 0x........ - ... - clone - Location 0x........ is 0 bytes inside global var "unprot1" declared at tc06_two_races.c:9 tc06_two_races.c ... @@ -163,24 +154,6 @@ tc06_two_races.c ... - - 0x........ - ... - mythread_wrapper - ... - hg_intercepts.c - ... - - - 0x........ - ... - start_thread - - - 0x........ - ... - clone - Location 0x........ is 0 bytes inside global var "unprot1" declared at tc06_two_races.c:9 tc06_two_races.c ... @@ -217,24 +190,6 @@ tc06_two_races.c ... - - 0x........ - ... - mythread_wrapper - ... - hg_intercepts.c - ... - - - 0x........ - ... - start_thread - - - 0x........ - ... - clone ================================================= ./valgrind-old/helgrind/tests/tc09_bad_unlock.stderr.diff-glibc23-amd64 ================================================= --- tc09_bad_unlock.stderr.exp-glibc23-amd64 2010-08-28 03:21:05.000000000 +0100 +++ tc09_bad_unlock.stderr.out 2010-08-28 03:37:15.000000000 +0100 @@ -31,14 +31,13 @@ by 0x........: nearly_main (tc09_bad_unlock.c:41) by 0x........: main (tc09_bad_unlock.c:49) -Thread #x deallocated location 0x........ containing a locked lock - at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: main (tc09_bad_unlock.c:49) - Lock at 0x........ was first observed - at 0x........: pthread_mutex_init (hg_intercepts.c:...) - by 0x........: nearly_main (tc09_bad_unlock.c:31) +Thread #x's call to pthread_mutex_unlock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) + by 0x........: nearly_main (tc09_bad_unlock.c:41) by 0x........: main (tc09_bad_unlock.c:49) +--------------------- Thread #x unlocked a not-locked lock at 0x........ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) by 0x........: nearly_main (tc09_bad_unlock.c:27) @@ -46,6 +45,20 @@ Lock at 0x........ was first observed at 0x........: pthread_mutex_init (hg_intercepts.c:...) by 0x........: nearly_main (tc09_bad_unlock.c:23) + by 0x........: main (tc09_bad_unlock.c:49) + +Thread #x: Attempt to re-lock a non-recursive lock I already hold + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: nearly_main (tc09_bad_unlock.c:32) + by 0x........: main (tc09_bad_unlock.c:50) + Lock was previously acquired + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: nearly_main (tc09_bad_unlock.c:32) + by 0x........: main (tc09_bad_unlock.c:49) + +Thread #x: Bug in libpthread: recursive write lock granted on mutex/wrlock which does not support recursion + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: nearly_main (tc09_bad_unlock.c:32) by 0x........: main (tc09_bad_unlock.c:50) Thread #x was created @@ -62,20 +75,21 @@ Lock at 0x........ was first observed at 0x........: pthread_mutex_init (hg_intercepts.c:...) by 0x........: nearly_main (tc09_bad_unlock.c:31) - by 0x........: main (tc09_bad_unlock.c:50) + by 0x........: main (tc09_bad_unlock.c:49) Thread #x unlocked an invalid lock at 0x........ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) by 0x........: nearly_main (tc09_bad_unlock.c:41) by 0x........: main (tc09_bad_unlock.c:50) -Thread #x deallocated location 0x........ containing a locked lock - at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: main (tc09_bad_unlock.c:50) - Lock at 0x........ was first observed - at 0x........: pthread_mutex_init (hg_intercepts.c:...) - by 0x........: nearly_main (tc09_bad_unlock.c:31) +Thread #x's call to pthread_mutex_unlock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) + by 0x........: nearly_main (tc09_bad_unlock.c:41) by 0x........: main (tc09_bad_unlock.c:50) +Thread #x: Exiting thread still holds 1 lock + ... + -ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/helgrind/tests/tc09_bad_unlock.stderr.diff-glibc25-amd64 ================================================= --- tc09_bad_unlock.stderr.exp-glibc25-amd64 2010-08-28 03:21:05.000000000 +0100 +++ tc09_bad_unlock.stderr.out 2010-08-28 03:37:15.000000000 +0100 @@ -51,6 +51,10 @@ at 0x........: pthread_mutex_lock (hg_intercepts.c:...) by 0x........: nearly_main (tc09_bad_unlock.c:32) by 0x........: main (tc09_bad_unlock.c:50) + Lock was previously acquired + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: nearly_main (tc09_bad_unlock.c:32) + by 0x........: main (tc09_bad_unlock.c:49) Thread #x: Bug in libpthread: recursive write lock granted on mutex/wrlock which does not support recursion at 0x........: pthread_mutex_lock (hg_intercepts.c:...) ================================================= ./valgrind-old/helgrind/tests/tc09_bad_unlock.stderr.diff-glibc25-x86 ================================================= --- tc09_bad_unlock.stderr.exp-glibc25-x86 2010-08-28 03:21:05.000000000 +0100 +++ tc09_bad_unlock.stderr.out 2010-08-28 03:37:15.000000000 +0100 @@ -37,14 +37,7 @@ by 0x........: nearly_main (tc09_bad_unlock.c:41) by 0x........: main (tc09_bad_unlock.c:49) -Thread #x deallocated location 0x........ containing a locked lock - at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: main (tc09_bad_unlock.c:49) - Lock at 0x........ was first observed - at 0x........: pthread_mutex_init (hg_intercepts.c:...) - by 0x........: nearly_main (tc09_bad_unlock.c:31) - by 0x........: main (tc09_bad_unlock.c:49) - +--------------------- Thread #x unlocked a not-locked lock at 0x........ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) by 0x........: nearly_main (tc09_bad_unlock.c:27) @@ -52,6 +45,20 @@ Lock at 0x........ was first observed at 0x........: pthread_mutex_init (hg_intercepts.c:...) by 0x........: nearly_main (tc09_bad_unlock.c:23) + by 0x........: main (tc09_bad_unlock.c:49) + +Thread #x: Attempt to re-lock a non-recursive lock I already hold + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: nearly_main (tc09_bad_unlock.c:32) + by 0x........: main (tc09_bad_unlock.c:50) + Lock was previously acquired + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: nearly_main (tc09_bad_unlock.c:32) + by 0x........: main (tc09_bad_unlock.c:49) + +Thread #x: Bug in libpthread: recursive write lock granted on mutex/wrlock which does not support recursion + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: nearly_main (tc09_bad_unlock.c:32) by 0x........: main (tc09_bad_unlock.c:50) Thread #x was created @@ -68,7 +75,7 @@ Lock at 0x........ was first observed at 0x........: pthread_mutex_init (hg_intercepts.c:...) by 0x........: nearly_main (tc09_bad_unlock.c:31) - by 0x........: main (tc09_bad_unlock.c:50) + by 0x........: main (tc09_bad_unlock.c:49) Thread #x unlocked an invalid lock at 0x........ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) @@ -81,13 +88,8 @@ by 0x........: nearly_main (tc09_bad_unlock.c:41) by 0x........: main (tc09_bad_unlock.c:50) -Thread #x deallocated location 0x........ containing a locked lock - at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: main (tc09_bad_unlock.c:50) - Lock at 0x........ was first observed - at 0x........: pthread_mutex_init (hg_intercepts.c:...) - by 0x........: nearly_main (tc09_bad_unlock.c:31) - by 0x........: main (tc09_bad_unlock.c:50) +Thread #x: Exiting thread still holds 1 lock + ... -ERROR SUMMARY: 10 errors from 10 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/helgrind/tests/tc16_byterace.stderr.diff ================================================= --- tc16_byterace.stderr.exp 2010-08-28 03:21:05.000000000 +0100 +++ tc16_byterace.stderr.out 2010-08-28 03:37:22.000000000 +0100 @@ -10,8 +10,6 @@ at 0x........: main (tc16_byterace.c:34) This conflicts with a previous write of size 1 by thread #x at 0x........: child_fn (tc16_byterace.c:13) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... Location 0x........ is 0 bytes inside bytes[4], a global variable declared at tc16_byterace.c:7 @@ -19,8 +17,6 @@ at 0x........: main (tc16_byterace.c:34) This conflicts with a previous write of size 1 by thread #x at 0x........: child_fn (tc16_byterace.c:13) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... Location 0x........ is 0 bytes inside bytes[4], a global variable declared at tc16_byterace.c:7 ================================================= ./valgrind-old/helgrind/tests/tc21_pthonce.stderr.diff ================================================= --- tc21_pthonce.stderr.exp 2010-08-28 03:21:05.000000000 +0100 +++ tc21_pthonce.stderr.out 2010-08-28 03:37:35.000000000 +0100 @@ -11,23 +11,15 @@ Possible data race during read of size 4 at 0x........ by thread #x at 0x........: child (tc21_pthonce.c:74) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... This conflicts with a previous write of size 4 by thread #x at 0x........: child (tc21_pthonce.c:74) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... Location 0x........ is 0 bytes inside local var "unprotected2" declared at tc21_pthonce.c:51, in frame #x of thread x Possible data race during write of size 4 at 0x........ by thread #x at 0x........: child (tc21_pthonce.c:74) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... This conflicts with a previous write of size 4 by thread #x at 0x........: child (tc21_pthonce.c:74) - by 0x........: mythread_wrapper (hg_intercepts.c:...) - ... Location 0x........ is 0 bytes inside local var "unprotected2" declared at tc21_pthonce.c:51, in frame #x of thread x ================================================= ./valgrind-old/helgrind/tests/tc23_bogus_condwait.stderr.diff ================================================= --- tc23_bogus_condwait.stderr.exp 2010-08-28 03:21:05.000000000 +0100 +++ tc23_bogus_condwait.stderr.out 2010-08-28 03:37:45.000000000 +0100 @@ -2,31 +2,38 @@ Thread #x is the program's root thread Thread #x: pthread_cond_{timed}wait called with invalid mutex - at 0x........: pthread_cond_wait@* (hg_intercepts.c:...) + at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...) + by 0x........: pthread_cond_wait@* (hg_intercepts.c:...) by 0x........: main (tc23_bogus_condwait.c:69) Thread #x: pthread_cond_{timed}wait called with un-held mutex - at 0x........: pthread_cond_wait@* (hg_intercepts.c:...) + at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...) + by 0x........: pthread_cond_wait@* (hg_intercepts.c:...) by 0x........: main (tc23_bogus_condwait.c:72) Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex - at 0x........: pthread_cond_wait@* (hg_intercepts.c:...) + at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...) + by 0x........: pthread_cond_wait@* (hg_intercepts.c:...) by 0x........: main (tc23_bogus_condwait.c:72) Thread #x: pthread_cond_{timed}wait called with mutex of type pthread_rwlock_t* - at 0x........: pthread_cond_wait@* (hg_intercepts.c:...) + at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...) + by 0x........: pthread_cond_wait@* (hg_intercepts.c:...) by 0x........: main (tc23_bogus_condwait.c:75) Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex - at 0x........: pthread_cond_wait@* (hg_intercepts.c:...) + at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...) + by 0x........: pthread_cond_wait@* (hg_intercepts.c:...) by 0x........: main (tc23_bogus_condwait.c:75) Thread #x: pthread_cond_{timed}wait called with mutex held by a different thread - at 0x........: pthread_cond_wait@* (hg_intercepts.c:...) + at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...) + by 0x........: pthread_cond_wait@* (hg_intercepts.c:...) by 0x........: main (tc23_bogus_condwait.c:78) Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex - at 0x........: pthread_cond_wait@* (hg_intercepts.c:...) + at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...) + by 0x........: pthread_cond_wait@* (hg_intercepts.c:...) by 0x........: main (tc23_bogus_condwait.c:78) ================================================= ./valgrind-old/memcheck/tests/linux/stack_switch.stderr.diff ================================================= --- stack_switch.stderr.exp 2010-08-28 03:23:27.000000000 +0100 +++ stack_switch.stderr.out 2010-08-28 03:32:48.000000000 +0100 @@ -0,0 +1,3 @@ +Syscall param clone(child_tidptr) contains uninitialised byte(s) + ... +