[Bug 200992] proccess won't die in thread_suspend_switch

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jun 21 14:59:24 UTC 2015


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

Allan Jude <allanjude at FreeBSD.org> changed:

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

--- Comment #7 from Allan Jude <allanjude at FreeBSD.org> ---
I think I made have a similar issue (not in a jail):
# uname -a
FreeBSD Nexus.HML3.ScaleEngine.net 11.0-CURRENT FreeBSD 11.0-CURRENT #0
r283896: Mon Jun  1 22:08:43 UTC 2015    
root at Nexus.HML3.ScaleEngine.net:/usr/obj/usr/src/sys/GENERIC-NODEBUG  amd64


  PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME    WCPU COMMAND
92435 root          2  40   20  1792M  1600M STOP    0 172.2H  96.56% VBoxHeadl

# procstat -k 92435
  PID    TID COMM             TDNAME           KSTACK
92435 100784 VBoxHeadless     -                mi_switch thread_suspend_switch
thread_single exit1 sigexit postsig ast doreti_ast
92435 100841 VBoxHeadless     -                <running>


# ps axHS -o pid,lwp,paddr,tdaddr 92435
  PID    LWP            PADDR           TDADDR
92435 100784 fffff800dab5ea70 fffff801f75194b0
92435 100841 fffff800dab5ea70 fffff8016bad3960


as soon as I started kgdb, it spat out:
#0  sched_switch (td=0xfffff8000b87b4b0, newtd=<value optimized out>,
    flags=<value optimized out>) at /usr/src/sys/kern/sched_ule.c:1956
1956                    cpuid = PCPU_GET(cpuid);


(kgdb) set print pretty on
(kgdb) p *(struct proc*)0xfffff800dab5ea70
http://slexy.org/view/s20fuKiBZz

(kgdb) p *(struct thread *)0xfffff801f75194b0
http://slexy.org/view/s21oIiroY8

(kgdb) p *(struct thread *)0xfffff8016bad3960
http://slexy.org/view/s20GWaINNw

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


More information about the freebsd-threads mailing list