=================================================
./valgrind-new/drd/tests/annotate_trace_memory.stderr.diff
=================================================
--- annotate_trace_memory.stderr.exp 2011-12-12 03:59:29.000000000 +0100
+++ annotate_trace_memory.stderr.out 2011-12-12 04:09:34.000000000 +0100
@@ -1,20 +1,56 @@
FLAGS [phb=1, fm=0]
test01: positive
-store 0x........ size 4 val 0x........ (thread x / vc ...)
- at 0x........: test01::Worker() (tsan_unittest.cpp:?)
- by 0x........: MyThread::ThreadBody(MyThread*) (tsan_thread_wrappers_pthread.h:?)
-store 0x........ size 4 val 0x........ (thread x / vc ...)
- at 0x........: test01::Parent() (tsan_unittest.cpp:?)
- by 0x........: test01::Run() (tsan_unittest.cpp:?)
-Conflicting store by thread x at 0x........ size 4
- at 0x........: test01::Parent() (tsan_unittest.cpp:?)
- by 0x........: test01::Run() (tsan_unittest.cpp:?)
-Allocation context: BSS section of tsan_unittest
-load 0x........ size 4 (thread x / vc ...)
- at 0x........: test01::Run() (tsan_unittest.cpp:?)
+vex: priv/host_s390_isel.c:674 (s390_isel_int_expr_wrk): Assertion `ty == Ity_I8 || ty == Ity_I16 || ty == Ity_I32 || ty == Ity_I64' failed.
+vex storage: T total 185196768 bytes allocated
+vex storage: P total 0 bytes allocated
+
+valgrind: the 'impossible' happened:
+ LibVEX called failure_exit().
+ at 0x........: report_and_quit (m_libcassert.c:?)
+ by 0x........: panic (m_libcassert.c:?)
+ by 0x........: vgPlain_core_panic_at (m_libcassert.c:?)
+ by 0x........: vgPlain_core_panic (m_libcassert.c:?)
+ by 0x........: failure_exit (m_translate.c:?)
+ by 0x........: vex_assert_fail (main_util.c:?)
+ by 0x........: s390_isel_int_expr (host_s390_isel.c:674)
+ by 0x........: doHelperCall (host_s390_isel.c:384)
+ by 0x........: iselSB_S390 (host_s390_isel.c:2239)
+ by 0x........: LibVEX_Translate (main_main.c:?)
+ by 0x........: vgPlain_translate (m_translate.c:?)
+ by 0x........: vgPlain_scheduler (scheduler.c:?)
+ by 0x........: run_a_thread_NORETURN (syswrap-linux.c:98)
+ by 0x........: vgModuleLocal_start_thread_NORETURN (syswrap-linux.c:268)
+ by 0x........: ??? (in /home0/cborntra/valgrind-nightly/valgrind-new/drd/drd-s390x-linux)
+
+sched status:
+ running_tid=2
+
+Thread x: status = VgTs_WaitSys
+ at 0x........: syscall (in /...libc...)
+ by 0x........: pthread_create (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Start() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: test01::Parent() (tsan_unittest.cpp:?)
+ by 0x........: test01::Run() (tsan_unittest.cpp:?)
by 0x........: Test::Run() (tsan_unittest.cpp:?)
- GLOB=2
+ by 0x........: main (tsan_unittest.cpp:?)
+
+Thread x: status = VgTs_Runnable
+ at 0x........: setjmp (in /...libc...)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: ??? (in /...libc...)
+
+
+Note: see also the FAQ in the source distribution.
+It contains workarounds to several common problems.
+In particular, if Valgrind aborted or crashed after
+identifying problems in your program, there's a good chance
+that fixing those problems will prevent Valgrind aborting or
+crashing, especially if it happened in m_mallocfree.c.
+
+If that doesn't help, please report this bug to: www.valgrind.org
+
+In the bug report, send all the above text, the valgrind
+version, and what OS and version you are using. Thanks.
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/annotate_trace_memory_xml.stderr.diff
=================================================
--- annotate_trace_memory_xml.stderr.exp 2011-12-12 03:59:29.000000000 +0100
+++ annotate_trace_memory_xml.stderr.out 2011-12-12 04:09:38.000000000 +0100
@@ -31,107 +31,57 @@
FLAGS [phb=1, fm=0]
test01: positive
- store 0x........ size 4 val 0x........ (thread x / vc ...)
-
-
- 0x........
- ...
- test01::Worker()
- ...
- tsan_unittest.cpp
- ...
-
-
- 0x........
- ...
- MyThread::ThreadBody(MyThread*)
- ...
- tsan_thread_wrappers_pthread.h
- ...
-
-
-
- store 0x........ size 4 val 0x........ (thread x / vc ...)
-
-
- 0x........
- ...
- test01::Parent()
- ...
- tsan_unittest.cpp
- ...
-
-
- 0x........
- ...
- test01::Run()
- ...
- tsan_unittest.cpp
- ...
-
-
-
-
- 0x........
- ...
- ConflictingAccess
- Conflicting store by thread x at 0x........ size 4
-
-
- 0x........
- ...
- test01::Parent()
- ...
- tsan_unittest.cpp
- ...
-
-
- 0x........
- ...
- test01::Run()
- ...
- tsan_unittest.cpp
- ...
-
-
- Allocation context: BSS section of tsan_unittest
-
-
- load 0x........ size 4 (thread x / vc ...)
-
-
- 0x........
- ...
- test01::Run()
- ...
- tsan_unittest.cpp
- ...
-
-
- 0x........
- ...
- Test::Run()
- ...
- tsan_unittest.cpp
- ...
-
-
-
- GLOB=2
-
-
- FINISHED
-
-
-
-
=================================================
./valgrind-new/drd/tests/pth_once.stderr.diff
=================================================
--- pth_once.stderr.exp 2011-12-12 03:59:29.000000000 +0100
+++ pth_once.stderr.out 2011-12-12 04:11:46.000000000 +0100
@@ -1 +0,0 @@
-ERROR SUMMARY: 0 errors from 0 contexts
=================================================
./valgrind-new/drd/tests/tc04_free_lock.stderr.diff
=================================================
--- tc04_free_lock.stderr.exp 2011-12-12 03:59:29.000000000 +0100
+++ tc04_free_lock.stderr.out 2011-12-12 04:12:57.000000000 +0100
@@ -8,7 +8,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: main (tc04_free_lock.c:26)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
@@ -16,19 +16,11 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: foo (tc04_free_lock.c:49)
- by 0x........: main (tc04_free_lock.c:27)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: foo (tc04_free_lock.c:46)
by 0x........: main (tc04_free_lock.c:27)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: main (tc04_free_lock.c:28)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
- by 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-
-ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff
=================================================
--- tc09_bad_unlock.stderr.exp 2011-12-12 03:59:29.000000000 +0100
+++ tc09_bad_unlock.stderr.out 2011-12-12 04:13:01.000000000 +0100
@@ -26,7 +26,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:49)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- 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)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-glibc2.8
=================================================
--- tc09_bad_unlock.stderr.exp-glibc2.8 2011-12-12 03:59:29.000000000 +0100
+++ tc09_bad_unlock.stderr.out 2011-12-12 04:13:01.000000000 +0100
@@ -26,7 +26,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........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: (below main)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc18_semabuse.stderr.diff
=================================================
--- tc18_semabuse.stderr.exp 2011-12-12 03:59:21.000000000 +0100
+++ tc18_semabuse.stderr.out 2011-12-12 04:07:43.000000000 +0100
@@ -18,13 +18,5 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc18_semabuse.c:34)
-----------------------------------------------------------------
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- by 0x........: main (tc18_semabuse.c:37)
-
-
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2011-12-12 03:59:21.000000000 +0100
+++ tc20_verifywrap.stderr.out 2011-12-12 04:07:51.000000000 +0100
@@ -215,14 +215,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:242)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:245)
-
FIXME: can't figure out how to verify wrap of sem_post
@@ -235,4 +227,4 @@
...
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/annotate_smart_pointer2.stderr.diff
=================================================
--- annotate_smart_pointer2.stderr.exp 2011-12-12 03:45:12.000000000 +0100
+++ annotate_smart_pointer2.stderr.out 2011-12-12 03:55:04.000000000 +0100
@@ -1,6 +1,9 @@
Conflicting store by thread x at 0x........ size 4
- at 0x........: main (annotate_smart_pointer.cpp:?)
+ at 0x........: counter::~counter() (annotate_smart_pointer.cpp:?)
+ by 0x........: smart_ptr::set(counter*, AtomicInt32*) (annotate_smart_pointer.cpp:?)
+ by 0x........: smart_ptr::operator=(counter*) (annotate_smart_pointer.cpp:?)
+ by 0x........: main (annotate_smart_pointer.cpp:?)
Address 0x........ is at offset ... from 0x......... Allocation context:
at 0x........: ...operator new... (vg_replace_malloc.c:...)
by 0x........: main (annotate_smart_pointer.cpp:?)
=================================================
./valgrind-old/drd/tests/annotate_trace_memory.stderr.diff
=================================================
--- annotate_trace_memory.stderr.exp 2011-12-12 03:45:12.000000000 +0100
+++ annotate_trace_memory.stderr.out 2011-12-12 03:55:16.000000000 +0100
@@ -14,7 +14,7 @@
load 0x........ size 4 (thread x / vc ...)
at 0x........: test01::Run() (tsan_unittest.cpp:?)
- by 0x........: main (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
GLOB=2
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/annotate_trace_memory_xml.stderr.diff
=================================================
--- annotate_trace_memory_xml.stderr.exp 2011-12-12 03:45:12.000000000 +0100
+++ annotate_trace_memory_xml.stderr.out 2011-12-12 03:55:21.000000000 +0100
@@ -110,7 +110,7 @@
0x........
...
- main
+ Test::Run()
...
tsan_unittest.cpp
...
=================================================
./valgrind-old/drd/tests/tc04_free_lock.stderr.diff
=================================================
--- tc04_free_lock.stderr.exp 2011-12-12 03:45:12.000000000 +0100
+++ tc04_free_lock.stderr.out 2011-12-12 03:58:39.000000000 +0100
@@ -8,7 +8,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: main (tc04_free_lock.c:26)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
@@ -16,19 +16,11 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: foo (tc04_free_lock.c:49)
- by 0x........: main (tc04_free_lock.c:27)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: foo (tc04_free_lock.c:46)
by 0x........: main (tc04_free_lock.c:27)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: main (tc04_free_lock.c:28)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
- by 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-
-ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/tc09_bad_unlock.stderr.diff
=================================================
--- tc09_bad_unlock.stderr.exp 2011-12-12 03:45:12.000000000 +0100
+++ tc09_bad_unlock.stderr.out 2011-12-12 03:58:42.000000000 +0100
@@ -26,7 +26,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:49)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- 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)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/tc09_bad_unlock.stderr.diff-glibc2.8
=================================================
--- tc09_bad_unlock.stderr.exp-glibc2.8 2011-12-12 03:45:12.000000000 +0100
+++ tc09_bad_unlock.stderr.out 2011-12-12 03:58:42.000000000 +0100
@@ -26,7 +26,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........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: (below main)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc18_semabuse.stderr.diff
=================================================
--- tc18_semabuse.stderr.exp 2011-12-12 03:45:06.000000000 +0100
+++ tc18_semabuse.stderr.out 2011-12-12 03:53:26.000000000 +0100
@@ -18,13 +18,5 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc18_semabuse.c:34)
-----------------------------------------------------------------
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- by 0x........: main (tc18_semabuse.c:37)
-
-
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2011-12-12 03:45:06.000000000 +0100
+++ tc20_verifywrap.stderr.out 2011-12-12 03:53:34.000000000 +0100
@@ -215,14 +215,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:242)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:245)
-
FIXME: can't figure out how to verify wrap of sem_post
@@ -235,4 +227,4 @@
...
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)