GNU gdb (GDB) 7.10.1 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64--netbsd". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /tmp/github-tmux/tmux/tmux...done. [New process 1] Core was generated by `tmux'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000000000413e54 in cmd_string_parse (s=0x44ea2e "bind C-b send-prefix", cmdlist=cmdlist@entry=0x7f7fff59a350, file=file@entry=0x44ea43 "", line=line@entry=0, cause=cause@entry=0x7f7fff59a358) at cmd-string.c:156 156 buf[len++] = ch; #0 0x0000000000413e54 in cmd_string_parse (s=0x44ea2e "bind C-b send-prefix", cmdlist=cmdlist@entry=0x7f7fff59a350, file=file@entry=0x44ea43 "", line=line@entry=0, cause=cause@entry=0x7f7fff59a358) at cmd-string.c:156 p = 1 ch = i = argc = 0 rval = -1 argv = 0x0 buf = 0x70b27328 t = whitespace = equals = len = 1 #1 0x000000000042198b in key_bindings_init () at key-bindings.c:244 defaults = {0x44ea2e "bind C-b send-prefix", 0x44ea76 "bind C-o rotate-window", 0x44ea8d "bind C-z suspend-client", 0x44eaa5 "bind Space next-layout", 0x44eabc "bind ! break-pane", 0x44eace "bind '\"' split-window", 0x44eae4 "bind '#' list-buffers", 0x44efe8 "bind '$' command-prompt -I'#S' \"rename-session '%%'\"", 0x44eafa "bind % split-window -h", 0x44f020 "bind & confirm-before -p\"kill-window #W? (y/n)\" kill-window", 0x44f060 "bind \"'\" command-prompt -pindex \"select-window -t ':%%'\"", 0x44eb11 "bind ( switch-client -p", 0x44eb29 "bind ) switch-client -n", 0x44f0a0 "bind , command-prompt -I'#W' \"rename-window '%%'\"", 0x44eb41 "bind - delete-buffer", 0x44f0d8 "bind . command-prompt \"move-window -t '%%'\"", 0x44eb56 "bind 0 select-window -t:=0", 0x44eb71 "bind 1 select-window -t:=1", 0x44eb8c "bind 2 select-window -t:=2", 0x44eba7 "bind 3 select-window -t:=3", 0x44ebc2 "bind 4 select-window -t:=4", 0x44ebdd "bind 5 select-window -t:=5", 0x44ebf8 "bind 6 select-window -t:=6", 0x44ec13 "bind 7 select-window -t:=7", 0x44ec2e "bind 8 select-window -t:=8", 0x44ec49 "bind 9 select-window -t:=9", 0x44ec64 "bind : command-prompt", 0x44ec7a "bind \\; last-pane", 0x44ec8c "bind = choose-buffer", 0x44eca1 "bind ? list-keys", 0x44ecb2 "bind D choose-client", 0x44ecc7 "bind L switch-client -l", 0x44ecdf "bind M select-pane -M", 0x44ecf5 "bind [ copy-mode", 0x44ed06 "bind ] paste-buffer", 0x44ed1a "bind c new-window", 0x44ed2c "bind d detach-client", 0x44f108 "bind f command-prompt \"find-window '%%'\"", 0x44ed41 "bind i display-message", 0x44ed58 "bind l last-window", 0x44ed6b "bind m select-pane -m", 0x44ed81 "bind n next-window", 0x44ed94 "bind o select-pane -t:.+", 0x44edad "bind p previous-window", 0x44edc4 "bind q display-panes", 0x44edd9 "bind r refresh-client", 0x44edef "bind s choose-tree", 0x44ee02 "bind t clock-mode", 0x44ee14 "bind w choose-window", 0x44f138 "bind x confirm-before -p\"kill-pane #P? (y/n)\" kill-pane", 0x44ee29 "bind z resize-pane -Z", 0x44ee3f "bind { swap-pane -U", 0x44ee53 "bind } swap-pane -D", 0x44ee67 "bind '~' show-messages", 0x44ee7e "bind PPage copy-mode -u", 0x44ee96 "bind -r Up select-pane -U", 0x44eeb0 "bind -r Down select-pane -D", 0x44eecc "bind -r Left select-pane -L", 0x44eee8 "bind -r Right select-pane -R", 0x44f170 "bind M-1 select-layout even-horizontal", 0x44f198 "bind M-2 select-layout even-vertical", 0x44f1c0 "bind M-3 select-layout main-horizontal", 0x44f1e8 "bind M-4 select-layout main-vertical", 0x44ef05 "bind M-5 select-layout tiled", 0x44ef22 "bind M-n next-window -a", 0x44ef3a "bind M-o rotate-window -D", 0x44ef54 "bind M-p previous-window -a", 0x44ef70 "bind -r M-Up resize-pane -U 5", 0x44f210 "bind -r M-Down resize-pane -D 5", 0x44f230 "bind -r M-Left resize-pane -L 5", 0x44f250 "bind -r M-Right resize-pane -R 5", 0x44ef8e "bind -r C-Up resize-pane -U", 0x44efaa "bind -r C-Down resize-pane -D", 0x44efc8 "bind -r C-Left resize-pane -L", 0x44f278 "bind -r C-Right resize-pane -R", 0x44f298 "bind -n MouseDown1Pane select-pane -t=\\; send-keys -M", 0x44f2d0 "bind -n MouseDrag1Border resize-pane -M", 0x44f2f8 "bind -n MouseDown1Status select-window -t=", 0x44f328 "bind -n WheelDownStatus next-window", 0x44f350 "bind -n WheelUpStatus previous-window", 0x44f378 "bind -n MouseDrag1Pane if -Ft= '#{mouse_any_flag}' 'if -Ft= \"#{pane_in_mode}\" \"copy-mode -M\" \"send-keys -M\"' 'copy-mode -M'", 0x44f3f8 "bind -n MouseDown3Pane if-shell -Ft= '#{mouse_any_flag}' 'select-pane -t=; send-keys -M' 'select-pane -mt='", 0x44f468 "bind -n WheelUpPane if-shell -Ft= '#{mouse_any_flag}' 'send-keys -M' 'if -Ft= \"#{pane_in_mode}\" \"send-keys -M\" \"copy-mode -et=\"'"} i = 0 cmdlist = 0x0 cause = 0x0 error = cmdq = 0x7f5070b58140 #2 0x00000000004303b1 in server_start (base=base@entry=0x7f5070b3e400, lockfd=lockfd@entry=9, lockfile=0x7f5070b1cbc0 "/tmp/tmux-test/test.lock") at server.c:164 pair = {10, 11} #3 0x0000000000406ca6 in client_connect (start_server=1, path=0x7f5070b1c080 "/tmp/tmux-test/test", base=0x7f5070b3e400) at client.c:157 sa = {sun_len = 0 '\000', sun_family = 1 '\001', sun_path = "/tmp/tmux-test/test", '\000' } fd = 10 locked = 1 size = lockfd = 9 lockfile = 0x7f5070b1cbc0 "/tmp/tmux-test/test.lock" #4 client_main (base=0x7f5070b3e400, argc=argc@entry=1, argv=argv@entry=0x7f7fff59b1d8, flags=flags@entry=65536, shellcmd=shellcmd@entry=0x0) at client.c:268 cmd = cmdlist = data = cmdflags = 1 i = ttynam = cwd = ppid = msg = MSG_COMMAND cause = 0x0 path = "\000\001/tmp/tmux-test/test", '\000' , "Y\377\177\177\000\000@\025A\225\177\177\000\000\270\245Y\377\177\177\000\000\240z\001pP\177\000\000\000`\356pP\177\000\000\240z\001pP\177\000\000\000\000\000\000\000\000\000\000\332] \225\177\177\000\000\220\245Y\377\177\177\000\000\031V \225\177\177\000\000\001", '\000' ... tio = {c_iflag = 0, c_oflag = 0, c_cflag = 1879836964, c_lflag = 32592, c_cc = "€\020\260pP\177\000\000\377\017\300\244³\245H\350\020s\262p", c_ispeed = 32592, c_ospeed = 63} saved_tio = {c_iflag = 1890700224, c_oflag = 32592, c_cflag = 4284065776, c_lflag = 32639, c_cc = "\000a7pP\177\000\000\b\247Y\377\177\177\000\000\372\226\203p", c_ispeed = 32592, c_ospeed = 1879822037} size = #5 0x00000000004465ba in main (argc=1, argv=0x7f7fff59b1d8) at tmux.c:336 path = 0x7f5070b1c080 "/tmp/tmux-test/test" label = 0x0 var = tmp = "/tmp/tmux\000\000\000\000\000\000\000€\000\000\000\000\000\000\000\000@", '\000' , "\t\000\000\000\000\000\000\000\020\000\000\000\000\000\000\000\330\251Y\377\177\177\000\000\020\000\000\000\000\000\000\000\b\000\000\000\000\000\000\000\031\000\000\000\000\000\000\000#\205 \225\177\177\000\000\000\000\000\000\000\000\000\000s\"@\000\000\000\000\000 \356pP\177\000\000\000\000\000\000\002", '\000' , "/usr/lib/libterminfo.so.1", '\000' ... shellcmd = 0x0 s = opt = flags = 65536 keys = (gdb) quit