Re: git: a5d1a0c9bfcc - main - kern: RACCT: Keep process credentials alive via references
Date: Thu, 06 Nov 2025 14:48:15 UTC
In message <E21CD44D-00A9-4481-B729-D4E06A1F1475@freebsd.org>, Philip Paeps wri tes: > On 2025-11-06 12:06:58 (+0800), Olivier Certner wrote: > > The branch main has been updated by olce: > > > > URL: https://cgit.FreeBSD.org/src/commit/?id=3Da5d1a0c9bfcca38528b861c5= > afb51ea9b1696b65 > > > > commit a5d1a0c9bfcca38528b861c5afb51ea9b1696b65 > > Author: Olivier Certner <olce@FreeBSD.org> > > AuthorDate: 2025-11-03 18:21:08 +0000 > > Commit: Olivier Certner <olce@FreeBSD.org> > > CommitDate: 2025-11-06 04:06:41 +0000 > > > > kern: RACCT: Keep process credentials alive via references > > > > [...] > > > > No functional change intended. > > This panics on boot: > > panic: _proc_set_cred: ref 2 not 1 on cred 0xfffff80003708a80 > cpuid =3D 15 > time =3D 1762421052 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00ff1= > 21bb0 > vpanic() at vpanic+0x136/frame 0xfffffe00ff121ce0 > panic() at panic+0x43/frame 0xfffffe00ff121d40 > _proc_set_cred() at _proc_set_cred+0x1bd/frame 0xfffffe00ff121d80 > proc_set_cred() at proc_set_cred+0xb/frame 0xfffffe00ff121d90 > sys_setloginclass() at sys_setloginclass+0xc0/frame 0xfffffe00ff121e00 > amd64_syscall() at amd64_syscall+0x169/frame 0xfffffe00ff121f30 > fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00ff121f3= > 0 > --- syscall (524, FreeBSD ELF64, setloginclass), rip =3D 0x29624a, rsp =3D= > 0x8206e2108, rbp =3D 0x8206e2160 --- > KDB: enter: panic > [ thread pid 18 tid 100484 ] > Stopped at kdb_enter+0x33: movq $0,0x12182d2(%rip) > > main-n281725-744c8d554453 boots fine. > main-n281726-a5d1a0c9bfcc panics. To add a data point, only my machines with INVARIANTS does it panic. > > Philip > -- Cheers, Cy Schubert <Cy.Schubert@cschubert.com> FreeBSD UNIX: <cy@FreeBSD.org> Web: https://FreeBSD.org NTP: <cy@nwtime.org> Web: https://nwtime.org e**(i*pi)+1=0