Package: valgrind
Version: 1:3.5.0-1
Severity: normal

I updated valgrind this weekend.

valgrind (1%3a3.5.0-1) at least partially ignores --demangle=no option.

The following false positive (I think) from libc prints like this in valgrind 
1%3a3.4.1-1 with --demangle=no:


==24358== Invalid free() / delete / delete[]
==24358==    at 0x4C2261F: _vgrZU_libcZdsoZa_free (vg_replace_malloc.c:323)
==24358==    by 0x514ADEA: (within /lib/libc-2.9.so)
==24358==    by 0x514A981: (within /lib/libc-2.9.so)
==24358==    by 0x4A1E560: _vgnU_freeres (vg_preloaded.c:60)
==24358==    by 0x507E4B4: exit (in /lib/libc-2.9.so)
==24358==    by 0x50665CC: __libc_start_main (in /lib/libc-2.9.so)
==24358==  Address 0x4039178 is not stack'd, malloc'd or (recently) free'd
==24358==
==24358== ---- Print suppression ? --- [Return/N/n/Y/y/C/c] ---- y
{
   <insert a suppression name here>
   Memcheck:Free
   fun:_vgrZU_libcZdsoZa_free
   obj:/lib/libc-2.9.so
   obj:/lib/libc-2.9.so
   fun:_vgnU_freeres
   fun:exit
   fun:__libc_start_main
}

But with 1%3a3.5.0-1 it looks like this:

==24071== Invalid free() / delete / delete[]
==24071==    at 0x4C21DBC: free (vg_replace_malloc.c:325)
==24071==    by 0x5149DEA: ??? (in /lib/libc-2.9.so)
==24071==    by 0x5149981: ??? (in /lib/libc-2.9.so)
==24071==    by 0x4A1E590: _vgnU_freeres (vg_preloaded.c:62)
==24071==    by 0x507D4B4: exit (in /lib/libc-2.9.so)
==24071==    by 0x50655CC: (below main) (in /lib/libc-2.9.so)
==24071==  Address 0x4038cd0 is not stack'd, malloc'd or (recently) free'd
==24071==
==24071==
==24071== ---- Print suppression ? --- [Return/N/n/Y/y/C/c] ---- y
{
   <insert_a_suppression_name_here>
   Memcheck:Free
   fun:free
   obj:/lib/libc-2.9.so
   obj:/lib/libc-2.9.so
   fun:_vgnU_freeres
   fun:exit
   fun:(below main)
}

This also leads to difficulties with suppression files, since the
manual recommends that suppressions should be generated and written
with --demangle=no.



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to de_DE.utf8)
Shell: /bin/sh linked to /bin/bash

Versions of packages valgrind depends on:
ii  libc6                         2.9-25     GNU C Library: Shared libraries

Versions of packages valgrind recommends:
ii  gdb                 6.8.50.20090628-3+b1 The GNU Debugger

Versions of packages valgrind suggests:
pn  alleyoop                      <none>     (no description available)
pn  kcachegrind                   <none>     (no description available)
ii  libc6-dbg                     2.9-25     GNU C Library: detached debugging

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to