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

stalld hangs on exit when utilizing the queue_track backend

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-9.8
    • stalld
    • None
    • rhel-kernel-rts-time
    • ssg_core_kernel
    • 13
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • None
    • None
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      The queue_track backend has been observed to experience stalling during an exit.

      How to reproduce:

      1. Start stalld on CPU 0: taskset -c 0 stalld -v -b queue_track
      2. Start an RT, high priority, CPU bound task on CPU 1: taskset -c 1 chrt -f 90 bash -c 'while :; do :; done' &
      3. Kill stalld by either typing CTRL-c or kill $(pgrep stalld) from another terminal.
      4. Observe the stalld process hangs.
      5. Kill the RT process and stalld exists.
      6. This is the stalld process kernel stack trace while it is hanging:

       

      [root@dell-per450-03 test]# cat /proc/$(pgrep stalld)/stack
      [<0>] __wait_rcu_gp+0x116/0x120
      [<0>] synchronize_rcu_tasks_rude+0x4e/0xc0
      [<0>] ftrace_shutdown.part.0+0xd1/0x1c0
      [<0>] unregister_ftrace_function+0x44/0x150
      [<0>] unregister_ftrace_direct_multi+0x46/0x90
      [<0>] bpf_trampoline_update+0x444/0x4e0
      [<0>] bpf_trampoline_unlink_prog+0x7c/0xf0
      [<0>] bpf_tracing_link_release+0x12/0x40
      [<0>] bpf_link_free+0x54/0xd0
      [<0>] bpf_link_release+0x17/0x20
      [<0>] __fput+0x91/0x250
      [<0>] __x64_sys_close+0x38/0x80
      [<0>] do_syscall_64+0x5c/0xe0
      [<0>] entry_SYSCALL_64_after_hwframe+0x76/0x7e
      

       

       

              wandercosta Wander Costa
              wandercosta Wander Costa
              Wander Costa Wander Costa
              Chang Yin Chang Yin
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: