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

libautohbw allocations of size zero

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • rhel-8.10
    • rhel-8.8.0.z
    • memkind
    • None
    • memkind-1.10.1-3.el8
    • None
    • None
    • 1
    • rhel-kernel-ft
    • ssg_core_kernel
    • 18
    • 27
    • 10
    • QE ack, Dev ack
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • CK-8.10.0
    • None
    • None
    • All
    • None

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

      Run programs with LD_PRELOAD=libautohbw.so.0

      Please provide the package NVR for which bug is seen:

      memkind-1.10.1-1.el8.x86_64

      How reproducible:

      always

      Steps to reproduce

      # LD_PRELOAD=libautohbw.so.0 AUTO_HBW_SIZE=10T AUTO_HBW_LOG=-2 MEMKIND_HBW_NODES=0 MEMKIND_HEAP_MANAGER=JEMALLOC dnf module list
      

      Expected results

      list of modules printed on screen

      Actual results

      terminate called after throwing an instance of 'Regex::LibraryException'
        what():  Memory exhausted
      Aborted (core dumped)
      

      Additional info

      This issue was reported upstream as
      https://github.com/memkind/memkind/issues/853

      Specifically libautohbw was fixed with https://github.com/memkind/memkind/pull/858

      But it is possible that part of the fix for libmemtier will also need to be backported, I haven't looked at the code though: https://github.com/memkind/memkind/pull/856

        1. memkind.log.gz
          93 kB
          Aleksandar Kostadinov

              raquini@redhat.com Rafael Aquini
              akostadi1@redhat.com Aleksandar Kostadinov
              Rafael Aquini Rafael Aquini (Inactive)
              Ping Fang Ping Fang
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: