Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Deadlock when receiving kill-signal from child process



On Tue, Aug 11, 2015 at 3:53 AM, Bart Schaefer wrote:
> On Aug 11,  1:53am, Mathias Fredriksson wrote:
>
> Interesting.  I deliberately excluded preprompt() from the signal queue
> in my init.c:loop() edit.  Try this:

Ah, that would explain why it happened again. Unfortunately, that
patch seems insufficient:

#0  0x00007fff8abfe72a in __sigsuspend ()
#1  0x00000001013bc3e9 in signal_suspend ()
#2  0x0000000101392fc1 in zwaitjob ()
#3  0x0000000101392e0c in waitjobs ()
#4  0x0000000101374314 in execpline ()
#5  0x0000000101373687 in execlist ()
#6  0x000000010139a988 in execif ()
#7  0x000000010137a45a in execcmd ()
#8  0x0000000101373f69 in execpline ()
#9  0x00000001013733cc in execlist ()
#10 0x000000010139a988 in execif ()
#11 0x000000010137a45a in execcmd ()
#12 0x0000000101373f69 in execpline ()
#13 0x00000001013733cc in execlist ()
#14 0x00000001013731f2 in execode ()
#15 0x000000010137701e in runshfunc ()
#16 0x0000000101376a4b in doshfunc ()
#17 0x000000010137cf4d in execshfunc ()
#18 0x000000010137abb7 in execcmd ()
#19 0x0000000101373f69 in execpline ()
#20 0x00000001013733cc in execlist ()
#21 0x00000001013731f2 in execode ()
#22 0x000000010137701e in runshfunc ()
#23 0x0000000101376a4b in doshfunc ()
#24 0x00000001013caf96 in callhookfunc ()
#25 0x00000001013cb20f in preprompt ()
#26 0x000000010138cfca in loop ()
#27 0x000000010138ffa7 in zsh_main ()
#28 0x00007fff8610c5c9 in start ()



Messages sorted by: Reverse Date, Date, Thread, Author