RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 750272 - getservent/endservent: Conditional jump or move depends on uninitialised value(s)
Summary: getservent/endservent: Conditional jump or move depends on uninitialised valu...
Keywords:
Status: CLOSED DUPLICATE of bug 816244
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: valgrind
Version: 6.2
Hardware: s390x
OS: Linux
medium
medium
Target Milestone: rc
: 6.3
Assignee: Jakub Jelinek
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-31 14:38 UTC by Alex Sersen
Modified: 2013-11-01 01:34 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-25 06:08:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 Jiri Popelka 2011-10-31 15:49:47 UTC
bz634539-netstat-c-has-a-memory-leak
is a regression test but I get the same results when running it with
net-tools-1.60-102.el6.s390x.rpm (shipped with RHEL-6.0) and
net-tools-1.60-105.el6.s390x.rpm (shipped with RHEL-6.1),
so it's not a regression in netstat (net-tools).

Either the test was always failing on s390x (and then it's the test what needs to be fixed)
or from the log it seems as a problem with glibc-2.12-1.46.el6.s390x

Steps to Reproduce:
1. valgrind -v --leak-check=full --show-reachable=yes netstat -c
2. wait a few seconds and press ctrl+C

Actual results:
==4350== ERROR SUMMARY: 5 errors from 3 contexts (suppressed: 6 from 6)
==4350== 
==4350== 2 errors in context 1 of 3:
==4350== Conditional jump or move depends on uninitialised value(s)
==4350==    at 0x4A940A9C78: tsearch (in /lib64/libc-2.12.so)
==4350==    by 0x4A940C4087: __nss_lookup_function (in /lib64/libc-2.12.so)
==4350==    by 0x4A940C442F: __nss_lookup (in /lib64/libc-2.12.so)
==4350==    by 0x4A940C5EC5: __nss_endent (in /lib64/libc-2.12.so)
==4350==    by 0x4A940CF7D1: endservent (in /lib64/libc-2.12.so)
==4350==    by 0x8000ED91: read_services (inet.c:403)
==4350==    by 0x8000EF0F: get_sname (inet.c:431)
==4350==    by 0x800057CD: tcp_do_one (netstat.c:1031)
==4350==    by 0x80005EE9: tcp_info (netstat.c:1093)
==4350==    by 0x8000B63B: main (netstat.c:2387)
==4350== 
==4350== 
==4350== 2 errors in context 2 of 3:
==4350== Conditional jump or move depends on uninitialised value(s)
==4350==    at 0x4A940A9C78: tsearch (in /lib64/libc-2.12.so)
==4350==    by 0x4A940C4087: __nss_lookup_function (in /lib64/libc-2.12.so)
==4350==    by 0x4A940C442F: __nss_lookup (in /lib64/libc-2.12.so)
==4350==    by 0x4A940C57C5: __nss_getent_r (in /lib64/libc-2.12.so)
==4350==    by 0x4A940CF6F7: getservent_r@@GLIBC_2.2 (in /lib64/libc-2.12.so)
==4350==    by 0x4A940C56AD: __nss_getent (in /lib64/libc-2.12.so)
==4350==    by 0x4A940CF5E7: getservent (in /lib64/libc-2.12.so)
==4350==    by 0x8000ED73: read_services (inet.c:386)
==4350==    by 0x8000EF0F: get_sname (inet.c:431)
==4350==    by 0x800057CD: tcp_do_one (netstat.c:1031)
==4350==    by 0x80005EE9: tcp_info (netstat.c:1093)
==4350==    by 0x8000B63B: main (netstat.c:2387)

Expected results:
ERROR SUMMARY: 1 errors from 1 contexts

Comment 7 RHEL Program Management 2012-07-10 06:48:57 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 8 RHEL Program Management 2012-07-11 01:54:21 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 9 Jeff Law 2012-07-25 06:08:02 UTC

*** This bug has been marked as a duplicate of bug 816244 ***


Note You need to log in before you can comment on or make changes to this bug.