Version: 3.6.0.SVN (using KDE 4.3.2) Compiler: gcc 4.4.2 gcc version 4.4.2 20091027 (Red Hat 4.4.2-7) (GCC) OS: Linux Installed from: Fedora RPMs The program drd/tests/circular_buffer itself runs fine, but not under Valgrind on Fedora 12: $ svn info .|grep Revision Revision: 10922 $ ./vg-in-place -v --tool=none drd/tests/circular_buffer ==22659== Nulgrind, the minimal Valgrind tool ==22659== Copyright (C) 2002-2009, and GNU GPL'd, by Nicholas Nethercote. ==22659== Using Valgrind-3.6.0.SVN and LibVEX; rerun with -h for copyright info ==22659== Command: drd/tests/circular_buffer ==22659== --22659-- Valgrind options: --22659-- -v --22659-- --tool=none --22659-- Contents of /proc/version: --22659-- Linux version 2.6.31.5-96.fc12.x86_64 (mockbuild@x86-4.fedora.phx.redhat.com) (gcc version 4.4.2 20091018 (Red Hat 4.4.2-4) (GCC) ) #1 SMP Fri Oct 23 19:30:30 EDT 2009 --22659-- Arch and hwcaps: AMD64, amd64-sse3-cx16 --22659-- Page sizes: currently 4096, max supported 4096 --22659-- Valgrind library directory: /home/bart/software/valgrind/./.in_place --22659-- Reading syms from /home/bart/software/valgrind/drd/tests/circular_buffer (0x400000) --22659-- Reading syms from /home/bart/software/valgrind/none/none-amd64-linux (0x38000000) --22659-- object doesn't have a dynamic symbol table --22659-- Reading syms from /lib64/ld-2.10.90.so (0x3149000000) --22659-- Reading syms from /home/bart/software/valgrind/coregrind/vgpreload_core-amd64-linux.so (0x4801000) --22659-- Reading syms from /lib64/libpthread-2.10.90.so (0x314a000000) --22659-- Reading syms from /lib64/libc-2.10.90.so (0x3149400000) --22659-- REDIR: 0xffffffffff600400 (???) redirected to 0x480155c (_vgnU_ifunc_wrapper) ==22659== ==22659== Process terminating with default action of signal 11 (SIGSEGV) ==22659== Bad permissions for mapped region at address 0xFFFFFFFFFF600400 ==22659== at 0xFFFFFFFFFF600400: ??? ==22659== by 0x314949842C: time (in /lib64/libc-2.10.90.so) ==22659== by 0x400F60: main (circular_buffer.c:196) ==22659== ./vg-in-place: line 28: 22659 Segmentation fault (core dumped) VALGRIND_LIB="$vgbasedir/.in_place" VALGRIND_LIB_INNER="$vgbasedir/.in_place" "$vgbasedir/coregrind/valgrind" "$@"
There are more test programs for which the same crash occurs: $ grep '^Process terminating with default action of signal 11' $(find -name '*out') ./drd/tests/circular_buffer.stderr.out:Process terminating with default action of signal 11 (SIGSEGV) ./drd/tests/qt4_rwlock.stderr.out:Process terminating with default action of signal 11 (SIGSEGV) ./drd/tests/sem_open3.stderr.out:Process terminating with default action of signal 11 (SIGSEGV) ./drd/tests/pth_inconsistent_cond_wait.stderr.out:Process terminating with default action of signal 11 (SIGSEGV) ./drd/tests/qt4_semaphore.stderr.out:Process terminating with default action of signal 11 (SIGSEGV) ./drd/tests/sem_open_traced.stderr.out:Process terminating with default action of signal 11 (SIGSEGV) ./drd/tests/qt4_mutex.stderr.out:Process terminating with default action of signal 11 (SIGSEGV) ./drd/tests/trylock.stderr.out:Process terminating with default action of signal 11 (SIGSEGV) ./drd/tests/sem_open2.stderr.out:Process terminating with default action of signal 11 (SIGSEGV) ./drd/tests/sem_open.stderr.out:Process terminating with default action of signal 11 (SIGSEGV) ./none/tests/shell_valid3.stderr.out:Process terminating with default action of signal 11 (SIGSEGV) ./none/tests/empty-exe.stderr.out:Process terminating with default action of signal 11 (SIGSEGV) ./none/tests/syslog.stderr.out:Process terminating with default action of signal 11 (SIGSEGV) ./none/tests/shell_zerolength.stderr.out:Process terminating with default action of signal 11 (SIGSEGV) ./none/tests/res_search.stderr.out:Process terminating with default action of signal 11 (SIGSEGV) ./none/tests/shell_valid1.stderr.out:Process terminating with default action of signal 11 (SIGSEGV) ./none/tests/shell.stderr.out:Process terminating with default action of signal 11 (SIGSEGV) ./none/tests/shell_valid2.stderr.out:Process terminating with default action of signal 11 (SIGSEGV)
Fixed in r10923.