Re: kernel diagnostic assertion "p->p_kq->kq_refcnt.r_refs == 1" failed

2024-06-27 Thread Kirill A . Korinsky
On Thu, 27 Jun 2024 11:47:25 +0100, Claudio Jeker wrote: > > The ptrace code is somewhat borken. We are inside sleep_finish() but > cursig() calls single_thread_set() without SINGLE_DEEP. Because of this > exit1() is called in a place it is not allowed to. > > ptrace and SIGSTOP handling is not

Re: kernel diagnostic assertion "p->p_kq->kq_refcnt.r_refs == 1" failed

2024-06-27 Thread Claudio Jeker
On Thu, Jun 27, 2024 at 11:24:39AM +0100, kir...@korins.ky wrote: > >Synopsis: > >Category: > >Environment: > System : OpenBSD 7.5 > Details : OpenBSD 7.5-current (GENERIC.MP) #151: Wed Jun 26 > 01:12:37 MDT 202 > > dera...@amd64.openbsd.org:/us

Re: kernel diagnostic assertion "p->p_kq->kq_refcnt.r_refs == 1" failed

2024-06-27 Thread Martin Pieuchot
Thanks, On 27/06/24(Thu) 11:24, kir...@korins.ky wrote: > [...] > > panic: kernel diagnostic assertion "p->p_kq->kq_refcnt.r_refs == 1" failed: > file "/usr/src/sys/kern/kern_event.c", line 894 > Stopped at db_enter+0x14: movq%rbp > TID PID UID PRFLAGSPFLAGS