[Bug 207085] pmc assertion failure: pmc %p non-NULL

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 12 10:33:15 UTC 2016


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

Konstantin Belousov <kib at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib at FreeBSD.org

--- Comment #1 from Konstantin Belousov <kib at FreeBSD.org> ---
(In reply to joss.upton from comment #0)
So the question is how could pc_corepmcs[idx].phw_pmc become non-NULL
legitimately there ? Context switch hooks should manage cpu slots, so I see at
least two possibilities:

- cpu != curcpu and something else context-switched on cpu which brought its
process-private pcms

- global pcm was activated which took the slot.  In fact, this is unlikely
since sx lock is still owned.

Could you look what pcm was in the slot for fired assert, and who is the owner
of it ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list