Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-1190

Add suppression for valgrind strcmp warning for ppc64le

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Normal Normal
    • None
    • rhel-9.3.0
    • valgrind
    • None
    • None
    • sst_pt_perf_debug
    • ssg_platform_tools
    • 2
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:
      During testing of PCP a possible glibc bug has been discovered. PCP is using valgrind for some tests. One of these tests failed with the following valgrind log:

      > Conditional jump or move depends on uninitialised value(s)
      > at 0x4040410: strcmp (strcmp.S:76)
      > by 0x4017E1B: check_match (dl-lookup.c:88)
      > by 0x4017E1B: do_lookup_x (dl-lookup.c:447)
      > by 0x4BC707B: do_dlsym (in /usr/lib64/libc.so.6)
      > by 0x4BC6B97: _dl_catch_exception (in /usr/lib64/libc.so.6)
      > by 0x4BC6CA7: _dl_catch_error (in /usr/lib64/libc.so.6)
      > by 0x4030D87: _rtld_catch_error (dl-error-skeleton.c:260)
      > by 0x4BC7367: __libc_dlsym (in /usr/lib64/libc.so.6)
      > by 0x4B9C09F: module_load (in /usr/lib64/libc.so.6)
      > by 0x4B9C853: __nss_module_get_function (in /usr/lib64/libc.so.6)
      > by 0x4B9934F: __nss_lookup (in /usr/lib64/libc.so.6)
      > by 0x4B9AFB7: __nss_passwd_lookup2 (in /usr/lib64/libc.so.6)
      > by 0x4B12F5B: getpwuid_r@@GLIBC_2.17 (in /usr/lib64/libc.so.6)
      >

      { > <insert_a_suppression_name_here> > Memcheck:Cond > fun:strcmp > fun:check_match > fun:do_lookup_x > fun:do_dlsym > fun:_dl_catch_exception > fun:_dl_catch_error > fun:_rtld_catch_error > fun:__libc_dlsym > fun:module_load > fun:__nss_module_get_function > fun:__nss_lookup > fun:__nss_passwd_lookup2 > fun:getpwuid_r@@GLIBC_2.17 > }

      Version-Release number of selected component (if applicable):
      RHEL compose: RHEL-9.3.0-20230726.0
      glibc: glibc-2.34-72.el9
      valgrind: valgrind-3.21.0-7.el9
      pcp: pcp-6.0.5-2.el9

      How reproducible:
      Seen on aarch64 and ppc64le architectures only.
      I do not know how to directly reproduce this.
      This issue appeared during automated testing of PCP and I was not successful to reproduce it manually.

      Steps to Reproduce:
      1. Unknown

      Actual results:
      A valdrind reports an issue in glibc.

      Expected results:
      No valgrind issues are reported.

      Additional info:

            rhn-engineering-mjw Mark Wielaard
            jkurik@redhat.com Jan Kurik
            Mark Wielaard Mark Wielaard
            qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: