Package: valgrind
Version: 1:3.2.0-2
Severity: important

$ cat test.c++
main(){}
$ g++ --version
g++ (GCC) 4.1.2 20060920 (prerelease) (Debian 4.1.1-14)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

$ g++ test.c++
$ valgrind --tool=none ./a.out
==30834== Nulgrind, a binary JIT-compiler.
==30834== Copyright (C) 2002-2006, and GNU GPL'd, by Nicholas Nethercote.
==30834== Using LibVEX rev 1606, a library for dynamic binary translation.
==30834== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==30834== Using valgrind-3.2.0-Debian, a dynamic binary instrumentation 
framework.
==30834== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==30834== 
--30834-- Command line
--30834--    ./a.out
--30834-- Startup, with flags:
--30834--    -v
--30834--    --tool=none
--30834-- Contents of /proc/version:
--30834--   Linux version 2.6.17-2-amd64 (Debian 2.6.17-9) ([EMAIL PROTECTED]) 
(gcc version 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)) #1 SMP Wed Sep 13 
17:49:33 CEST 2006
--30834-- Arch and hwcaps: AMD64, amd64-sse2
--30834-- Valgrind library directory: /usr/lib/valgrind
--30834-- Reading syms from /home/helmut/darcs/string/a.out (0x400000)
--30834-- warning: DiCfSI 0x286100E00400509 .. 0x286100E0040050B outside 
segment 0x400000 .. 0x400FFF
--30834-- Reading syms from /lib/ld-2.3.6.so (0x4000000)
--30834-- Reading debug info from /lib/ld-2.3.6.so...
--30834-- ... CRC mismatch (computed 3777F8F4 wanted 4E780ECE)
--30834--    object doesn't have a symbol table
--30834-- Reading syms from /usr/lib/valgrind/amd64-linux/none (0x38000000)
--30834--    object doesn't have a dynamic symbol table
--30834-- Reading syms from /usr/lib/valgrind/amd64-linux/vgpreload_core.so 
(0x4918000)
--30834-- Reading syms from /usr/lib/libstdc++.so.6.0.8 (0x4A19000)
--30834--    object doesn't have a symbol table
--30834-- DWARF2 CFI reader: unhandled CFI instruction 0:24
--30834-- DWARF2 CFI reader: unhandled CFI instruction 0:24
--30834-- DWARF2 CFI reader: unhandled CFI instruction 0:24
--30834-- warning: DiCfSI 0xE44100EFFF836FB .. 0xE44100EFFF8372A outside 
segment 0x4A19000 .. 0x4C18FFF
--30834-- DWARF2 CFI reader: unhandled CFI instruction 0:24
--30834-- DWARF2 CFI reader: unhandled CFI instruction 0:24
--30834-- warning: DiCfSI 0x8F01900EFFF83E37 .. 0x8F01900EFFF83EC4 outside 
segment 0x4A19000 .. 0x4C18FFF
--30834-- DWARF2 CFI reader: unhandled CFI instruction 0:24
[line is repeated 32 times]

valgrind: m_debuginfo/storage.c:311 (vgModuleLocal_addDiCfSI): Assertion 
'cfsi->len > 0 && cfsi->len < 2000000' failed.
==30834==    at 0x3803F38E: report_and_quit (m_libcassert.c:136)
==30834==    by 0x3803F6F1: vgPlain_assert_fail (m_libcassert.c:200)
==30834==    by 0x380442CC: vgModuleLocal_addDiCfSI (storage.c:311)
==30834==    by 0x3804DD20: run_CF_instructions (readdwarf.c:2338)
==30834==    by 0x3804E63A: vgModuleLocal_read_callframe_info_dwarf2 
(readdwarf.c:2699)
==30834==    by 0x380467E7: vgModuleLocal_read_elf_debug_info (readelf.c:1206)
==30834==    by 0x3801952C: vgPlain_di_notify_mmap (debuginfo.c:177)
==30834==    by 0x38028145: vgModuleLocal_generic_PRE_sys_mmap 
(syswrap-generic.c:1874)
==30834==    by 0x38038515: vgSysWrap_amd64_linux_sys_mmap_before 
(syswrap-amd64-linux.c:944)
==30834==    by 0x3802C713: vgPlain_client_syscall (syswrap-main.c:719)
==30834==    by 0x3801BA3F: vgPlain_scheduler (scheduler.c:721)
==30834==    by 0x380358A9: run_a_thread_NORETURN (syswrap-linux.c:87)

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable
==30834==    at 0x401073C: (within /lib/ld-2.3.6.so)
==30834==    by 0x400505C: (within /lib/ld-2.3.6.so)
==30834==    by 0x4006D6C: (within /lib/ld-2.3.6.so)
==30834==    by 0x4009EFC: (within /lib/ld-2.3.6.so)
==30834==    by 0x400B7E0: (within /lib/ld-2.3.6.so)
==30834==    by 0x400A5D3: (within /lib/ld-2.3.6.so)
==30834==    by 0x40028FB: (within /lib/ld-2.3.6.so)
==30834==    by 0x400F7EF: (within /lib/ld-2.3.6.so)
==30834==    by 0x400127C: (within /lib/ld-2.3.6.so)
==30834==    by 0x4000A87: (within /lib/ld-2.3.6.so)


Note: see also the FAQ.txt in the source distribution.
It contains workarounds to several common problems.

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 Linux distro you are using.  Thanks.

$

I hope that this is enough information.

Helmut Grohne

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-amd64
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages valgrind depends on:
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries

Versions of packages valgrind recommends:
ii  gdb                        6.4.90.dfsg-1 The GNU Debugger

Other information that might be usefull:
ii  g++                      4.1.1-7                  The GNU C++ compiler
-- no debconf information

Attachment: signature.asc
Description: Digital signature

Reply via email to