tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: netbsd-5 + wip/pdnsd + pthread = hang up



On Sun, Mar 15, 2009 at 11:41:09PM +0200, Aleksey Cheusov wrote:

> I attached truss to running pdnsd, then send SIGTERM to it.  ktruss
> shows the following, then pdnsd hangs.  If this information is not
> exactly what you need I think you can easily reproduce the problem.
> Trivial pdnsd config is below.

Unfortunatley, ktruss output is badly broken in some situations.
Can you try with ktrace/kdump and make sure you see similar output?

>  15403      1 pdnsd    __socket30(0x1, 0x2, 0)     = 8
>        
> "ns\^Cnet\^A\^A\240\^C\^B\0)\M-[\M-*I0\0\^D\0@"\M-{\M^\\^N\^A\0\0\bn\rI\0\0\0\0"
>  15403      1 pdnsd    fcntl(0x8, 0x2, 0x1)        = 0
>        "\M^?\^Fbanner\nhosteur"
>  15403      1 pdnsd    connect(0x8, 0xbbbc2fc0, 0x6a) = 0
>        "ope\^Bde\^A\^A\^P\^N\0\0\M^]t\M-)I 
> \0\^D\0P\M-m\M^@\M-(\f\^B\0\0At\M-GH\0\0\0\0"
>  15403      1 pdnsd    sendto(0x8, 0xbfbfe018, 0x3c, 0, 0, 0) = 60
>        
> "\0V9\M-~t\^O\^A\0\0\M-E\^D\M-GH\0\0\0\0\M^?\M^?\^Cns4\arambler\^Bru\^A\^A\M^I\a"
>  15403      1 pdnsd    close(0x8)                  = 0
>        "dburner\^Ccom\^B\^D\nA\0"

Is this where it hangs?


Home | Main Index | Thread Index | Old Index