Package: valgrind
Version: 1:3.11.0-1
Severity: important

When I run valgrind against anything, I see warnings like this:

$ valgrind -q /bin/echo
--14923-- WARNING: Serious error when reading debug info
--14923-- When reading debug info from /lib/x86_64-linux-gnu/ld-2.21.so:
--14923-- Ignoring non-Dwarf2/3/4 block in .debug_info
--14923-- WARNING: Serious error when reading debug info
--14923-- When reading debug info from /lib/x86_64-linux-gnu/ld-2.21.so:
--14923-- Last block truncated in .debug_info; ignoring
--14923-- WARNING: Serious error when reading debug info
--14923-- When reading debug info from /lib/x86_64-linux-gnu/ld-2.21.so:
--14923-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4
--14923-- WARNING: Serious error when reading debug info
--14923-- When reading debug info from /lib/x86_64-linux-gnu/libc-2.21.so:
--14923-- Ignoring non-Dwarf2/3/4 block in .debug_info
--14923-- WARNING: Serious error when reading debug info
--14923-- When reading debug info from /lib/x86_64-linux-gnu/libc-2.21.so:
--14923-- Last block truncated in .debug_info; ignoring
--14923-- WARNING: Serious error when reading debug info
--14923-- When reading debug info from /lib/x86_64-linux-gnu/libc-2.21.so:
--14923-- parse_CU_Header: is neither DWARF2 nor DWARF3 nor DWARF4

This might not actually be a valgrind bug...

  $ dwarfdump -i 
/usr/lib/debug/.build-id/1c/3104f034cf1caf07cdc1c4a5f342610146ebe5.debug

  .debug_info
  dwarfdump ERROR:  attempting to print .debug_info:  DW_DLE_CU_LENGTH_ERROR 
(47) (47)
  attempting to continue.

  $ dpkg -S 
/usr/lib/debug/.build-id/1c/3104f034cf1caf07cdc1c4a5f342610146ebe5.debug
  libc6-dbg:amd64: 
/usr/lib/debug/.build-id/1c/3104f034cf1caf07cdc1c4a5f342610146ebe5.debug

So it might be a libc6 bug.

However, I'm only seeing it causes problems in valgrind so, I guess,
this seems a good place to start...  :-)

Thanks...

peace & happiness,
martin

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'stable'), (300, 
'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages valgrind depends on:
ii  libc6      2.21-6
ii  libc6-dbg  2.21-6

Versions of packages valgrind recommends:
ii  gdb           7.10-1
pn  valgrind-dbg  <none>

Versions of packages valgrind suggests:
pn  alleyoop      <none>
pn  kcachegrind   <none>
pn  valgrind-mpi  <none>
pn  valkyrie      <none>

-- no debconf information

peace & happiness,
martin

Reply via email to