[Bug 282713] Process enters in STOP state and doesn't respond to any signal.

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 14 Nov 2024 14:35:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282713

--- Comment #4 from Rupesh Pilania <rupeshpilania@gmail.com> ---
There are around 10 processes which waits in umtxqb. Adding reference for two.

./procstat -kk 3821
  PID    TID COMM                TDNAME              KSTACK
 3821 100260 process1      -                   mi_switch+0xc1
thread_suspend_switch+0xc0 thread_single+0x69c exit1+0xc1 sigexit+0x133
postsig+0x251 kern_sigsuspend+0x2b7 sys_sigsuspend+0x31 amd64_syscall+0x741
fast_syscall_common+0xf8
 3821 100617 process1      -                   mi_switch+0xc1 _sleep+0x1cb
__umtx_op_sem2_wait+0x287 sys__umtx_op+0x7a amd64_syscall+0x741
fast_syscall_common+0xf8
 3821 100633 process1      -                   mi_switch+0xc1 _sleep+0x1cb
__umtx_op_sem2_wait+0x287 sys__umtx_op+0x7a amd64_syscall+0x741
fast_syscall_common+0xf8

./procstat -kk 4065
  PID    TID COMM                TDNAME              KSTACK
 4065 100388 process2                 -                   mi_switch+0xc1
thread_suspend_switch+0xc0 thread_single+0x69c exit1+0xc1 sigexit+0x133
postsig+0x251 kern_sigsuspend+0x2b7 sys_sigsuspend+0x31 amd64_syscall+0x741
fast_syscall_common+0xf8
 4065 100872 process2                 -                   mi_switch+0xc1
_sleep+0x1cb __umtx_op_sem2_wait+0x287 sys__umtx_op+0x7a amd64_syscall+0x741
fast_syscall_common+0xf8
 4065 100876 process2                 -                   mi_switch+0xc1
_sleep+0x1cb __umtx_op_sem2_wait+0x287 sys__umtx_op+0x7a amd64_syscall+0x741
fast_syscall_common+0xf8
 4065 647181 process2                 -                   mi_switch+0xc1
_sleep+0x1cb __umtx_op_sem2_wait+0x287 sys__umtx_op+0x7a amd64_syscall+0x741
fast_syscall_common+0xf8
 4065 648097 process2                 -                   mi_switch+0xc1
_sleep+0x1cb __umtx_op_sem2_wait+0x287 sys__umtx_op+0x7a amd64_syscall+0x741
fast_syscall_common+0xf8
 4065 652349 process2                 -                   mi_switch+0xc1
_sleep+0x1cb __umtx_op_sem2_wait+0x287 sys__umtx_op+0x7a amd64_syscall+0x741
fast_syscall_common+0xf8



./procstat -t 3821
  PID    TID COMM                TDNAME              CPU  PRI STATE   WCHAN
 3821 100260 process1      -                    -1  120 stop    -
 3821 100617 process1      -                    -1  120 stop    umtxqb
 3821 100633 process1      -                    -1  120 stop    umtxqb

./procstat -t 4065
  PID    TID COMM                TDNAME              CPU  PRI STATE   WCHAN
 4065 100388 process2                 -                    -1  120 stop    -
 4065 100872 process2                 -                    -1  122 stop   
umtxqb
 4065 100876 process2                 -                    -1  121 stop   
umtxqb
 4065 647181 process2                 -                    -1  121 stop   
umtxqb
 4065 648097 process2                 -                    -1  122 stop   
umtxqb
 4065 652349 process2                 -                    -1  120 stop   
umtxqb

-- 
You are receiving this mail because:
You are the assignee for the bug.