I need to see inside the ent and code structures. Can you use gdb and
then do "p *ent" and "p *code" from frame 3? Or whatever frame it shows
is in cmd_server_info_exec.



On Mon, Dec 02, 2013 at 09:52:19AM -0500, Eitan Adler wrote:
> On Mon, Dec 2, 2013 at 3:52 AM, Nicholas Marriott
> <nicholas.marri...@gmail.com> wrote:
> > Show me "bt full" from gdb please
> 
> gdb761$ bt full
> #0  strlen (str=0x50 <Address 0x50 out of bounds>) at
> /usr/src/lib/libc/string/strlen.c:100
>         lp = <value optimized out>
>         va = <value optimized out>
>         vb = <value optimized out>
>         p = <value optimized out>
> #1  0x0000000800fc657f in istrsenvisx (mbdst=0x7fffffffafd0 "",
> dlen=0x7fffffffaa58, mbsrc=0x50 <Address 0x50 out of bounds>,
> mblength=<value optimized out>, flags=0x19, mbextra=0x801032c0d "",
> cerr_ptr=0x19) at /usr/src/lib/libc/../../contrib/libc-vis/vis.c:379
>         lockfile = 0x801812800 "2"
>         lockfile = 0x801812800 "2"
>         lockfile = 0x801812800 "2"
>         sa = {
>           sun_len = 0x0,
>           sun_family = 0x1,
>           sun_path =             "/tmp/tmux-1001/default"
>         }
>         lockfile = 0x801812800 "2"
>         size = <optimized out>
>         fd = <optimized out>
>         lockfd = 0x5
> #12 0x0000000000404ecf in client_main (argc=0x0, argv=0x7fffffffd720,
> flags=0x1) at client.c:221
>         cmddata = {
>           pid = 0x0,
>           session_id = 0x0,
>           argc = 0x529b97b6,
>           argv =             ""
>         }
>         cause = 0x1000 <Address 0x1000 out of bounds>
>         tio = {
>           c_iflag = 0x529b97b6,
>           c_oflag = 0x0,
>           c_cflag = 0x0,
>           c_lflag = 0x0,
>           c_cc =             "\266\227\233R",
>           c_ispeed = 0x0,
>           c_ospeed = 0x0
>         }
>         saved_tio = {
>           c_iflag = 0x431ea4,
>           c_oflag = 0x0,
>           c_cflag = 0x8700ff03,
>           c_lflag = 0xe,
>           c_cc =             "\300A\002",
>           c_ispeed = 0x0,
>           c_ospeed = 0x0
>         }
>         cmdlist = <optimized out>
>         fd = <optimized out>
>         ppid = <optimized out>
> #13 0x0000000000432677 in main (argc=0x0, argv=0x7fffffffd720) at tmux.c:406
>         flags = <error reading variable flags (Cannot access memory at
> address 0x0)>
>         label = <optimized out>
>         opt = <optimized out>
>         path = <optimized out>
>         s = <optimized out>
>         var = <optimized out>
>         home = <optimized out>
>         pw = <optimized out>
> 
> 
> On Mon, Dec 2, 2013 at 4:14 AM, Nicholas Marriott
> <nicholas.marri...@gmail.com> wrote:
> > Also please go to frame 3 (in cmd_server_info_exec) and show me "p *ent"
> > and "p *code".
> 
> (lldb) frame select 3
> frame #3: 0x000000000040ed8f
> tmux`cmd_server_info_exec(self=<unavailable>, cmdq=0x0000000801883160)
> + 1183 at cmd-server-info.c:148
> (lldb) frame variable
> (cmd *) self = <variable not available>
> (cmd_q *) cmdq = 0x0000000801883160
> (utsname) un = (sysname = "FreeBSD", nodename = "gravity.local",
> release = "11.0-CURRENT", version = "FreeBSD 11.0-CURRENT #0 r258140M:
> Thu Nov 14 17:04:27 EST 2013
> eitan@gravity.local:/usr/obj/usr/src/sys/EADLER", machine = "amd64")
> (char [80]) out = ""
> (time_t) t = 1385928763
> (char *) tim = <variable not available>
> (u_int) i = 0
> (client *) c = <variable not available>
> (session *) s = <variable not available>
> (winlink *) wl = <variable not available>
> (window *) w = <variable not available>
> (u_int) j = 0
> (size_t) size = 0
> (u_int) lines = 0
> (grid *) gd = <variable not available>
> (u_int) k = 0
> (tty_term *) term = <no location, value may have been optimized out>
> (window_pane *) wp = <no location, value may have been optimized out>
> (tty_code *) code = <no location, value may have been optimized out>
> (const tty_term_code_entry *) ent = <no location, value may have been
> optimized out>
> (job *) job = <no location, value may have been optimized out>
> (grid_line *) gl = <no location, value may have been optimized out>

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&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