Does this make any difference:
diff --git a/proc.c b/proc.c
index 7333abf5..bd03c322 100644
--- a/proc.c
+++ b/proc.c
@@ -254,12 +254,19 @@ proc_clear_signals(struct tmuxproc *tp)
sigaction(SIGTSTP, &sa, NULL);
event_del(&tp->ev_sighup);
+ sigaction(SIGHUP, &sa, NULL);
event_del(&tp->ev_sigchld);
+ sigaction(SIGCHLD, &sa, NULL);
event_del(&tp->ev_sigcont);
+ sigaction(SIGCONT, &sa, NULL);
event_del(&tp->ev_sigterm);
+ sigaction(SIGTERM, &sa, NULL);
event_del(&tp->ev_sigusr1);
+ sigaction(SIGUSR1, &sa, NULL);
event_del(&tp->ev_sigusr2);
+ sigaction(SIGUSR2, &sa, NULL);
event_del(&tp->ev_sigwinch);
+ sigaction(SIGWINCH, &sa, NULL);
}
struct tmuxpeer *
On Fri, Jul 14, 2017 at 09:17:04AM +0100, Nicholas Marriott wrote:
> Hi
>
> I don't see an error message in this?
>
>
> On Thu, Jul 13, 2017 at 11:18:19AM -0500, Josef Fortier wrote:
> > I pulled and installed the latest HEAD from github and noticed what
> > seems to be a fairly serious issue. This list seems fairly active, so
> > it seems appropriate to give a heads up here without the formal bug
> > report.
> > The problem first manifested for me while trying to do a git pull
> > under a tmux session. Git errors out with a waitpid error.
> > This doesn't happen under 2.5 release (and didn't happen on earlier
> > pulls of dev HEAD).
> > I've tried several versions of git, and several older kernels (kernel
> > update was concurrent with the tmux update, as I tend to update tmux
> > HEAD when I'm going to reboot).
> >
> > Took me a bit to isolate tmux as the (at least reproducible) trigger.
> > Here's a tail bit of strace output (which may be helpful).
> >
> > stat("/home/fortier/libexec/git-core/git", 0x7ffd96ec8f10) = -1 ENOENT
> > (No such file or directory)
> > stat("/home/fortier/bin/git", {st_mode=S_IFREG|0755, st_size=10749376,
> > ...}) = 0
> > rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
> > clone(child_stack=0,
> > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
> > child_tidptr=0x7f5f28d369d0) = 6253
> > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> > close(4) = 0
> > read(3, "", 8) = 0
> > close(3) = 0
> > wait4(6253, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6253
> > --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6253,
> > si_uid=27718, si_status=0, si_utime=0, si_stime=0} ---
> > lstat(".git/HEAD", {st_mode=S_IFREG|0644, st_size=23, ...}) = 0
> > open(".git/HEAD", O_RDONLY) = 3
> > read(3, "ref: refs/heads/master\n", 256) = 23
> > read(3, "", 233) = 0
> > close(3) = 0
> > lstat(".git/refs/heads/master", {st_mode=S_IFREG|0644, st_size=41, ...}) = 0
> > open(".git/refs/heads/master", O_RDONLY) = 3
> > read(3, "b305c41fd5e5b8daadc46fbfadc8f60a"..., 256) = 41
> > read(3, "", 215) = 0
> > close(3) = 0
> > lstat(".git/refs/HEAD", 0x7ffd96ec8e50) = -1 ENOENT (No such file or
> > directory)
> > stat(".git/packed-refs", {st_mode=S_IFREG|0644, st_size=457, ...}) = 0
> > lstat(".git/refs/tags/HEAD", 0x7ffd96ec8e50) = -1 ENOENT (No such file
> > or directory)
> > stat(".git/packed-refs", {st_mode=S_IFREG|0644, st_size=457, ...}) = 0
> > lstat(".git/refs/heads/HEAD", 0x7ffd96ec8e50) = -1 ENOENT (No such
> > file or directory)
> > stat(".git/packed-refs", {st_mode=S_IFREG|0644, st_size=457, ...}) = 0
> > lstat(".git/refs/remotes/HEAD", 0x7ffd96ec8e50) = -1 ENOENT (No such
> > file or directory)
> > stat(".git/packed-refs", {st_mode=S_IFREG|0644, st_size=457, ...}) = 0
> > lstat(".git/refs/remotes/HEAD/HEAD", 0x7ffd96ec8e50) = -1 ENOENT (No
> > such file or directory)
> > stat(".git/packed-refs", {st_mode=S_IFREG|0644, st_size=457, ...}) = 0
> > open(".git/FETCH_HEAD", O_RDONLY) = 3
> > fstat(3, {st_mode=S_IFREG|0644, st_size=79, ...}) = 0
> > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> > 0) = 0x7f5f28d60000
> > read(3, "b305c41fd5e5b8daadc46fbfadc8f60a"..., 4096) = 79
> > read(3, "", 4096) = 0
> > close(3) = 0
> > munmap(0x7f5f28d60000, 4096) = 0
> > pipe([3, 4]) = 0
> > stat("/home/fortier/libexec/git-core/git", 0x7ffd96ec8ef0) = -1 ENOENT
> > (No such file or directory)
> > stat("/home/fortier/bin/git", {st_mode=S_IFREG|0755, st_size=10749376,
> > ...}) = 0
> > rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
> > clone(child_stack=0,
> > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
> > child_tidptr=0x7f5f28d369d0) = 6543
> > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> > close(4) = 0
> > read(3, "", 8) = 0
> > close(3) = 0
> > wait4(6543, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6543
> > --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6543,
> > si_uid=27718, si_status=0, si_utime=0, si_stime=0} ---
> > fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
> > close(1) = 0
> > exit_group(0) = ?
> > +++ exited with 0 +++
> >
> > --
> > Josef Fortier
> > (612) 234-5135
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "tmux-users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to [email protected].
> > To post to this group, send an email to [email protected].
> > For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.