Hi,

I have observed an occasional crash in tmux 1.8 when I change the font size
of
the terminal window.  I haven't been able to determine a good set of
reproduce
steps yet, but I'll try some more later.  In the meantime, here is a stack
trace:

#0  0x0000000000430ca0 in screen_write_linefeed (ctx=0x2229778, wrapped=0)
at screen-write.c:877
#1  0x00000000004222b3 in input_c0_dispatch (ictx=0x2229770) at input.c:965
#2  0x0000000000421c90 in input_parse (wp=0x2229660) at input.c:781
#3  0x0000000000453a6c in window_pane_read_callback (bufev=0x2214770,
data=0x2229660) at window.c:879
#4  0x00007f8feb31d3cd in bufferevent_readcb () from
/usr/lib64/libevent-2.0.so.5
#5  0x00007f8feb312c0c in event_base_loop () from
/usr/lib64/libevent-2.0.so.5
#6  0x0000000000437101 in server_loop () at server.c:207
#7  0x00000000004370e5 in server_start (lockfd=6, lockfile=0x21d2dd0
"\001") at server.c:198
#8  0x000000000040505e in client_connect (path=0x690760 <socket_path>
"/tmp/tmux-1000/default", start_server=1) at client.c:124
#9  0x000000000040529f in client_main (argc=0, argv=0x7fffcb070670,
flags=1) at client.c:221
#10 0x00000000004414e4 in main (argc=0, argv=0x7fffcb070670) at tmux.c:406

Through adding some asserts, I believe I have narrowed it down to
screen_reflow().  In particular, s->cy becomes -1 and wraps.  I added a
hack
to ensure s->cy doesn't become negative, and I have not been able to
reproduce
the crash since.

Let me know if there is anything else I can provide.

Thanks,
Chris
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to