Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Deadlock when receiving kill-signal from child process
- X-seq: zsh-workers 35985
- From: Mathias Fredriksson <mafredri@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Deadlock when receiving kill-signal from child process
- Date: Wed, 5 Aug 2015 13:37:07 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=6v0cNg3jGOV6uDOM+FfUoWscX3zFMYfJnOlvZ8EwaFQ=; b=iBXoDA5y9HR8/ABr/MNjJlbjJDbYGi6QEFENE9I2h5dTQfyXwwtbucfeOEqdc2E2N7 caju/6TXvhhresKiqfe4nCoVzhPypBWXhih+ehTo/KlU6kBTyb0lCPHNp5x95j6saHHP RxQj1k40xOcmtqRnK+VYZ4mEbjP2JlmxLiQBsDMOvcr3yzPRKqisBurjdm1hbLSq7V1Z nOcrvDqfZk+2T2iKnQW+RUMbiMX9Zg9pIkQIYHpDWdT0Hv0bFD64sOnDdJ/aDDGEo2Ld 8tdzdaBWzcpPudsoOGGd3iPnVEvvqqSPkUn3cmCztwsdNPV9wr8sMUa7TDb7F30jJaJi IiUQ==
- In-reply-to: <150804235400.ZM9958@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CA+=GgY7mHkyK4NJQ6m7y-HpVPKOuKx3-bkJqRHriKzZ662_iwA@mail.gmail.com> <150803085228.ZM24837@torch.brasslantern.com> <CA+=GgY5iZfgUag_V1jqmCv4=PUGBmaV2cNWTDjSO4DAZ+zm-iQ@mail.gmail.com> <150803135818.ZM24977@torch.brasslantern.com> <CA+=GgY7uGzCYEKLBzqrt=ct6q72WFC5w1jMB5RDNe60J-wUz=Q@mail.gmail.com> <150804235400.ZM9958@torch.brasslantern.com>
On Wed, Aug 5, 2015 at 9:53 AM, Bart Schaefer wrote:
}
} Mathias, if you could apply that patch and try again to reproduce the
} deadlock, it might tell us something.
Of course, here's the output (as I see it in the terminal) with the
applied patch:
TRAPUSR1:1: no job table entry for pid 61571
TRAPUSR1:1: no job table entry for pid 61570
.TRAPUSR1:1: no job table entry for pid 61575
.TRAPUSR1:1: no job table entry for pid 61573
../deadlock.zsh:19: no job table entry for pid 61577
TRAPUSR1:1: no job table entry for pid 61581
.TRAPUSR1:1: no job table entry for pid 61595
TRAPUSR1:1: no job table entry for pid 61582
../deadlock.zsh:20: no job table entry for pid 61585
./deadlock.zsh:20: no job table entry for pid 61589
./deadlock.zsh:20: no job table entry for pid 61590
Furthermore, here is the gdb output from the last script I posted and
zsh built with --enable-zsh-debug:
#0 0x00007fff8abfe72a in __sigsuspend ()
#1 0x0000000108fc05df in signal_suspend ()
#2 0x0000000108f97b05 in zwaitjob ()
#3 0x0000000108f97958 in waitjobs ()
#4 0x0000000108f7a90f in execpline ()
#5 0x0000000108f79c42 in execlist ()
#6 0x0000000108f79a6a in execode ()
#7 0x0000000108f920bb in loop ()
#8 0x0000000108f94d0c in zsh_main ()
#9 0x00007fff8610c5c9 in start ()
Messages sorted by:
Reverse Date,
Date,
Thread,
Author