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
ith -j4 and during that time attach and > deattach gdb and egdb to running emacs. Nothing else on the machine > at this time. At some point X11 crashed and I seend ddb stackstrace > (text is OCR, may contains typos): > > panic: kernel diagnostic as

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

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

2024-06-27 Thread kirill
his time. At some point X11 crashed and I seend ddb stackstrace (text is OCR, may contains typos): panic: kernel diagnostic assertion "p->p_kq->kq_refcnt.r_refs == 1" failed: file "/usr/src/sys/kern/kern_event.c", line 894 Stoppe