https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277499

Warner Losh <i...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |i...@freebsd.org

--- Comment #1 from Warner Losh <i...@freebsd.org> ---
This looks like an old bug that I killed 3 or 4 years ago.

The root cause is that we're leaking a reference, so the periph is torn down
with outstanding devices.

       if ((ccb_h->func_code & XPT_FC_USER_CCB) == 0) {
                struct cam_ed *dev = ccb_h->path->device;

                if (sim)
                        devq = sim->devq;
                KASSERT(devq, ("Periph disappeared with CCB %p %s request
pending.",
                        ccb_h, xpt_action_name(ccb_h->func_code)));

                mtx_lock(&devq->send_mtx);

devq is NULL here, according to the traceback...

The hard part is figuring out how this came to be.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to