Bug 235151 - panic: g_resize_provider_event but withered (on r343254)
Summary: panic: g_resize_provider_event but withered (on r343254)
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-geom mailing list
URL:
Keywords: panic
Depends on:
Blocks:
 
Reported: 2019-01-23 12:13 UTC by Andriy Voskoboinyk
Modified: 2019-02-21 23:57 UTC (History)
1 user (show)

See Also:


Attachments
Panic backtrace (6.77 KB, text/plain)
2019-01-23 12:13 UTC, Andriy Voskoboinyk
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andriy Voskoboinyk freebsd_committer 2019-01-23 12:13:33 UTC
Created attachment 201355 [details]
Panic backtrace

The reason of this panic is the same as for bug #235081 : unstable smartphone USB cable connection.
Comment 1 Conrad Meyer freebsd_committer 2019-01-23 16:14:44 UTC
The assertion is simply bogus.  There is no coordination that ensures the check in g_resize_provider() is still valid in g_resize_provider_event().  I think this should probably just be a if () -> return case.
Comment 2 Conrad Meyer freebsd_committer 2019-01-23 16:16:26 UTC
I expect the similar assertion in g_new_provider_event() is similarly bogus.