| Summary: | valgrind reports uninitialised values while running "ls -l" | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Branislav Náter <bnater> |
| Component: | coreutils | Assignee: | Ondrej Vasik <ovasik> |
| Status: | CLOSED NOTABUG | QA Contact: | qe-baseos-daemons |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1 | CC: | meyering, prc |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-03-24 20:14:35 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Branislav Náter
2011-03-24 16:52:54 UTC
Trace with enabled debuginfo - these uninitialized value(s) reports are only on x86_64 arch. ==17674== Conditional jump or move depends on uninitialised value(s) ==17674== at 0x3C7A285900: __GI___strcasecmp_l (strcmp.S:1998) ==17674== by 0x3C7A21FE24: __gconv_open (gconv_open.c:70) ==17674== by 0x3C7A22D3B7: _nl_find_msg (dcigettext.c:974) ==17674== by 0x3C7A22DB83: __dcigettext (dcigettext.c:640) ==17674== by 0x409CA3: main (ls.c:2063) ==17674== Uninitialised value was created by a stack allocation ==17674== at 0x3C7A21FD8F: __gconv_open (gconv_open.c:65) ==17674== ==17674== Use of uninitialised value of size 8 ==17674== at 0x3C7A285D24: __GI___strcasecmp_l (strcmp.S:2257) ==17674== by 0x3C7A21FE24: __gconv_open (gconv_open.c:70) ==17674== by 0x3C7A22D3B7: _nl_find_msg (dcigettext.c:974) ==17674== by 0x3C7A22DB83: __dcigettext (dcigettext.c:640) ==17674== by 0x409CA3: main (ls.c:2063) ==17674== Uninitialised value was created by a stack allocation ==17674== at 0x3C7A21FD8F: __gconv_open (gconv_open.c:65) ==17674== ==17674== Use of uninitialised value of size 8 ==17674== at 0x3C7A285D28: __GI___strcasecmp_l (strcmp.S:2258) ==17674== by 0x3C7A21FE24: __gconv_open (gconv_open.c:70) ==17674== by 0x3C7A22D3B7: _nl_find_msg (dcigettext.c:974) ==17674== by 0x3C7A22DB83: __dcigettext (dcigettext.c:640) ==17674== by 0x409CA3: main (ls.c:2063) ==17674== Uninitialised value was created by a stack allocation ==17674== at 0x3C7A21FD8F: __gconv_open (gconv_open.c:65) ==17674== So - the problematic line is char const *locale_format = dcgettext (NULL, long_time_format[i], LC_TIME); long_time_format array is global variable and is defined ... LC_TIME is checked above ... I think this is false positive caused by glibc optimalizations ... could be probably added to valgrind suppressions - if you are worried about this output. |