git: kernel - Fix multi-threaded coredump

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Sep 8 20:14:24 PDT 2015


commit 1a3f33f1f01a6bd58a18d49ce378cf1e03d9e5a4
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Sep 8 20:11:00 2015 -0700

    kernel - Fix multi-threaded coredump
    
    * Recent commits to freeze threads on a coredump introduced a bug
      where threads entering a wait state could stall the coredump
      indefinitely.
    
    * Fix by counting such threads as being stopped before entering the
      wait state, allowing the coredump to proceed.  Do not try to issue
      an early signal which could disrupt the state the coredump is trying
      to save.
    
    Reported-by: Justin C. Sherrill <justin at shiningsilence.com>

Summary of changes:
 sys/kern/kern_synch.c | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1a3f33f1f01a6bd58a18d49ce378cf1e03d9e5a4


-- 
DragonFly BSD source repository



More information about the Commits mailing list