================================================= ./valgrind-new/drd/tests/qt4_atomic.stderr.diff ================================================= --- qt4_atomic.stderr.exp 2010-10-13 03:39:04.000000000 +0100 +++ qt4_atomic.stderr.out 2010-10-13 03:51:43.000000000 +0100 @@ -1,5 +1,347 @@ Start of test. +Thread 3: +Conflicting load by thread 3 at 0x........ size 4 + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:40) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) + +Conflicting store by thread 3 at 0x........ size 4 + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:40) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) + +Thread 11: +Conflicting store by thread 11 at 0x........ size 4 + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:102) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) + +Thread 10: +Conflicting store by thread 10 at 0x........ size 4 + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Allocation context: BSS section of qt4_atomic +Other segment start (thread 2) + at 0x........: clone (in /...libc...) +Other segment end (thread 2) ================================================= ./valgrind-new/drd/tests/qt4_mutex.stderr.diff ================================================= --- qt4_mutex.stderr.exp 2010-10-13 03:39:04.000000000 +0100 +++ qt4_mutex.stderr.out 2010-10-13 03:51:48.000000000 +0100 @@ -1,5 +1,1014 @@ 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-new/drd/tests/qt4_rwlock.stderr.diff ================================================= --- qt4_rwlock.stderr.exp 2010-10-13 03:39:04.000000000 +0100 +++ qt4_rwlock.stderr.out 2010-10-13 03:52:09.000000000 +0100 @@ -1,5 +1,1010 @@ 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-new/drd/tests/qt4_semaphore.stderr.diff ================================================= --- qt4_semaphore.stderr.exp 2010-10-13 03:39:04.000000000 +0100 +++ qt4_semaphore.stderr.out 2010-10-13 03:52:22.000000000 +0100 @@ -1,5 +1,890 @@ Start of test. +Thread 8: +Conflicting load by thread 8 at 0x........ size 4 + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:40) + by 0x........: IncThread::run() (qt4_semaphore.cpp:31) + 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...) +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) + by 0x........: IncThread::run() (qt4_semaphore.cpp:31) + 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 8 at 0x........ size 4 + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:40) + by 0x........: IncThread::run() (qt4_semaphore.cpp:31) + 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...) +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) + by 0x........: IncThread::run() (qt4_semaphore.cpp:31) + 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...) + +Thread 4: +Conflicting store by thread 4 at 0x........ size 4 + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:102) + by 0x........: IncThread::run() (qt4_semaphore.cpp:31) + 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...) +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) + by 0x........: IncThread::run() (qt4_semaphore.cpp:31) + 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 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) + by 0x........: IncThread::run() (qt4_semaphore.cpp:31) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) ================================================= ./valgrind-new/exp-ptrcheck/tests/bad_percentify.stderr.diff-glibc28-amd64 ================================================= --- bad_percentify.stderr.exp-glibc28-amd64 2010-10-13 03:38:58.000000000 +0100 +++ bad_percentify.stderr.out 2010-10-13 03:53:49.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-new/exp-ptrcheck/tests/supp.stderr.diff ================================================= --- supp.stderr.exp 2010-10-13 03:38:58.000000000 +0100 +++ supp.stderr.out 2010-10-13 03:54:50.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-new/helgrind/tests/tc06_two_races_xml.stderr.diff ================================================= --- tc06_two_races_xml.stderr.exp 2010-10-13 03:38:58.000000000 +0100 +++ tc06_two_races_xml.stderr.out 2010-10-13 03:48:48.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........ @@ -121,11 +130,12 @@ 0x........ ... start_thread + ... + pthread_create.c + ... 0x........ - ... - clone Location 0x........ is 0 bytes inside global var "unprot1" @@ -175,11 +185,12 @@ 0x........ ... start_thread + ... + pthread_create.c + ... 0x........ - ... - clone Location 0x........ is 0 bytes inside global var "unprot1" @@ -229,11 +240,12 @@ 0x........ ... start_thread + ... + pthread_create.c + ... 0x........ - ... - clone Location 0x........ is 0 bytes inside global var "unprot2" @@ -283,11 +295,12 @@ 0x........ ... start_thread + ... + pthread_create.c + ... 0x........ - ... - clone Location 0x........ is 0 bytes inside global var "unprot2" ================================================= ./valgrind-new/helgrind/tests/tc09_bad_unlock.stderr.diff-glibc23-amd64 ================================================= --- tc09_bad_unlock.stderr.exp-glibc23-amd64 2010-10-13 03:38:58.000000000 +0100 +++ tc09_bad_unlock.stderr.out 2010-10-13 03:48:51.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-new/helgrind/tests/tc09_bad_unlock.stderr.diff-glibc25-amd64 ================================================= --- tc09_bad_unlock.stderr.exp-glibc25-amd64 2010-10-13 03:38:58.000000000 +0100 +++ tc09_bad_unlock.stderr.out 2010-10-13 03:48:51.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-new/helgrind/tests/tc09_bad_unlock.stderr.diff-glibc25-x86 ================================================= --- tc09_bad_unlock.stderr.exp-glibc25-x86 2010-10-13 03:38:58.000000000 +0100 +++ tc09_bad_unlock.stderr.out 2010-10-13 03:48:51.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-new/helgrind/tests/tc23_bogus_condwait.stderr.diff ================================================= --- tc23_bogus_condwait.stderr.exp 2010-10-13 03:38:58.000000000 +0100 +++ tc23_bogus_condwait.stderr.out 2010-10-13 03:49:20.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-new/memcheck/tests/linux/stack_switch.stderr.diff ================================================= --- stack_switch.stderr.exp 2010-10-13 03:38:59.000000000 +0100 +++ stack_switch.stderr.out 2010-10-13 03:44:30.000000000 +0100 @@ -0,0 +1,3 @@ +Syscall param clone(child_tidptr) contains uninitialised byte(s) + ... + ================================================= ./valgrind-old/drd/tests/pth_detached2.stdout.diff ================================================= --- pth_detached2.stdout.exp 2010-10-13 03:21:45.000000000 +0100 +++ pth_detached2.stdout.out 2010-10-13 03:35:26.000000000 +0100 @@ -1 +1 @@ -.................... +.. ================================================= ./valgrind-old/drd/tests/qt4_atomic.stderr.diff ================================================= --- qt4_atomic.stderr.exp 2010-10-13 03:21:45.000000000 +0100 +++ qt4_atomic.stderr.out 2010-10-13 03:35:42.000000000 +0100 @@ -1,5 +1,347 @@ Start of test. +Thread 3: +Conflicting load by thread 3 at 0x........ size 4 + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:40) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) + +Conflicting store by thread 3 at 0x........ size 4 + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:40) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) + +Thread 11: +Conflicting store by thread 11 at 0x........ size 4 + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:102) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +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) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) + +Thread 10: +Conflicting store by thread 10 at 0x........ size 4 + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:72) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Allocation context: BSS section of qt4_atomic +Other segment start (thread 2) + at 0x........: clone (in /...libc...) +Other segment end (thread 2) ================================================= ./valgrind-old/drd/tests/qt4_mutex.stderr.diff ================================================= --- qt4_mutex.stderr.exp 2010-10-13 03:21:45.000000000 +0100 +++ qt4_mutex.stderr.out 2010-10-13 03:35:49.000000000 +0100 @@ -1,5 +1,950 @@ 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-10-13 03:21:45.000000000 +0100 +++ qt4_rwlock.stderr.out 2010-10-13 03:36:03.000000000 +0100 @@ -1,5 +1,901 @@ Start of test. +Thread 3: +Conflicting load by thread 3 at 0x........ size 4 + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:40) + by 0x........: IncThread::run() (qt4_rwlock.cpp:42) + 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...) +Allocation context: BSS section of qt4_rwlock +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) + by 0x........: IncThread::run() (qt4_rwlock.cpp:42) + 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 3 at 0x........ size 4 + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:40) + by 0x........: IncThread::run() (qt4_rwlock.cpp:42) + 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...) +Allocation context: BSS section of qt4_rwlock +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) + by 0x........: IncThread::run() (qt4_rwlock.cpp:42) + 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...) + +Thread 11: +Conflicting store by thread 11 at 0x........ size 4 + at 0x........: pthread_barrier_wait (pthread_barrier_wait.S:102) + by 0x........: IncThread::run() (qt4_rwlock.cpp:42) + 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...) +Allocation context: BSS section of qt4_rwlock +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) + by 0x........: IncThread::run() (qt4_rwlock.cpp:42) + 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 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) + by 0x........: IncThread::run() (qt4_rwlock.cpp:42) + by 0x........: ??? (in /usr/lib64/libQtCore.so.4.6.3) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) ================================================= ./valgrind-old/drd/tests/qt4_semaphore.stderr.diff ================================================= --- qt4_semaphore.stderr.exp 2010-10-13 03:21:45.000000000 +0100 +++ qt4_semaphore.stderr.out 2010-10-13 03:36:18.000000000 +0100 @@ -1,5 +1,998 @@ 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_semaphore.cpp:23) +Address 0x........ is at offset 8 from 0x......... Allocation context: + at 0x........: ...operator new... (vg_replace_malloc.c:...) + by 0x........: main (qt4_semaphore.cpp:63) +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_semaphore.cpp:23) +Address 0x........ is at offset 0 from 0x......... Allocation context: + at 0x........: ...operator new... (vg_replace_malloc.c:...) + by 0x........: main (qt4_semaphore.cpp:63) +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_semaphore.cpp:23) +Address 0x........ is at offset 0 from 0x......... Allocation context: + at 0x........: ...operator new... (vg_replace_malloc.c:...) + by 0x........: main (qt4_semaphore.cpp:63) +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_semaphore.cpp:23) +Address 0x........ is at offset 0 from 0x......... Allocation context: + at 0x........: ...operator new... (vg_replace_malloc.c:...) + by 0x........: main (qt4_semaphore.cpp:63) +Other segment start (thread 2) ================================================= ./valgrind-old/exp-ptrcheck/tests/bad_percentify.stderr.diff-glibc28-amd64 ================================================= --- bad_percentify.stderr.exp-glibc28-amd64 2010-10-13 03:20:24.000000000 +0100 +++ bad_percentify.stderr.out 2010-10-13 03:37:44.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-10-13 03:20:24.000000000 +0100 +++ supp.stderr.out 2010-10-13 03:38:45.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/tc06_two_races_xml.stderr.diff ================================================= --- tc06_two_races_xml.stderr.exp 2010-10-13 03:20:21.000000000 +0100 +++ tc06_two_races_xml.stderr.out 2010-10-13 03:32:46.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........ @@ -121,11 +130,12 @@ 0x........ ... start_thread + ... + pthread_create.c + ... 0x........ - ... - clone Location 0x........ is 0 bytes inside global var "unprot1" @@ -175,11 +185,12 @@ 0x........ ... start_thread + ... + pthread_create.c + ... 0x........ - ... - clone Location 0x........ is 0 bytes inside global var "unprot1" @@ -229,11 +240,12 @@ 0x........ ... start_thread + ... + pthread_create.c + ... 0x........ - ... - clone Location 0x........ is 0 bytes inside global var "unprot2" @@ -283,11 +295,12 @@ 0x........ ... start_thread + ... + pthread_create.c + ... 0x........ - ... - clone Location 0x........ is 0 bytes inside global var "unprot2" ================================================= ./valgrind-old/helgrind/tests/tc09_bad_unlock.stderr.diff-glibc23-amd64 ================================================= --- tc09_bad_unlock.stderr.exp-glibc23-amd64 2010-10-13 03:20:21.000000000 +0100 +++ tc09_bad_unlock.stderr.out 2010-10-13 03:32:49.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-10-13 03:20:21.000000000 +0100 +++ tc09_bad_unlock.stderr.out 2010-10-13 03:32:49.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-10-13 03:20:21.000000000 +0100 +++ tc09_bad_unlock.stderr.out 2010-10-13 03:32:49.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/tc23_bogus_condwait.stderr.diff ================================================= --- tc23_bogus_condwait.stderr.exp 2010-10-13 03:20:21.000000000 +0100 +++ tc23_bogus_condwait.stderr.out 2010-10-13 03:33:17.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-10-13 03:20:45.000000000 +0100 +++ stack_switch.stderr.out 2010-10-13 03:28:26.000000000 +0100 @@ -0,0 +1,3 @@ +Syscall param clone(child_tidptr) contains uninitialised byte(s) + ... +