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 /usr/pkg/bin/tmux...done. [New process 1] Core was generated by `tmux'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000000000414b13 in cmd_string_parse (s=0x45418e "bind C-b send-prefix", cmdlist=cmdlist@entry=0x7f7fff6dc9f0, file=file@entry=0x4541a3 "", line=line@entry=0, cause=cause@entry=0x7f7fff6dc9f8) at cmd-string.c:156 156 buf[len++] = ch; #0 0x0000000000414b13 in cmd_string_parse (s=0x45418e "bind C-b send-prefix", cmdlist=cmdlist@entry=0x7f7fff6dc9f0, file=file@entry=0x4541a3 "", line=line@entry=0, cause=cause@entry=0x7f7fff6dc9f8) at cmd-string.c:156 p = 1 ch = i = argc = 0 rval = -1 argv = 0x0 buf = 0x1e727328 t = whitespace = equals = len = 1 #1 0x0000000000423d0c in key_bindings_init () at key-bindings.c:244 defaults = {0x45418e "bind C-b send-prefix", 0x4541d6 "bind C-o rotate-window", 0x4541ed "bind C-z suspend-client", 0x454205 "bind Space next-layout", 0x45421c "bind ! break-pane", 0x45422e "bind '\"' split-window", 0x454244 "bind '#' list-buffers", 0x454748 "bind '$' command-prompt -I'#S' \"rename-session '%%'\"", 0x45425a "bind % split-window -h", 0x454780 "bind & confirm-before -p\"kill-window #W? (y/n)\" kill-window", 0x4547c0 "bind \"'\" command-prompt -pindex \"select-window -t ':%%'\"", 0x454271 "bind ( switch-client -p", 0x454289 "bind ) switch-client -n", 0x454800 "bind , command-prompt -I'#W' \"rename-window '%%'\"", 0x4542a1 "bind - delete-buffer", 0x454838 "bind . command-prompt \"move-window -t '%%'\"", 0x4542b6 "bind 0 select-window -t:=0", 0x4542d1 "bind 1 select-window -t:=1", 0x4542ec "bind 2 select-window -t:=2", 0x454307 "bind 3 select-window -t:=3", 0x454322 "bind 4 select-window -t:=4", 0x45433d "bind 5 select-window -t:=5", 0x454358 "bind 6 select-window -t:=6", 0x454373 "bind 7 select-window -t:=7", 0x45438e "bind 8 select-window -t:=8", 0x4543a9 "bind 9 select-window -t:=9", 0x4543c4 "bind : command-prompt", 0x4543da "bind \\; last-pane", 0x4543ec "bind = choose-buffer", 0x454401 "bind ? list-keys", 0x454412 "bind D choose-client", 0x454427 "bind L switch-client -l", 0x45443f "bind M select-pane -M", 0x454455 "bind [ copy-mode", 0x454466 "bind ] paste-buffer", 0x45447a "bind c new-window", 0x45448c "bind d detach-client", 0x454868 "bind f command-prompt \"find-window '%%'\"", 0x4544a1 "bind i display-message", 0x4544b8 "bind l last-window", 0x4544cb "bind m select-pane -m", 0x4544e1 "bind n next-window", 0x4544f4 "bind o select-pane -t:.+", 0x45450d "bind p previous-window", 0x454524 "bind q display-panes", 0x454539 "bind r refresh-client", 0x45454f "bind s choose-tree", 0x454562 "bind t clock-mode", 0x454574 "bind w choose-window", 0x454898 "bind x confirm-before -p\"kill-pane #P? (y/n)\" kill-pane", 0x454589 "bind z resize-pane -Z", 0x45459f "bind { swap-pane -U", 0x4545b3 "bind } swap-pane -D", 0x4545c7 "bind '~' show-messages", 0x4545de "bind PPage copy-mode -u", 0x4545f6 "bind -r Up select-pane -U", 0x454610 "bind -r Down select-pane -D", 0x45462c "bind -r Left select-pane -L", 0x454648 "bind -r Right select-pane -R", 0x4548d0 "bind M-1 select-layout even-horizontal", 0x4548f8 "bind M-2 select-layout even-vertical", 0x454920 "bind M-3 select-layout main-horizontal", 0x454948 "bind M-4 select-layout main-vertical", 0x454665 "bind M-5 select-layout tiled", 0x454682 "bind M-n next-window -a", 0x45469a "bind M-o rotate-window -D", 0x4546b4 "bind M-p previous-window -a", 0x4546d0 "bind -r M-Up resize-pane -U 5", 0x454970 "bind -r M-Down resize-pane -D 5", 0x454990 "bind -r M-Left resize-pane -L 5", 0x4549b0 "bind -r M-Right resize-pane -R 5", 0x4546ee "bind -r C-Up resize-pane -U", 0x45470a "bind -r C-Down resize-pane -D", 0x454728 "bind -r C-Left resize-pane -L", 0x4549d8 "bind -r C-Right resize-pane -R", 0x4549f8 "bind -n MouseDown1Pane select-pane -t=\\; send-keys -M", 0x454a30 "bind -n MouseDrag1Border resize-pane -M", 0x454a58 "bind -n MouseDown1Status select-window -t=", 0x454a88 "bind -n WheelDownStatus next-window", 0x454ab0 "bind -n WheelUpStatus previous-window", 0x454ad8 "bind -n MouseDrag1Pane if -Ft= '#{mouse_any_flag}' 'if -Ft= \"#{pane_in_mode}\" \"copy-mode -M\" \"send-keys -M\"' 'copy-mode -M'", 0x454b58 "bind -n MouseDown3Pane if-shell -Ft= '#{mouse_any_flag}' 'select-pane -t=; send-keys -M' 'select-pane -mt='", 0x454bc8 "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 = 0x77941e758140 #2 0x0000000000433be0 in server_start (base=base@entry=0x77941e73e400, lockfd=lockfd@entry=9, lockfile=0x77941e71cbc0 "/tmp/tmux-test/test.lock") at server.c:164 pair = {10, 11} #3 0x0000000000406726 in client_connect (base=base@entry=0x77941e73e400, path=0x77941e71c080 "/tmp/tmux-test/test", start_server=start_server@entry=1) at client.c:157 sa = {sun_len = 0 '\000', sun_family = 1 '\001', sun_path = "/tmp/tmux-test/test", '\000' } size = fd = 10 lockfd = 9 locked = 1 lockfile = 0x77941e71cbc0 "/tmp/tmux-test/test.lock" #4 0x0000000000406af4 in client_main (base=0x77941e73e400, argc=argc@entry=1, argv=argv@entry=0x7f7fff6dd920, flags=flags@entry=65536, shellcmd=shellcmd@entry=0x0) at client.c:268 cmd = cmdlist = data = cmdflags = 1 fd = i = ttynam = cwd = ppid = msg = MSG_COMMAND cause = 0x0 path = "\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000N\317m\377\177\177\000\000\006T@\036\061\000\000\000\b\002\377\377\177\177\000\000@\317m\377\177\177\000\000?\000\000\000~\177\000\000\377S@\036\224w\000\000\000\000\000\000\000\000\000\000\001", '\000' , "~\000\000\001\001\000\000\000\000\000\000\000@\314m\377\177\177\000\000@\025\341a~\177\000\000\b\315m\377\177\177\000\000 z\301\035\224w\000\000\000\200\244\036\224w\000\000 z\301\035\224w\000\000\000\000\000\000\000\000\000\000\332]Àa~\177\000\000à\314m\377\177\177\000\000\031VÀa~\177\000\000\001", '\000' ... tio = {c_iflag = 0, c_oflag = 0, c_cflag = 499910948, c_lflag = 30612, c_cc = "\200\020p\036\224w\000\000d~\243\000Y\347,\200\020sr\036", c_ispeed = 30612, c_ospeed = 63} saved_tio = {c_iflag = 502823552, c_oflag = 30612, c_cflag = 4285386560, c_lflag = 32639, c_cc = "\000a\367\035\224w\000\000X\316m\377\177\177\000\000\372\226C\036", c_ispeed = 30612, c_ospeed = 499896021} size = #5 0x000000000044bd5e in main (argc=1, argv=0x7f7fff6dd920) at tmux.c:336 path = 0x77941e71c080 "/tmp/tmux-test/test" label = 0x0 var = tmp = "/tmp/tmux", '\000' , "\030\321m\377\177\177\000\000\t\000\000\000\000\000\000\000\020\000\000\000\000\000\000\000\030\321m\377\177\177\000\000\000`\244\036\224w\000\000\b\000\000\000\000\000\000\000\031\000\000\000\000\000\000\000#\205Àa~\177\000\000\000\000\000\000\000\000\000\000s\"@\000\000\000\000\000 @\244\036\224w\000\000\000\000\000\000\002", '\000' , "/usr/lib/libterminfo.so.1\000o.1", '\000' ... shellcmd = 0x0 s = opt = flags = 65536 keys = [?1034h(gdb) quit