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

[10.0-beta] rpcbind has definitely memory lost found by valgrind

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.0.beta
    • rpcbind
    • None
    • rhel-sst-filesystems
    • ssg_filesystems_storage_and_HA
    • 8
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      The valgrind checking with rpcbind shows some leak.

      P.s. this is not only for rhel10 as rhel9 also has but it's a bit different.

      Please provide the package NVR for which bug is seen:

      rpcbind-1.2.6-4.rc2.el10.4.x86_64

      How reproducible:

      always

      Steps to reproduce

      1.  Start rpcbind via vailgrind and then check the log
      2.  
      3.  

      Expected results

      No memory leak

      Actual results

      [root@kvm-02-guest27 ~]# rpm -q rpcbind
      rpcbind-1.2.6-4.rc2.el10.4.x86_64
      [root@kvm-02-guest27 ~]#
      [root@kvm-02-guest27 ~]# ps aux | grep -v grep | grep rpcbind
      rpc         2323  0.0  0.1  12268  4944 ?        Ss   09:52   0:00 /usr/bin/rpcbind -w -f
      [root@kvm-02-guest27 ~]# systemctl stop rpcbind
      Stopping 'rpcbind.service', but its triggering units are still active:
      rpcbind.socket
      [root@kvm-02-guest27 ~]# systemctl stop rpcbind.socket
      [root@kvm-02-guest27 ~]# ps aux | grep -v grep | grep rpcbind
      [root@kvm-02-guest27 ~]# valgrind --log-file=valgrind.out --trace-children=yes --leak-check=full --track-origins=yes -v --show-reachable=yes rpcbind -w
      [root@kvm-02-guest27 ~]# ps aux | grep -v grep | grep rpcbind
      rpc        36349 30.8  3.9 203072 159144 ?       Ss   23:14   0:01 valgrind --log-file=valgrind.out --trace-children=yes --leak-check=full --track-origins=yes -v --show-reachable=yes rpcbind -w
      [root@kvm-02-guest27 ~]# tail valgrind.out
      ==36348== LEAK SUMMARY:
      ==36348==    definitely lost: 247 bytes in 6 blocks
      ==36348==    indirectly lost: 1,000 bytes in 1 blocks
      ==36348==      possibly lost: 0 bytes in 0 blocks
      ==36348==    still reachable: 55,487 bytes in 147 blocks
      ==36348==         suppressed: 0 bytes in 0 blocks
      ==36348==
      ==36348== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
      --36349-- REDIR: 0x4adc880 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x484e730 (memset)
      --36349-- REDIR: 0x4adbe40 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x484f5c0 (mempcpy)
      [root@kvm-02-guest27 ~]#
      
      

              stevedatrhn Steve Dickson
              rhn-support-yoyang Yongcheng Yang
              Steve Dickson Steve Dickson
              Yongcheng Yang Yongcheng Yang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: