[Bug 273418] [panic] Repeating kernel panic on open(/dev/console)
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 273418] [panic] Repeating kernel panic on open(/dev/console)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Aug 2023 13:33:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273418 --- Comment #5 from Mateusz Guzik <mjg@FreeBSD.org> --- So cdp is backed by dev, but freeing dev is decoupled from unlinking it from the global cdp list and it may be some of the frees happen when they should not. There is very funky refcount scheme in there which pins cdp in a way which does not pin dev(???). That said I would start with adding a bool to dev indicating that cdp is hanging out on the list (or not). Then assert it is not when freeing. -- You are receiving this mail because: You are the assignee for the bug.