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

stalld hangs on startup 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
    • No
    • Moderate
    • 1
    • rhel-kernel-rts-time
    • ssg_core_kernel
    • 13
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • CK Parent Issues In Progress
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      The queue_track backend has been observed to experience stalling during a startup.

      How to reproduce:

      1. Start an RT, high priority, CPU bound task on CPU 1: taskset -c 1 chrt -f 90 bash -c 'while :; do :; done' &
      2. Start a normal CPU bound task on CPU 1: taskset -c 1 bash -c 'while :; do :; done' &
      3. Start stalld on CPU 0: taskset -c 0 stalld -v -b queue_track
      4. Observe the stalld process hangs.
      5. Kill the RT process and stalld starts.

      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+0x4e/0xc0
      [<0>] register_ftrace_direct_multi+0x183/0x260
      [<0>] bpf_trampoline_update+0x33b/0x4e0
      [<0>] __bpf_trampoline_link_prog+0xcc/0x1b0
      [<0>] bpf_trampoline_link_prog+0x27/0x40
      [<0>] bpf_tracing_prog_attach+0x312/0x500
      [<0>] link_create+0x19f/0x280
      [<0>] __sys_bpf+0x8d2/0xea0
      [<0>] __x64_sys_bpf+0x1a/0x30
      [<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:
              6 Start watching this issue

                Created:
                Updated: