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

autofs: segfault while cleaning up state from thread-local variables

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.2.0.z
    • autofs
    • None
    • No
    • None
    • rhel-sst-filesystems
    • ssg_filesystems_storage_and_HA
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

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

      automount is crashing while cleaning up state from thread-local variables after unmounting.

      #0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
      #1  0x00007f13cd0a15b3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
      #2  0x00007f13cd054d46 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
      #3  0x00007f13cd0287f3 in __GI_abort () at abort.c:79
      #4  0x00007f13cd029130 in __libc_message (fmt=fmt@entry=0x7f13cd1bb6a8 "%s\n") at ../sysdeps/posix/libc_fatal.c:150
      #5  0x00007f13cd0ab617 in malloc_printerr (str=str@entry=0x7f13cd1b91e7 "free(): invalid pointer") at malloc.c:5515
      #6  0x00007f13cd0acecc in _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:4306
      #7  0x00007f13cd0af955 in __GI___libc_free (mem=<optimized out>) at malloc.c:3258
      #8  0x00007f13cd0afa42 in tcache_thread_shutdown () at malloc.c:3094
      #9  __malloc_arena_thread_freeres () at /usr/src/debug/glibc-2.34-60.el9_2.14.x86_64/malloc/arena.c:945
      #10 0x00007f13cd0b197a in __libc_thread_freeres () at thread-freeres.c:44
      #11 0x00007f13cd09f6db in start_thread (arg=<optimized out>) at pthread_create.c:457
      #12 0x00007f13cd03f450 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
      

      Several different malloc errors have been seen:

      malloc_printerr ("double free or corruption (fasttop)");
      malloc_printerr ("tcache_thread_shutdown(): unaligned tcache chunk detected")
      malloc_printerr ("free(): invalid pointer") 

      Please provide the package NVR for which bug is seen:

      autofs-5.1.7-36.el9.x86_64

      How reproducible:

      occurring frequently on customer systems

      Steps to reproduce

      unknown

      Expected results

      no segfault

      Actual results

      segfaults

        1. 2024-07-19_rfbur42807.tar.xz
          22.53 MB
          Frank Sorenson
        2. 2024-08-02_rfbur43305.tar.xz
          24.81 MB
          Frank Sorenson
        3. 2024-08-06_rfla320131.tar.xz
          26.08 MB
          Frank Sorenson

              ikent@redhat.com Ian Kent
              rhn-support-fsorenso Frank Sorenson
              Ian Kent Ian Kent
              Kun Wang Kun Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: