Re: Problem with detach-on-destroy disabled

2010-10-05 Thread Nicholas Marriott
fixed in openbsd, will be in sf soon, thanks On Tue, Oct 05, 2010 at 03:30:21PM +0200, Simon Olofsson wrote: > Hi, > > when I disable the option detach-on-destroy the tmux server sometimes > segfaults. The problem is that in server_next_session (server-fn.c) > s_loop is sometimes NULL and tmux se

Problem with detach-on-destroy disabled

2010-10-05 Thread Simon Olofsson
Hi, when I disable the option detach-on-destroy the tmux server sometimes segfaults. The problem is that in server_next_session (server-fn.c) s_loop is sometimes NULL and tmux segfaults in line 374. I'm attaching a patch with some debug output and the corresponding lines from the log. I could repr