Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Nov 2004 06:16:51 +0800
From:      David Xu <davidxu@freebsd.org>
To:        Marc Ramirez <marc.ramirez@bluecirclesoft.com>
Cc:        Ken Smith <kensmith@cse.buffalo.edu>
Subject:   Re: [FreeBSD 5.3-RC2] Processes STILL hanging in unkillable state
Message-ID:  <418AAA53.5090403@freebsd.org>
In-Reply-To: <200411041619.35640.marc.ramirez@bluecirclesoft.com>
References:  <200411020143.34251.gte990t@mail.gatech.edu> <200411041525.51985.marc.ramirez@bluecirclesoft.com> <418A955C.9080704@elischer.org> <200411041619.35640.marc.ramirez@bluecirclesoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Marc Ramirez wrote:

>Thanks for looking!
>
>On Thursday 04 November 2004 03:47 pm, Julian Elischer wrote:
>  
>
>>>  thread 0xc2081e10 ksegrp 0xc2154310 [SUSP]
>>>  thread 0xc187a960 ksegrp 0xc2154310 [SLPQ spltwt 0xc138fd98][SLP]
>>>  thread 0xc2156960 ksegrp 0xc2154310 [SUSP]
>>>  thread 0xc2157000 ksegrp 0xc2154310 [SUSP]
>>>  thread 0xc2157190 ksegrp 0xc2154310 [SLPQ select 0xc08e44c4][SLP][SUSP]
>>>  thread 0xc2156190 ksegrp 0xc2154310 [SLPQ accept 0xc216ae26][SLP][SUSP]
>>>  thread 0xc2156320 ksegrp 0xc187dc40 [SUSP]
>>>      
>>>
>>showing the output of
>>show thread 0xc2081e10
>>(etc)
>>for each thread
>>should show the backtrace of each thread (I think)
>>    
>>
>
>The output of this is at bottom.
>  
>
>>I suspect that all the threads are waiting for thread 0xc187a960 to wake
>>up and suspend
>>for some single-threading purpose.
>>but it is hard to tell.
>>    
>>

I have committed a fix, can you try ?

>davidxu     2004-11-04 22:13:16 UTC
>
>  FreeBSD src repository
>
>  Modified files:
>    sys/kern             kern_thread.c 
>  Log:
>  Don't forget to turn off P_SINGLE_BOUNDARY for thread_single(SINGLE_EXIT),
>  otherwise a threaded process which calls execv() will hang in kernel and
>  may can not be killed!
>  
>  Revision  Changes    Path
>  1.205     +1 -1      src/sys/kern/kern_thread.c
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?418AAA53.5090403>