I don't think it is right to move recalculate_sizes(), we should do
whatever is needed to make it safe to call it there. Do you have a
backtrace?



On Sat, Jul 27, 2013 at 09:22:55AM -0700, Daniel Ralston wrote:
> On Sat, Jul 27, 2013 at 8:07 AM, Nicholas Marriott
> <nicholas.marri...@gmail.com> wrote:
> > Does this do it instead?
> >
> > diff --git a/server-fn.c b/server-fn.c
> > index 7ef6413..37ef879 100644
> > --- a/server-fn.c
> > +++ b/server-fn.c
> > @@ -396,9 +396,9 @@ server_destroy_session_group(struct session *s)
> >         if ((sg = session_group_find(s)) == NULL)
> >                 server_destroy_session(s);
> >         else {
> > +               TAILQ_REMOVE(&session_groups, sg, entry);
> >                 TAILQ_FOREACH(s, &sg->sessions, gentry)
> >                         server_destroy_session(s);
> > -               TAILQ_REMOVE(&session_groups, sg, entry);
> >                 free(sg);
> >         }
> >  }
> 
> Unfortunately not. With that patch, I get the same crash.

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to