Summary: | sys.file.flock_test.main panics kernel after [r358153, r358170] | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Li-Wen Hsu <lwhsu> | ||||
Component: | tests | Assignee: | freebsd-testing (Nobody) <testing> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | kib | ||||
Priority: | --- | ||||||
Version: | CURRENT | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Li-Wen Hsu
2020-02-20 18:53:50 UTC
test VM image: https://artifact.ci.freebsd.org/snapshot/head/r358170/amd64/amd64/disk-test.img.xz to reproduce: cd /usr/tests/sys/file/ kyua debug flock_test:main kib: can you help check if this has anything to do with r358168? Thanks. show me verbose dmesg of the boot of this instance (In reply to Konstantin Belousov from comment #3) https://gist.github.com/61587eef583bd45d2ccb98d260813111 Is this enough? Created attachment 211781 [details]
Do not call sigfastblock_setpend() while owning mutexes.
Try this please.
(In reply to Konstantin Belousov from comment #5) After applying this patch, sys.file.flock_test.main and other sys.file.* tests pass. A commit references this bug: Author: kib Date: Thu Feb 20 21:25:12 UTC 2020 New revision: 358182 URL: https://svnweb.freebsd.org/changeset/base/358182 Log: Fix a bug in r358168, do not call sigfastblock_setpend() under a mutex. PR: 244250 Reported and tested by: lwhsu Sponsored by: The FreeBSD Foundation Changes: head/sys/kern/subr_trap.c No panics observed so far after r358182. |