not sure about this, iirc there was some reason to use event_reinit(),
perhaps a race

i'll need to think about it



On Thu, Sep 23, 2010 at 05:24:37PM -0700, Drew Folta wrote:
> Ah, I see.
> 
> Anyways attached is my patch.  It's a bit of a quick hack, and will no
> doubt need some cleanup if incorporated. It perhaps has two things
> going for it:
> a) Support for libevent earlier than 1.4.14.  (Probably a small point
> -- my work-provided system is very old, and I have trouble upgrading.)
> b) After the patch, there's a call to set_signals(main_signal)
> immediately followed by a call to clear_signals(0).  I don't know much
> about either call, but it smells like an opportunity for optimization.
> 
> Drew
> 
> 
> On Mon, Sep 20, 2010 at 1:16 PM, Nicholas Marriott
> <nicholas.marri...@gmail.com> wrote:
> > there were bugs with event_reinit() in early 1.4, they were fixed by
> > 1.4.14
> >
> >
> > On Mon, Sep 20, 2010 at 12:56:19PM -0700, Drew Folta wrote:
> >> I had a similar problem with libevent-1.4.3.  The event_reinit() call
> >> was failing.  I was able to fix it by hacking up the tmux code to call
> >> event_init() -after- the fork.  (Had to move where set_signals() was
> >> called too.)
> >>
> >> Drew
> >>
> >>
> >> On Mon, Sep 20, 2010 at 12:46 PM, Kris Malfettone <montu...@gmail.com> 
> >> wrote:
> >> > tmux-1.3
> >> > libevent-1.4.14b-stable
> >> >
> >> > On Sep 20, 2010 3:43 PM, "Nicholas Marriott" 
> >> > <nicholas.marri...@gmail.com>
> >> > wrote:
> >> >> what versions?
> >> >>
> >> >>
> >> >> On Mon, Sep 20, 2010 at 01:25:01PM -0400, Kris Malfettone wrote:
> >> >>> Hi all,
> >> >>> I have compiled both libevent and tmux from source on a 64 bit suse 10
> >> >>> machine.* Bot complete but when I run tmux I see a blank screen with 
> >> >>> the
> >> >>> status bar at the bottom, but no prompt.* When I hit any key the 
> >> >>> message
> >> >>> [lost server] appears and both processes have exitted.* After further
> >> >>> inspection the server process is seg faulting on line 442 of tty-keys.c
> >> >>> because "tty->event->input" is null.
> >> >>>
> >> >>> I have tried searching online and the mailing list but to no avail.* 
> >> >>> Does
> >> >>> anyone have any guidance to what I need to do to fix this problem?
> >> >>
> >> >>>
> >> >>> ------------------------------------------------------------------------------
> >> >>> Start uncovering the many advantages of virtual appliances
> >> >>> and start using them to simplify application deployment and
> >> >>> accelerate your shift to cloud computing.
> >> >>> http://p.sf.net/sfu/novell-sfdev2dev
> >> >>
> >> >>> _______________________________________________
> >> >>> tmux-users mailing list
> >> >>> tmux-users@lists.sourceforge.net
> >> >>> https://lists.sourceforge.net/lists/listinfo/tmux-users
> >> >>
> >> >
> >> > ------------------------------------------------------------------------------
> >> > Start uncovering the many advantages of virtual appliances
> >> > and start using them to simplify application deployment and
> >> > accelerate your shift to cloud computing.
> >> > http://p.sf.net/sfu/novell-sfdev2dev
> >> > _______________________________________________
> >> > tmux-users mailing list
> >> > tmux-users@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/tmux-users
> >> >
> >> >
> >



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to