|
From: Chris M. <chr...@bo...> - 2009-01-20 03:28:07
|
Hi. I just downloaded and built valgrind 3.4.0 on Ubuntu 7.10 (Gutsy),
using the system default compiler (no configure overrides), which is gcc
4.2.1-5ubuntu4. The make and make install went fine, but I got a bunch
of errors (and some core dumps) when I ran "make regtest" - see below.
This is on an x86 in 32-bit mode (uname -a says "Linux cmacgreg
2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux").
I assume this is not normal/expected. Any suggestions on what to try
next? (Yes, a later release of Ubuntu and/or gcc would indeed be nice,
but that's not completely under my control.)
Thanks,
Chris MacGregor
/usr/bin/perl tests/vg_regtest memcheck cachegrind callgrind massif
lackey none helgrind drd exp-omega exp-ptrcheck
-- Running tests in memcheck/tests ------------------------------------
addressable: valgrind ./addressable
badaddrvalue: valgrind -q ./badaddrvalue
badfree-2trace: valgrind --num-callers=2 -q ./badfree
badfree: valgrind -q ./badfree
badjump: valgrind ./badjump
sh: line 1: 1799 Segmentation fault (core dumped)
VALGRIND_LIB=/home/cmacgreg/valgrind-3.4.0/.in_place
VALGRIND_LIB_INNER=/home/cmacgreg/valgrind-3.4.0/.in_place
/home/cmacgreg/valgrind-3.4.0/./coregrind/valgrind
--command-line-only=yes --memcheck:leak-check=no --tool=memcheck
./badjump > badjump.stdout.out 2> badjump.stderr.out
badjump2: valgrind -q ./badjump2
badloop: valgrind -q ./badloop
badpoll: valgrind -q ./badpoll
*** badpoll failed (stderr) ***
badrw: valgrind -q ./badrw
brk: valgrind ./brk
brk2: valgrind ./brk2
buflen_check: valgrind -q ./buflen_check
*** buflen_check failed (stderr) ***
clientperm: valgrind -q ./clientperm
custom_alloc: valgrind -q ./custom_alloc
deep_templates: valgrind -q ./deep_templates
describe-block: valgrind ./describe-block
sh: line 1: 2180 Segmentation fault (core dumped)
VALGRIND_LIB=/home/cmacgreg/valgrind-3.4.0/.in_place
VALGRIND_LIB_INNER=/home/cmacgreg/valgrind-3.4.0/.in_place
/home/cmacgreg/valgrind-3.4.0/./coregrind/valgrind
--command-line-only=yes --memcheck:leak-check=no --tool=memcheck
./describe-block > describe-block.stdout.out 2> describe-block.stderr.out
doublefree: valgrind -q ./doublefree
erringfds: valgrind ./erringfds
error_counts: valgrind --log-fd=-1 ./error_counts
errs1: valgrind -q ./errs1
execve: valgrind -q ./execve
*** execve failed (stderr) ***
execve2: valgrind -q --trace-children=yes ./execve2
*** execve2 failed (stderr) ***
exitprog: valgrind -q ./exitprog
file_locking: valgrind -q --trace-children=yes ./file_locking
fprw: valgrind -q ./fprw
fwrite: valgrind -q ./fwrite
*** fwrite failed (stderr) ***
inits: valgrind -q ./inits
inline: valgrind -q ./inline
leak-0: valgrind ./leak-0
leak-cycle: valgrind --leak-resolution=high ./leak-cycle
leak-pool-0: valgrind ./leak-pool 0
leak-pool-1: valgrind ./leak-pool 1
leak-pool-2: valgrind ./leak-pool 2
leak-pool-3: valgrind ./leak-pool 3
leak-pool-4: valgrind ./leak-pool 4
leak-pool-5: valgrind ./leak-pool 5
leak-regroot: valgrind ./leak-regroot
leak-tree: valgrind --leak-resolution=high ./leak-tree
leakotron: valgrind ./leakotron
long_namespace_xml: valgrind --xml=yes ./long_namespace_xml
lsframe1: valgrind --main-stacksize=67200000
--max-stackframe=67200000 ./lsframe1
lsframe2: valgrind --main-stacksize=68500000 ./lsframe2
mallinfo: valgrind ./mallinfo -q
malloc1: valgrind -q ./malloc1
malloc2: valgrind -q ./malloc2
malloc3: valgrind -q ./malloc3
malloc_free_fill: valgrind --malloc-fill=0x55 --free-fill=0x77
./malloc_free_fill
malloc_usable: valgrind -q ./malloc_usable
manuel1: valgrind -q ./manuel1
manuel2: valgrind -q ./manuel2
manuel3: valgrind -q ./manuel3
match-overrun: valgrind --suppressions=match-overrun.supp
./match-overrun
sh: line 1: 3452 Segmentation fault (core dumped)
VALGRIND_LIB=/home/cmacgreg/valgrind-3.4.0/.in_place
VALGRIND_LIB_INNER=/home/cmacgreg/valgrind-3.4.0/.in_place
/home/cmacgreg/valgrind-3.4.0/./coregrind/valgrind
--command-line-only=yes --memcheck:leak-check=no --tool=memcheck
--suppressions=match-overrun.supp ./match-overrun >
match-overrun.stdout.out 2> match-overrun.stderr.out
memalign2: valgrind -q ./memalign2
memalign_test: valgrind -q ./memalign_test
memcmptest: valgrind -q ./memcmptest
mempool: valgrind -q --leak-check=yes ./mempool
metadata: valgrind -q ./metadata
mismatches: valgrind -q ./mismatches
*** mismatches failed (stderr) ***
mmaptest: valgrind -q ./mmaptest
nanoleak: valgrind --leak-check=yes -q ./nanoleak
nanoleak2: valgrind --leak-check=yes --gen-suppressions=yes
--show-reachable=no -q ./nanoleak2
nanoleak_supp: valgrind --leak-check=yes --suppressions=nanoleak.supp
-q ./nanoleak
new_nothrow: valgrind -q ./new_nothrow
new_override: valgrind ./new_override
noisy_child: valgrind --child-silent-after-fork=yes ./noisy_child
null_socket: valgrind -q ./null_socket
origin1-yes: valgrind -q --track-origins=yes ./origin1-yes
*** origin1-yes failed (stderr) ***
origin2-not-quite: valgrind -q --track-origins=yes ./origin2-not-quite
origin3-no: valgrind -q --track-origins=yes ./origin3-no
origin4-many: valgrind -q --track-origins=yes ./origin4-many
*** origin4-many failed (stderr) ***
origin5-bz2: valgrind -q --track-origins=yes ./origin5-bz2 x
*** origin5-bz2 failed (stderr) ***
origin6-fp: valgrind -q --track-origins=yes ./origin6-fp
oset_test: valgrind -q ./oset_test
overlap: valgrind -q ./overlap
partial_load_dflt: valgrind ./partial_load
partial_load_ok: valgrind --partial-loads-ok=yes ./partial_load
partiallydefinedeq: valgrind ./partiallydefinedeq
pdb-realloc: valgrind -q ./pdb-realloc
pdb-realloc2: valgrind -q ./pdb-realloc2
pipe: valgrind -q ./pipe
pointer-trace: valgrind --leak-check=yes ./pointer-trace
*** pointer-trace failed (stderr) ***
post-syscall: valgrind ./post-syscall
realloc1: valgrind -q ./realloc1
realloc2: valgrind -q ./realloc2
realloc3: valgrind -q ./realloc3
sh-mem-random: valgrind -q ./sh-mem-random
sh-mem: valgrind -q ./sh-mem
sigaltstack: valgrind -q ./sigaltstack
sigkill: valgrind ./sigkill
signal2: valgrind -q ./signal2
sigprocmask: valgrind -q ./sigprocmask
stack_changes: valgrind -q ./stack_changes
stack_switch: valgrind -q ./stack_switch
*** stack_switch failed (stderr) ***
str_tester: valgrind -q ./str_tester
strchr: valgrind -q ./strchr
supp1: valgrind --suppressions=supp.supp -q ./supp1
supp2: valgrind --suppressions=supp.supp -q ./supp2
supp_unknown: valgrind -q --suppressions=supp_unknown.supp ./badjump
sh: line 1: 5090 Segmentation fault (core dumped)
VALGRIND_LIB=/home/cmacgreg/valgrind-3.4.0/.in_place
VALGRIND_LIB_INNER=/home/cmacgreg/valgrind-3.4.0/.in_place
/home/cmacgreg/valgrind-3.4.0/./coregrind/valgrind
--command-line-only=yes --memcheck:leak-check=no --tool=memcheck -q
--suppressions=supp_unknown.supp ./badjump > supp_unknown.stdout.out 2>
supp_unknown.stderr.out
suppfree: valgrind -q ./suppfree
toobig-allocs: valgrind -q ./../../tests/toobig-allocs
trivialleak: valgrind --leak-check=yes -q ./trivialleak
varinfo1: valgrind --read-var-info=yes ./varinfo1
varinfo2: valgrind --read-var-info=yes ./varinfo2
varinfo3: valgrind --read-var-info=yes ./varinfo3
varinfo4: valgrind --read-var-info=yes ./varinfo4
varinfo5: valgrind --read-var-info=yes ./varinfo5
varinfo6: valgrind --read-var-info=yes ./varinfo6
vcpu_bz2: valgrind -q ./vcpu_bz2 x
vcpu_fbench: valgrind -q ./vcpu_fbench
vcpu_fnfns: valgrind -q ./vcpu_fnfns
with-space: valgrind -q ./'with space'
wrap1: valgrind -q ./wrap1
wrap2: valgrind -q ./wrap2
wrap3: valgrind -q ./wrap3
wrap4: valgrind -q ./wrap4
wrap5: valgrind -q ./wrap5
wrap6: valgrind -q ./wrap6
wrap7: valgrind -q ./wrap7
wrap8: valgrind -q ./wrap8
writev: valgrind -q ./writev
*** writev failed (stderr) ***
-- Running tests in memcheck/tests/x86 --------------------------------
bug133694: valgrind -q ./bug133694
bug152022: valgrind ./bug152022
espindola2: valgrind -q ./espindola2
fpeflags: valgrind -q ./fpeflags
fprem: valgrind -q ./fprem
fxsave: valgrind -q ./fxsave x
insn_basic: valgrind -q ./../../../none/tests/x86/insn_basic
insn_cmov: valgrind -q ./../../../none/tests/x86/insn_cmov
insn_fpu: valgrind -q ./../../../none/tests/x86/insn_fpu
insn_mmx: valgrind -q ./../../../none/tests/x86/insn_mmx
insn_mmxext: valgrind -q ./../../../none/tests/x86/insn_mmxext
insn_sse: valgrind -q ./../../../none/tests/x86/insn_sse
insn_sse2: valgrind -q ./../../../none/tests/x86/insn_sse2
int3-x86: valgrind -q ./int3-x86
more_x86_fp: valgrind -q ./more_x86_fp
pushfpopf: valgrind -q ./pushfpopf
pushfw_x86: valgrind -q ./pushfw_x86
pushpopmem: valgrind -q ./pushpopmem
scalar: valgrind -q --error-limit=no ./scalar < scalar.c
*** scalar failed (stderr) ***
scalar_exit_group: valgrind -q ./scalar_exit_group
*** scalar_exit_group failed (stderr) ***
scalar_fork: valgrind -q ./scalar_fork
scalar_supp: valgrind -q --suppressions=scalar_supp.supp ./scalar_supp
*** scalar_supp failed (stderr) ***
scalar_vfork: valgrind -q ./scalar_vfork
sse1_memory: valgrind -q ./sse_memory sse1
sse2_memory: valgrind -q ./sse_memory sse2
tronical: valgrind -q ./tronical
xor-undef-x86: valgrind ./xor-undef-x86
-- Finished tests in memcheck/tests/x86 --------------------------------
xml1: valgrind --xml=yes ./xml1
*** xml1 failed (stderr) ***
zeropage: valgrind -q ./zeropage
-- Finished tests in memcheck/tests ------------------------------------
-- Running tests in cachegrind/tests ----------------------------------
chdir: valgrind ./chdir
clreq: valgrind -q ./clreq
dlclose: valgrind ./dlclose
wrap5: valgrind ./wrap5
-- Running tests in cachegrind/tests/x86 ------------------------------
fpu-28-108: valgrind ./fpu-28-108
-- Finished tests in cachegrind/tests/x86 ------------------------------
-- Finished tests in cachegrind/tests ----------------------------------
-- Running tests in callgrind/tests -----------------------------------
clreq: valgrind ./clreq
simwork1: valgrind --simulate-hwpref=yes ./simwork
simwork2: valgrind --simulate-wb=yes --simulate-hwpref=yes
./simwork
simwork3: valgrind --cacheuse=yes ./simwork
threads: valgrind --separate-threads=yes ./threads
-- Finished tests in callgrind/tests -----------------------------------
-- Running tests in massif/tests --------------------------------------
alloc-fns-A: valgrind --stacks=no --time-unit=B --heap-admin=0
--massif-out-file=massif.out ./alloc-fns
alloc-fns-B: valgrind --stacks=no --time-unit=B --heap-admin=0
--alloc-fn=a4 --alloc-fn=b4 --alloc-fn=b3 --alloc-fn=c4 --alloc-fn=c3
--alloc-fn=c2 --alloc-fn=d4 --alloc-fn=d3 --alloc-fn=d2 --alloc-fn=d1
--massif-out-file=massif.out ./alloc-fns
basic: valgrind --stacks=no --time-unit=B
--massif-out-file=massif.out ./basic
basic2: valgrind --stacks=no --time-unit=B
--massif-out-file=massif.out --detailed-freq=1 --max-snapshots=10 ./basic
big-alloc: valgrind --stacks=no --time-unit=B
--massif-out-file=massif.out ./big-alloc
culling1: valgrind -v -v --stacks=no --time-unit=B
--massif-out-file=massif.out ./culling1
culling2: valgrind -v -v --stacks=no --time-unit=B
--massif-out-file=massif.out ./culling2
custom_alloc: valgrind --stacks=no --time-unit=B
--massif-out-file=massif.out ./custom_alloc
deep-A: valgrind --stacks=no --time-unit=B --depth=8
--massif-out-file=massif.out ./deep
deep-B: valgrind --stacks=no --time-unit=B --alloc-fn=a6
--alloc-fn=a7 --alloc-fn=a8 --alloc-fn=a9 --alloc-fn=a10 --alloc-fn=a11
--alloc-fn=a12 -v -v --depth=8 --massif-out-file=massif.out ./deep
deep-C: valgrind --stacks=no --time-unit=B --alloc-fn=a3
--alloc-fn=a4 --alloc-fn=a5 --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8
--alloc-fn=a9 --alloc-fn=a10 --alloc-fn=a11 --alloc-fn=a12 -v -v
--depth=8 --massif-out-file=massif.out ./deep
deep-D: valgrind --stacks=no --time-unit=B --alloc-fn=a1
--alloc-fn=a2 --alloc-fn=a3 --alloc-fn=a4 --alloc-fn=a5 --alloc-fn=a6
--alloc-fn=a7 --alloc-fn=a8 --alloc-fn=a9 --alloc-fn=a10 --alloc-fn=a11
--alloc-fn=a12 --alloc-fn=main --depth=20 --massif-out-file=massif.out
./deep
insig: valgrind --stacks=no --time-unit=B --heap-admin=64
--massif-out-file=massif.out ./insig
-- Finished tests in massif/tests --------------------------------------
-- Running tests in lackey/tests --------------------------------------
true: valgrind ./../../tests/true
-- Finished tests in lackey/tests --------------------------------------
-- Running tests in none/tests ----------------------------------------
ansi: valgrind ./ansi
args: valgrind ./args a b "1 2 3"
async-sigs: valgrind ./async-sigs
bitfield1: valgrind ./bitfield1
blockfault: valgrind ./blockfault
sh: line 1: 8200 Segmentation fault (core dumped)
VALGRIND_LIB=/home/cmacgreg/valgrind-3.4.0/.in_place
VALGRIND_LIB_INNER=/home/cmacgreg/valgrind-3.4.0/.in_place
/home/cmacgreg/valgrind-3.4.0/./coregrind/valgrind
--command-line-only=yes --memcheck:leak-check=no --tool=none
./blockfault > blockfault.stdout.out 2> blockfault.stderr.out
bug129866: valgrind ./bug129866
closeall: valgrind ./closeall
cmdline0: valgrind --version
cmdline1: valgrind --help --tool=none
cmdline2: valgrind --help-debug --tool=none
cmdline3: valgrind
cmdline4: valgrind --bad-bad-option ./../../tests/true
cmdline5: valgrind ./no-such-program-my-friend
cmdline6: valgrind ./cmdline6.vgtest
coolo_sigaction: valgrind ./coolo_sigaction
coolo_strlen: valgrind ./coolo_strlen
discard: valgrind ./discard
exec-sigmask: valgrind ./exec-sigmask
execve: valgrind ./execve
faultstatus: valgrind ./faultstatus
fcntl_setown: valgrind ./fcntl_setown
fdleak_cmsg: valgrind --track-fds=yes ./fdleak_cmsg < /dev/null
*** fdleak_cmsg failed (stderr) ***
fdleak_creat: valgrind --track-fds=yes ./fdleak_creat < /dev/null
*** fdleak_creat failed (stderr) ***
fdleak_dup: valgrind --track-fds=yes ./fdleak_dup < /dev/null
*** fdleak_dup failed (stderr) ***
fdleak_dup2: valgrind --track-fds=yes ./fdleak_dup2 < /dev/null
*** fdleak_dup2 failed (stderr) ***
fdleak_fcntl: valgrind --track-fds=yes ./fdleak_fcntl < /dev/null
*** fdleak_fcntl failed (stderr) ***
fdleak_ipv4: valgrind --track-fds=yes ./fdleak_ipv4 < /dev/null
*** fdleak_ipv4 failed (stderr) ***
fdleak_open: valgrind --track-fds=yes ./fdleak_open < /dev/null
*** fdleak_open failed (stderr) ***
fdleak_pipe: valgrind --track-fds=yes ./fdleak_pipe < /dev/null
*** fdleak_pipe failed (stderr) ***
fdleak_socketpair: valgrind --track-fds=yes ./fdleak_socketpair < /dev/null
*** fdleak_socketpair failed (stderr) ***
floored: valgrind ./floored
fork: valgrind -q ./fork
fucomip: valgrind ./fucomip
gxx304: valgrind ./gxx304
manythreads: valgrind ./manythreads
map_unaligned: valgrind ./map_unaligned
map_unmap: valgrind --sanity-level=3 ./map_unmap
mq: valgrind ./mq
mremap: valgrind ./mremap
*** mremap failed (stderr) ***
mremap2: valgrind ./mremap2
*** mremap2 failed (stdout) ***
munmap_exe: valgrind ./munmap_exe
nestedfns: valgrind ./nestedfns
pending: valgrind ./pending
pth_atfork1: valgrind ./pth_atfork1
pth_blockedsig: valgrind ./pth_blockedsig
pth_cancel1: valgrind ./pth_cancel1
pth_cancel2: valgrind ./pth_cancel2
pth_cvsimple: valgrind ./pth_cvsimple
pth_empty: valgrind ./pth_empty
pth_exit: valgrind ./pth_exit
pth_exit2: valgrind ./pth_exit2
pth_mutexspeed: valgrind ./pth_mutexspeed
pth_once: valgrind ./pth_once
pth_rwlock: valgrind ./pth_rwlock
pth_stackalign: valgrind ./pth_stackalign
rcrl: valgrind ./rcrl
readline1: valgrind ./readline1
res_search: valgrind -q ./res_search www.yahoo.com
resolv: valgrind ./resolv
rlimit_nofile: valgrind ./rlimit_nofile
selfrun: (skipping, prereq failed: grep '^#define HAVE_PIE 1'
../../config.h > /dev/null)
sem: valgrind ./sem
semlimit: valgrind ./semlimit
sha1_test: valgrind ./sha1_test
shell: valgrind -q ./shell
shell_badinterp: valgrind ./shell_badinterp
shell_binaryfile: valgrind ./shell_binaryfile
shell_dir: valgrind ./x86/
shell_nonexec: valgrind ./shell.vgtest
shell_nosuchfile: valgrind ./shell_nosuchfile
shell_valid1: valgrind -q ./shell_valid1
shell_valid2: valgrind -q ./shell_valid2
shell_valid3: valgrind -q ./shell_valid3
shell_zerolength: valgrind -q ./shell_zerolength
sh: line 1: 20347 Bus error (core dumped)
VALGRIND_LIB=/home/cmacgreg/valgrind-3.4.0/.in_place
VALGRIND_LIB_INNER=/home/cmacgreg/valgrind-3.4.0/.in_place
/home/cmacgreg/valgrind-3.4.0/./coregrind/valgrind
--command-line-only=yes --memcheck:leak-check=no --tool=none -q
./shell_zerolength > shell_zerolength.stdout.out 2>
shell_zerolength.stderr.out
shortpush: valgrind ./shortpush
shorts: valgrind ./shorts
sigstackgrowth: valgrind --sanity-level=3 ./sigstackgrowth
stackgrowth: valgrind --sanity-level=3 ./stackgrowth
susphello: (skipping, prereq failed: false)
syscall-restart1: valgrind ./syscall-restart1
syscall-restart2: valgrind ./syscall-restart2
system: valgrind ./system
thread-exits: valgrind ./thread-exits
threaded-fork: valgrind ./threaded-fork
threadederrno: valgrind -q ./threadederrno
tls: valgrind ./tls
vgprintf: valgrind ./vgprintf
-- Running tests in none/tests/x86 ------------------------------------
badseg: valgrind ./badseg
bt_everything: valgrind ./bt_everything
bt_literal: valgrind ./bt_literal
bug125959-x86: valgrind ./bug125959-x86
bug126147-x86: valgrind ./bug126147-x86
bug132813-x86: valgrind ./bug132813-x86
bug135421-x86: valgrind ./bug135421-x86
bug137714-x86: valgrind -q ./bug137714-x86
bug152818-x86: valgrind ./bug152818-x86
cmpxchg8b: valgrind ./cmpxchg8b
cpuid: valgrind ./cpuid
cse_fail: valgrind -q ./cse_fail
fcmovnu: valgrind ./fcmovnu
fpu_lazy_eflags: valgrind ./fpu_lazy_eflags
fxtract: valgrind ./fxtract
getseg: valgrind ./getseg
incdec_alt: valgrind ./incdec_alt
insn_basic: valgrind -q ./../../../none/tests/x86/insn_basic
insn_cmov: valgrind -q ./../../../none/tests/x86/insn_cmov
insn_fpu: valgrind -q ./../../../none/tests/x86/insn_fpu
insn_mmx: valgrind -q ./../../../none/tests/x86/insn_mmx
insn_mmxext: valgrind -q ./../../../none/tests/x86/insn_mmxext
insn_sse: valgrind -q ./../../../none/tests/x86/insn_sse
insn_sse2: valgrind -q ./../../../none/tests/x86/insn_sse2
insn_sse3: valgrind -q ./../../../none/tests/x86/insn_sse3
insn_ssse3: valgrind -q ./../../../none/tests/x86/insn_ssse3
*** insn_ssse3 failed (stdout) ***
*** insn_ssse3 failed (stderr) ***
jcxz: valgrind -q ./jcxz
lahf: valgrind ./lahf
looper: valgrind ./looper
movx: valgrind ./movx
pushpopseg: valgrind ./pushpopseg
sbbmisc: valgrind ./sbbmisc
seg_override: valgrind ./seg_override
sigcontext: valgrind ./sigcontext
smc1: valgrind --smc-check=all ./smc1
ssse3_misaligned: valgrind -q ./ssse3_misaligned
*** ssse3_misaligned failed (stderr) ***
-- Finished tests in none/tests/x86 ------------------------------------
-- Finished tests in none/tests ----------------------------------------
-- Running tests in helgrind/tests ------------------------------------
bar_bad: valgrind -q ./bar_bad
bar_trivial: valgrind -q ./bar_trivial
hg01_all_ok: valgrind ./hg01_all_ok
hg02_deadlock: valgrind ./hg02_deadlock
*** hg02_deadlock failed (stderr) ***
hg03_inherit: valgrind --read-var-info=yes ./hg03_inherit
*** hg03_inherit failed (stderr) ***
hg04_race: valgrind --read-var-info=yes ./hg04_race
*** hg04_race failed (stderr) ***
hg05_race2: valgrind --read-var-info=yes ./hg05_race2
*** hg05_race2 failed (stderr) ***
hg06_readshared: valgrind ./hg06_readshared
pth_barrier1: valgrind -q ./pth_barrier 2 1 1
*** pth_barrier1 failed (stderr) ***
pth_barrier2: valgrind -q --cmp-race-err-addrs=yes ./pth_barrier 2 32 1
*** pth_barrier2 failed (stderr) ***
pth_barrier3: valgrind -q ./pth_barrier 32 1 1
*** pth_barrier3 failed (stderr) ***
rwlock_race: valgrind --read-var-info=yes ./rwlock_race
*** rwlock_race failed (stderr) ***
rwlock_test: valgrind ./rwlock_test
tc01_simple_race: valgrind --read-var-info=yes ./tc01_simple_race
*** tc01_simple_race failed (stderr) ***
tc02_simple_tls: valgrind ./tc02_simple_tls
tc03_re_excl: valgrind ./tc03_re_excl
tc04_free_lock: valgrind ./tc04_free_lock
*** tc04_free_lock failed (stderr) ***
tc05_simple_race: valgrind --read-var-info=yes ./tc05_simple_race
*** tc05_simple_race failed (stderr) ***
tc06_two_races: valgrind --read-var-info=yes ./tc06_two_races
*** tc06_two_races failed (stderr) ***
tc07_hbl1: valgrind ./tc07_hbl1
tc08_hbl2: valgrind ./tc08_hbl2
tc09_bad_unlock: valgrind ./tc09_bad_unlock
*** tc09_bad_unlock failed (stderr) ***
tc10_rec_lock: valgrind ./tc10_rec_lock
tc11_XCHG: valgrind ./tc11_XCHG
tc12_rwl_trivial: valgrind ./tc12_rwl_trivial
tc13_laog1: valgrind ./tc13_laog1
tc14_laog_dinphils: valgrind ./tc14_laog_dinphils
*** tc14_laog_dinphils failed (stderr) ***
tc15_laog_lockdel: valgrind ./tc15_laog_lockdel
tc16_byterace: valgrind --read-var-info=yes ./tc16_byterace
*** tc16_byterace failed (stderr) ***
tc17_sembar: valgrind ./tc17_sembar
tc18_semabuse: valgrind ./tc18_semabuse
*** tc18_semabuse failed (stderr) ***
tc19_shadowmem: valgrind --cmp-race-err-addrs=yes --error-limit=no
./tc19_shadowmem
*** tc19_shadowmem failed (stderr) ***
tc20_verifywrap: valgrind --read-var-info=yes ./tc20_verifywrap
*** tc20_verifywrap failed (stderr) ***
tc21_pthonce: valgrind --read-var-info=yes ./tc21_pthonce
*** tc21_pthonce failed (stderr) ***
tc22_exit_w_lock: valgrind ./tc22_exit_w_lock
sh: line 1: 25329 Aborted (core dumped)
VALGRIND_LIB=/home/cmacgreg/valgrind-3.4.0/.in_place
VALGRIND_LIB_INNER=/home/cmacgreg/valgrind-3.4.0/.in_place
/home/cmacgreg/valgrind-3.4.0/./coregrind/valgrind
--command-line-only=yes --memcheck:leak-check=no --tool=helgrind
./tc22_exit_w_lock > tc22_exit_w_lock.stdout.out 2>
tc22_exit_w_lock.stderr.out
*** tc22_exit_w_lock failed (stderr) ***
tc23_bogus_condwait: valgrind ./tc23_bogus_condwait
tc24_nonzero_sem: valgrind --hg-sanity-flags=111111 ./tc24_nonzero_sem
-- Finished tests in helgrind/tests ------------------------------------
-- Running tests in drd/tests -----------------------------------------
atomic_var: valgrind --var-info=yes --check-stack-var=yes
--show-confl-seg=no ./atomic_var
bar_bad: valgrind -q ./bar_bad
bar_trivial: valgrind -q ./bar_trivial
boost_thread: (skipping, prereq failed: test -e boost_thread)
circular_buffer: valgrind ./circular_buffer -q
drd_bitmap_test: valgrind -q --tool=memcheck ./drd_bitmap_test -s 93 -t
97 -q
fp_race: valgrind --var-info=yes ./fp_race
fp_race2: valgrind ./fp_race -m
hg01_all_ok: valgrind ./hg01_all_ok
hg02_deadlock: valgrind ./hg02_deadlock
hg03_inherit: valgrind --show-confl-seg=no --var-info=yes
./hg03_inherit
hg04_race: valgrind --var-info=yes ./hg04_race
hg05_race2: valgrind --var-info=yes --check-stack-var=yes
./hg05_race2
hg06_readshared: valgrind ./hg06_readshared
hold_lock_1: valgrind --exclusive-threshold=500
--shared-threshold=2000 ./hold_lock -i 1000
hold_lock_2: valgrind --exclusive-threshold=2000
--shared-threshold=500 ./hold_lock -i 1000
linuxthreads_det: valgrind ./linuxthreads_det
matinv: valgrind ./matinv 30 -t 15 -q
memory_allocation: valgrind ./memory_allocation
monitor_example: valgrind ./monitor_example
new_delete: valgrind ./new_delete
omp_matinv: (skipping, prereq failed: ./run_openmp_test ./omp_matinv)
omp_matinv_racy: (skipping, prereq failed: ./run_openmp_test ./omp_matinv)
omp_prime_racy: (skipping, prereq failed: ./run_openmp_test ./omp_prime)
omp_printf: (skipping, prereq failed: ./run_openmp_test ./omp_printf)
pth_barrier: valgrind ./pth_barrier 2 1 1
pth_barrier2: valgrind ./pth_barrier 2 32 1
pth_barrier3: valgrind ./pth_barrier 32 1 1
pth_barrier_reinit: valgrind ./pth_barrier_reinit
pth_broadcast: valgrind ./pth_broadcast
pth_cancel_locked: valgrind ./pth_cancel_locked
pth_cond_race: valgrind ./pth_cond_race
pth_cond_race2: valgrind ./pth_cond_race -m
pth_cond_race3: valgrind --report-signal-unlocked=no ./pth_cond_race
pth_create_chain: valgrind ./pth_create_chain 100
pth_detached: valgrind ./pth_detached 1 1
pth_detached2: valgrind --var-info=yes ./pth_detached 10 10
pth_detached_sem: valgrind ./pth_detached_sem 10 10
pth_inconsistent_cond_wait: valgrind ./pth_inconsistent_cond_wait
pth_spinlock: valgrind --var-info=yes --check-stack-var=yes
./pth_spinlock
qt4_mutex: (skipping, prereq failed: test -e qt4_mutex)
qt4_rwlock: (skipping, prereq failed: test -e qt4_rwlock)
qt4_semaphore: (skipping, prereq failed: test -e qt4_semaphore)
recursive_mutex: valgrind --check-stack-var=yes ./recursive_mutex
sh: line 1: 26773 Alarm clock
VALGRIND_LIB=/home/cmacgreg/valgrind-3.4.0/.in_place
VALGRIND_LIB_INNER=/home/cmacgreg/valgrind-3.4.0/.in_place
/home/cmacgreg/valgrind-3.4.0/./coregrind/valgrind
--command-line-only=yes --memcheck:leak-check=no --tool=drd
--check-stack-var=yes ./recursive_mutex > recursive_mutex.stdout.out 2>
recursive_mutex.stderr.out
rwlock_race: valgrind --var-info=yes ./rwlock_race
rwlock_test: valgrind ./rwlock_vgtest
sem_as_mutex: valgrind --var-info=yes ./sem_as_mutex
sem_as_mutex2: valgrind ./sem_as_mutex -m
sigalrm: valgrind ./sigalrm
tc01_simple_race: valgrind --var-info=yes ./tc01_simple_race
tc02_simple_tls: valgrind ./tc02_simple_tls
tc03_re_excl: valgrind ./tc03_re_excl
tc04_free_lock: valgrind --check-stack-var=yes ./tc04_free_lock
tc05_simple_race: valgrind ./tc05_simple_race
tc06_two_races: valgrind ./tc06_two_races
tc07_hbl1: valgrind ./tc07_hbl1
tc08_hbl2: valgrind ./tc08_hbl2
tc09_bad_unlock: valgrind --check-stack-var=yes ./tc09_bad_unlock
tc10_rec_lock: valgrind ./tc10_rec_lock
tc11_XCHG: valgrind ./tc11_XCHG
tc12_rwl_trivial: valgrind ./tc12_rwl_trivial
tc13_laog1: valgrind ./tc13_laog1
tc15_laog_lockdel: valgrind ./tc15_laog_lockdel
tc16_byterace: valgrind --var-info=yes ./tc16_byterace
tc17_sembar: valgrind ./tc17_sembar
tc18_semabuse: valgrind ./tc18_semabuse
tc19_shadowmem: valgrind --cmp-race-err-addrs=yes --error-limit=no
./tc19_shadowmem
tc20_verifywrap: valgrind --var-info=yes --check-stack-var=yes
./tc20_verifywrap
tc20_verifywrap2: valgrind --trace-mutex=yes --trace-cond=yes
--trace-semaphore=yes --var-info=yes --check-stack-var=yes
./tc20_verifywrap
tc21_pthonce: valgrind ./tc21_pthonce
tc22_exit_w_lock: valgrind ./tc22_exit_w_lock
sh: line 1: 27623 Aborted (core dumped)
VALGRIND_LIB=/home/cmacgreg/valgrind-3.4.0/.in_place
VALGRIND_LIB_INNER=/home/cmacgreg/valgrind-3.4.0/.in_place
/home/cmacgreg/valgrind-3.4.0/./coregrind/valgrind
--command-line-only=yes --memcheck:leak-check=no --tool=drd
./tc22_exit_w_lock > tc22_exit_w_lock.stdout.out 2>
tc22_exit_w_lock.stderr.out
tc23_bogus_condwait: valgrind ./tc23_bogus_condwait
tc24_nonzero_sem: valgrind --hg-sanity-flags=111111 ./tc24_nonzero_sem
trylock: valgrind ./trylock
-- Finished tests in drd/tests -----------------------------------------
-- Running tests in exp-ptrcheck/tests --------------------------------
bad_percentify: valgrind ./bad_percentify
base: valgrind ./base
ccc: valgrind ./ccc
*** ccc failed (stderr) ***
fp: valgrind ./fp
globalerr: valgrind ./globalerr
hackedbz2: valgrind ./hackedbz2
hp_bounds: valgrind ./hp_bounds
hp_dangle: valgrind ./hp_dangle
justify: valgrind ./justify
partial_bad: valgrind --partial-loads-ok=no ./partial
partial_good: valgrind --partial-loads-ok=yes ./partial
preen_invars: valgrind ./preen_invars
pth_create: valgrind ./pth_create
pth_specific: valgrind ./pth_specific
realloc: valgrind ./realloc
stackerr: valgrind ./stackerr
strcpy: valgrind ./strcpy
supp: valgrind --suppressions=supp.supp ./supp
tricky: valgrind ./tricky
unaligned: valgrind ./unaligned
zero: valgrind ./zero
-- Finished tests in exp-ptrcheck/tests --------------------------------
== 418 tests, 49 stderr failures, 2 stdout failures, 0 post failures ==
memcheck/tests/badpoll (stderr)
memcheck/tests/buflen_check (stderr)
memcheck/tests/execve (stderr)
memcheck/tests/execve2 (stderr)
memcheck/tests/fwrite (stderr)
memcheck/tests/mismatches (stderr)
memcheck/tests/origin1-yes (stderr)
memcheck/tests/origin4-many (stderr)
memcheck/tests/origin5-bz2 (stderr)
memcheck/tests/pointer-trace (stderr)
memcheck/tests/stack_switch (stderr)
memcheck/tests/writev (stderr)
memcheck/tests/x86/scalar (stderr)
memcheck/tests/x86/scalar_exit_group (stderr)
memcheck/tests/x86/scalar_supp (stderr)
memcheck/tests/xml1 (stderr)
none/tests/fdleak_cmsg (stderr)
none/tests/fdleak_creat (stderr)
none/tests/fdleak_dup (stderr)
none/tests/fdleak_dup2 (stderr)
none/tests/fdleak_fcntl (stderr)
none/tests/fdleak_ipv4 (stderr)
none/tests/fdleak_open (stderr)
none/tests/fdleak_pipe (stderr)
none/tests/fdleak_socketpair (stderr)
none/tests/mremap (stderr)
none/tests/mremap2 (stdout)
none/tests/x86/insn_ssse3 (stdout)
none/tests/x86/insn_ssse3 (stderr)
none/tests/x86/ssse3_misaligned (stderr)
helgrind/tests/hg02_deadlock (stderr)
helgrind/tests/hg03_inherit (stderr)
helgrind/tests/hg04_race (stderr)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/rwlock_race (stderr)
helgrind/tests/tc01_simple_race (stderr)
helgrind/tests/tc04_free_lock (stderr)
helgrind/tests/tc05_simple_race (stderr)
helgrind/tests/tc06_two_races (stderr)
helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc14_laog_dinphils (stderr)
helgrind/tests/tc16_byterace (stderr)
helgrind/tests/tc18_semabuse (stderr)
helgrind/tests/tc19_shadowmem (stderr)
helgrind/tests/tc20_verifywrap (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tc22_exit_w_lock (stderr)
exp-ptrcheck/tests/ccc (stderr)
make: *** [regtest] Error 1
|
|
From: Nicholas N. <n.n...@gm...> - 2009-01-20 04:14:16
|
On Tue, Jan 20, 2009 at 2:11 PM, Chris MacGregor <chr...@bo...> wrote: > Hi. I just downloaded and built valgrind 3.4.0 on Ubuntu 7.10 (Gutsy), > using the system default compiler (no configure overrides), which is gcc > 4.2.1-5ubuntu4. The make and make install went fine, but I got a bunch > of errors (and some core dumps) when I ran "make regtest" - see below. > > This is on an x86 in 32-bit mode (uname -a says "Linux cmacgreg > 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux"). > > I assume this is not normal/expected. Any suggestions on what to try > next? (Yes, a later release of Ubuntu and/or gcc would indeed be nice, > but that's not completely under my control.) It is somewhat expected. Even on the best machines, a few tests fail. You've got more failures than is typical, but Valgrind's probably working ok. If you look at the *.diff files, you'll probably see with a lot of them that there are only trivial differences between the expected and actual output. This is something that needs improving. Nick |