Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 2014 00:58:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-scsi@FreeBSD.org
Subject:   [Bug 193696] CAM AC_FOUND_DEVICE calls malloc(M_WAITOK) from THREAD_NO_SLEEPING() context
Message-ID:  <bug-193696-5312-BJOqo3w3rH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193696-5312@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193696-5312@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193696

--- Comment #6 from Bryan Drewery <bdrewery@FreeBSD.org> ---
Trace from xpt_done_td from pulling a device out of the system:

KASSERT failed: malloc(M_WAITOK) in no_sleeping context
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe349829a340
kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe349829a3f0
_kassert_panic() at _kassert_panic+0xd7/frame 0xfffffe349829a470
malloc() at malloc+0x2e4/frame 0xfffffe349829a4c0
g_post_event_x() at g_post_event_x+0x84/frame 0xfffffe349829a510
g_post_event() at g_post_event+0x5d/frame 0xfffffe349829a580
adacleanup() at adacleanup+0x62/frame 0xfffffe349829a5a0
cam_periph_release_locked_buses() at cam_periph_release_locked_buses+0xde/frame
0xfffffe349829aaa0
cam_periph_release_locked() at cam_periph_release_locked+0x1b/frame
0xfffffe349829aac0
adadone() at adadone+0x26e/frame 0xfffffe349829ab20
xpt_done_process() at xpt_done_process+0x3a4/frame 0xfffffe349829ab60
xpt_done_td() at xpt_done_td+0x136/frame 0xfffffe349829abb0
fork_exit() at fork_exit+0x84/frame 0xfffffe349829abf0
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe349829abf0

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193696-5312-BJOqo3w3rH>