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 35988
- From: Mathias Fredriksson <mafredri@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Deadlock when receiving kill-signal from child process
- Date: Wed, 5 Aug 2015 19:05:19 +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=pSlIkiuUKuLdAQ+lIXzm/0Z4uVXUpJwlHRVVOVWv5uE=; b=MJ0bdpkE6F/7z3ORYDaEp5OVMrvMT3+YH1vjrWxd/JnOPyCfBZSedlGNgVwMv5uT+v IAL0u8XacANDUayNy9ud6Bc01barcFRyIYmO3vdX2Lqhi4LUsi62N3AzXAl55f9U6rT2 tJxktcsx2WrTYRUNZMk2uVgQ8NAv1GZcDtehNTYrcF/ryhVAnxUDamk7Pa6oV23ZMHi5 eGcefRzEQxJp1hwy7CcWkEuQKqfY2gzzI4Z58/c/oyRWCQdfTXOlse0pejVW2gt5VsIx XyL8rLsULTfwYlnI2mMV8ht2LAZlvaZdFS3ohTPjIWKX2fJEQKOljdxlJfkKkGa73U2K B1Cg==
- In-reply-to: <150805085258.ZM17673@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> <CA+=GgY5826pmKzn=WHUKCVWOEfRbP=sCN873arRsYHvGgEUb7A@mail.gmail.com> <150805085258.ZM17673@torch.brasslantern.com>
On Wed, Aug 5, 2015 at 6:52 PM, Bart Schaefer wrote:
}
} However, don't you delete it just yet from your test build. Instead,
} add this patch and see what you get.
The freezes are now much less frequent, but I still managed to get it
to lock up with a slightly different gdb trace this time around.
Output:
./deadlock.zsh:15: no job table entry for pid 6501
./deadlock.zsh:15: no job table entry for pid 6500
./deadlock.zsh:15: no job table entry for pid 6503
./deadlock.zsh:15: no job table entry for pid 6505
./deadlock.zsh:15: no job table entry for pid 6509
TRAPUSR1:1: no job table entry for pid 6507
.....
gdb:
#0 0x00007fff8abf95da in syscall_thread_switch ()
#1 0x00007fff853a982d in _OSSpinLockLockSlow ()
#2 0x00007fff896e1635 in szone_force_lock ()
#3 0x00007fff896e15e6 in _malloc_fork_prepare ()
#4 0x00007fff82cb8097 in fork ()
#5 0x00000001036447d0 in zfork ()
#6 0x000000010364825d in execcmd ()
#7 0x00000001036432c0 in execpline ()
#8 0x000000010364286a in execlist ()
#9 0x0000000103642692 in execode ()
#10 0x0000000103646297 in runshfunc ()
#11 0x0000000103645d82 in doshfunc ()
#12 0x000000010368a8c7 in dotrapargs ()
#13 0x0000000103689a2a in handletrap ()
#14 0x0000000103689328 in zhandler ()
#15 <signal handler called>
#16 0x00007fff896dad62 in tiny_free_list_add_ptr ()
#17 0x00007fff896d9e7f in szone_free_definite_size ()
#18 0x000000010365e89a in inputsetline ()
#19 0x000000010365e1e7 in ingetc ()
#20 0x000000010366425b in zshlex ()
#21 0x0000000103679980 in parse_event ()
#22 0x000000010365add4 in loop ()
#23 0x000000010365dc2c in zsh_main ()
#24 0x00007fff8610c5c9 in start ()
Messages sorted by:
Reverse Date,
Date,
Thread,
Author