Package: libc6, valgrind Version: libc6/2.13-2 Severity: normal It seems that with the new libc6 package, we get some more uninitialized values. There seems to be a value uninitialized somewhere (something pointed to by _nl_C_locobj_ptr?), causing dgettext() to produce warnings in valgrind, as seen in the example. $ LC_ALL=de_DE.UTF-8 valgrind gettext -d "libapt-pkg4.10" "Recommends" ==21918== Memcheck, a memory error detector ==21918== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==21918== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==21918== Command: gettext -d libapt-pkg4.10 Recommends ==21918== ==21918== Conditional jump or move depends on uninitialised value(s) ==21918== at 0x4EAD23B: __GI___strcasecmp_l (strcmp.S:243) ==21918== by 0x4E4CE6C: __gconv_open (gconv_open.c:70) ==21918== by 0x4E59EC6: _nl_find_msg (dcigettext.c:990) ==21918== by 0x4E5A683: __dcigettext (dcigettext.c:654) ==21918== by 0x401D05: ??? (in /usr/bin/gettext) ==21918== by 0x4E4BEEC: (below main) (libc-start.c:228) ==21918== ==21918== Use of uninitialised value of size 8 ==21918== at 0x4EAF374: __GI___strcasecmp_l (strcmp.S:2257) ==21918== by 0x4E4CE6C: __gconv_open (gconv_open.c:70) ==21918== by 0x4E59EC6: _nl_find_msg (dcigettext.c:990) ==21918== by 0x4E5A683: __dcigettext (dcigettext.c:654) ==21918== by 0x401D05: ??? (in /usr/bin/gettext) ==21918== by 0x4E4BEEC: (below main) (libc-start.c:228) ==21918== ==21918== Use of uninitialised value of size 8 ==21918== at 0x4EAF378: __GI___strcasecmp_l (strcmp.S:2258) ==21918== by 0x4E4CE6C: __gconv_open (gconv_open.c:70) ==21918== by 0x4E59EC6: _nl_find_msg (dcigettext.c:990) ==21918== by 0x4E5A683: __dcigettext (dcigettext.c:654) ==21918== by 0x401D05: ??? (in /usr/bin/gettext) ==21918== by 0x4E4BEEC: (below main) (libc-start.c:228) ==21918== Empfiehlt==21918== ==21918== HEAP SUMMARY: ==21918== in use at exit: 0 bytes in 0 blocks ==21918== total heap usage: 72 allocs, 72 frees, 11,090 bytes allocated ==21918== ==21918== All heap blocks were freed -- no leaks are possible ==21918== ==21918== For counts of detected and suppressed errors, rerun with: -v ==21918== Use --track-origins=yes to see where uninitialised values come from ==21918== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 4 from 4) -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (250, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.38-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libc6 depends on: ii libc-bin 2.13-2 Embedded GNU C Library: Binaries ii libgcc1 1:4.6.0-7 GCC support library libc6 recommends no packages. Versions of packages libc6 suggests: ii debconf [debconf-2.0] 1.5.39 Debian configuration management sy pn glibc-doc <none> (no description available) ii locales 2.13-2 Embedded GNU C Library: National L -- debconf information excluded -- Julian Andres Klode - Debian Developer, Ubuntu Member See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
Attachment:
pgpyB9OjUvLiS.pgp
Description: PGP signature