2011/3/9 Nicholas Marriott <nicholas.marri...@gmail.com>:
> What exact libevent version are you using?

libevent-2.0.10-stable

> Does it still happen if you start tmux with EVENT_NOEPOLL=1?

Yes, symptoms are exactly the same.

> Can you show me the output of the following in gdb:

Here you are:

> f 0

(gdb) f 0
#0  0x000000000043cd4d in window_pane_read_callback (bufev=0x12a569e0,
data=0x12a56110) at window.c:630
630             new_size = EVBUFFER_LENGTH(wp->event->input) - wp->pipe_off;

> p *wp

(gdb) p *wp
$1 = {window = 0x12a55fa0, layout_cell = 0x12a56930, sx = 154, sy =
39, xoff = 0, yoff = 0, flags = 0, cmd = 0x12a56980 "exec /bin/zsh",
shell = 0x12a569a0 "/bin/bash", cwd = 0x12a569c0 "/home/szkoda", pid =
12265, tty = "/dev/pts/101", '\0' <repeats 19 times>, fd = 29,
 event = 0x12a569e0, ictx = {wp = 0x0, ctx = {wp = 0x0, s = 0x0},
cell = {attr = 0 '\0', flags = 0 '\0', fg = 8 '\b', bg = 8 '\b', data
= 32 ' '}, old_cell = {attr = 0 '\0', flags = 0 '\0', fg = 8 '\b', bg
= 8 '\b', data = 32 ' '}, old_cx = 0, old_cy = 0,
   interm_buf = "\000\000\000", interm_len = 0, param_buf = '\0'
<repeats 63 times>, param_len = 0, input_buf = '\0' <repeats 255
times>, input_len = 0, param_list = {0 <repeats 24 times>},
param_list_len = 0, utf8data = {data =
"\000\000\000\000\000\000\000\000", have = 0,
     size = 0, width = 0}, ch = 0, flags = 0, state = 0x44d0e0},
pipe_fd = -1, pipe_event = 0x0, pipe_off = 0, screen = 0x12a563c8,
base = {title = 0x12a568e0 "wrling36.emea.nsn-net.net", grid =
0x12a56460, cx = 0, cy = 0, rupper = 0, rlower = 38, mode = 65,
   tabs = 0x12a56910 "", sel = {flag = 0, rectflag = 0, sx = 0, sy =
0, ex = 0, ey = 0, cell = {attr = 0 '\0', flags = 0 '\0', fg = 0 '\0',
bg = 0 '\0', data = 0 '\0'}}}, saved_cx = 0, saved_cy = 0, saved_grid
= 0x0, saved_cell = {attr = 0 '\0', flags = 0 '\0', fg = 0 '\0',
   bg = 0 '\0', data = 0 '\0'}, mode = 0x0, modedata = 0x0, entry =
{tqe_next = 0x0, tqe_prev = 0x12a56060}}

> p wp->pipe_off

(gdb) p wp->pipe_off
$2 = 0

> p *wp->event->input

(gdb) p *wp->event->input
Cannot access memory at address 0x0

-- Adam

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to