tag 548738 + moreinfo

On Mon, Sep 28, 2009 at 04:33:56PM +0200, Friedrich Delgado Friedrichs wrote:
> 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)
> }

I fail to see where the problem is since the sole difference is 'free'
which should be 'free' (it's a C symbol) and not _vgrZU_libcZdsoZa_free
a all.

Are you sure this is a bug?
-- 
·O·  Pierre Habouzit
··O                                                madco...@debian.org
OOO                                                http://www.madism.org



--
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