#15211: KDL in MultiLocker::ReadLock()
-----------------------------+----------------------------
Reporter: 3dEyes | Owner: waddlesplash
Type: bug | Status: assigned
Priority: normal | Milestone: Unscheduled
Component: System/Kernel | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
-----------------------------+----------------------------
Changes (by waddlesplash):
* cc: mmlr, korli (added)
* component: - General => System/Kernel
Comment:
[https://xref.plausible.coop/source/xref/haiku/src/system/kernel/thread.cpp#3700
_user_block_thread] only hits one mutex -- the thread's. So I'm not sure
how this is somehow turning into a GPE; the thread mutex should obviously
not be destroyed or otherwise altered while the thread is alive. (And
since this is in unlock, the mutex lock obviously did not cause a
problem.)
The "isr_array (nearest)" seems suspicious. That's presumably
[https://xref.plausible.coop/source/xref/haiku/src/system/kernel/arch/x86/64/descriptors.cpp#152
here]. Are we running past the end of it or something?
CC korli and mmlr: do either of you have an idea as to what might be
occurring here? This is a little over my head, still.
--
Ticket URL: <https://dev.haiku-os.org/ticket/15211#comment:4>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.