[Bug 200992] proccess won't die in thread_suspend_switch

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jun 21 05:10:26 UTC 2015


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

Konstantin Belousov <kib at FreeBSD.org> changed:

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

--- Comment #2 from Konstantin Belousov <kib at FreeBSD.org> ---
(In reply to Steve Wills from comment #0)
This might be a callout issue.

Find the address of the process and thread structures:
ps axHS -o pid,lwp,paddr,tdaddr 4992
Output is like this
 PID    LWP            PADDR           TDADDR
1485 100311 fffff8015934d4e8 fffff8016d006000
1485 100313 fffff8015934d4e8 fffff8011d7dd4a0

Third column is the struct proc address, fourth - the struct thread address.

Attach to the live system with kgdb:
kgdb .../kernel.debug /dev/mem
Do
p *(struct proc *)0x<proc addr>
p *(struct thread *)0x<thread addr for lwp 101861>

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


More information about the freebsd-threads mailing list