[Bug 256712] UFS: kernel panic: ffs_blkfree_cg: freeing free frag – in response to pkg-delete(8) soon after login

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 21 Jun 2021 09:24:08 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256712

--- Comment #12 from Gary Jennejohn <gljennjohn_at_gmail.com> ---
(In reply to Graham Perrin from comment #11)
This reminds me of a kernel panic which I saw and reported on.
I was asked to add INVARIANTS and DEBUG=-O0 to my kernel config file to get
better backtraces.  Since I already had makeoptions DEBUG=-g, I actually added
makeoptions DEBUG+=-O0 to get both -g and -O0 in the compiler flags.
As one can see in your backtrace, parts of the kernel were optimized out.  The
-O0 assures that no optimization is done.
That will produce better backtrace.
For INVARIANTS I added options INVARIANTS and options INVARIANT_SUPPORT.
So, if you can easily reproduce the panic I recommend adding these to your
kernel config file and then rerunning your test.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Mon Jun 21 2021 - 09:24:08 UTC

Original text of this message