Skip to content

Instantly share code, notes, and snippets.

@justinmk
Created November 25, 2019 07:30
Show Gist options
  • Save justinmk/ae3ab28f8699a201807be135a16a12be to your computer and use it in GitHub Desktop.
Save justinmk/ae3ab28f8699a201807be135a16a12be to your computer and use it in GitHub Desktop.
Failed: F /tests/oldtests|test_cmdline :: Nvim exited with non-zero code
-tests-oldtests-test-cmdline
=================================================================
==25404==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 48 byte(s) in 1 object(s) allocated from:
#0 0x4c5e63 in malloc /tmp/final/llvm.src/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x1118dd4 in try_malloc /home/travis/build/neovim/neovim/build/../src/nvim/memory.c:71:15
#2 0x1118f9c in xmalloc /home/travis/build/neovim/neovim/build/../src/nvim/memory.c:105:15
#3 0xcd7db1 in throw_exception /home/travis/build/neovim/neovim/build/../src/nvim/ex_eval.c:467:10
#4 0xcd7727 in do_errthrow /home/travis/build/neovim/neovim/build/../src/nvim/ex_eval.c:326:7
#5 0xc31b8a in do_one_cmd /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:2292:3
#6 0xc198be in do_cmdline /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:621:20
#7 0x126797d in nv_colon /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:4610:18
#8 0x12515b9 in normal_execute /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:1131:3
#9 0x18fdb45 in state_enter /home/travis/build/neovim/neovim/build/../src/nvim/state.c:69:26
#10 0x120a1f9 in normal_enter /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:463:3
#11 0xd56529 in open_cmdwin /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:6188:3
#12 0xd48e26 in command_line_execute /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:883:14
#13 0x18fdb45 in state_enter /home/travis/build/neovim/neovim/build/../src/nvim/state.c:69:26
#14 0xcff97e in command_line_enter /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:411:3
#15 0xcf8ddd in getcmdline /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:2008:20
#16 0xd03723 in getexline /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:2187:10
#17 0xc18bfb in do_cmdline /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:539:30
#18 0x126797d in nv_colon /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:4610:18
#19 0x12515b9 in normal_execute /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:1131:3
#20 0x1248b7f in normal_cmd /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:8069:9
#21 0xc71f16 in exec_normal /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:8517:5
#22 0x67518c in nvim_feedkeys /home/travis/build/neovim/neovim/build/../src/nvim/api/vim.c:191:5
#23 0x9dd2e8 in f_feedkeys /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:9165:3
#24 0x8c810f in call_func /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:6686:11
#25 0x8dbf97 in get_func_tv /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:6421:11
#26 0x8d47ce in ex_call /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:3030:9
#27 0xc30d4b in do_one_cmd /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:2252:5
#28 0xc198be in do_cmdline /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:621:20
#29 0x8fc7fd in call_user_func /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:23321:3
Indirect leak of 75 byte(s) in 1 object(s) allocated from:
#0 0x4c5e63 in malloc /tmp/final/llvm.src/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x1118dd4 in try_malloc /home/travis/build/neovim/neovim/build/../src/nvim/memory.c:71:15
#2 0x1118f9c in xmalloc /home/travis/build/neovim/neovim/build/../src/nvim/memory.c:105:15
#3 0x1119582 in xmallocz /home/travis/build/neovim/neovim/build/../src/nvim/memory.c:182:15
#4 0x18ffbce in vim_strnsave /home/travis/build/neovim/neovim/build/../src/nvim/strings.c:69:28
#5 0xcda01b in get_exception_string /home/travis/build/neovim/neovim/build/../src/nvim/ex_eval.c:396:13
#6 0xcd7ec8 in throw_exception /home/travis/build/neovim/neovim/build/../src/nvim/ex_eval.c:474:17
#7 0xcd7727 in do_errthrow /home/travis/build/neovim/neovim/build/../src/nvim/ex_eval.c:326:7
#8 0xc31b8a in do_one_cmd /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:2292:3
#9 0xc198be in do_cmdline /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:621:20
#10 0x126797d in nv_colon /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:4610:18
#11 0x12515b9 in normal_execute /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:1131:3
#12 0x18fdb45 in state_enter /home/travis/build/neovim/neovim/build/../src/nvim/state.c:69:26
#13 0x120a1f9 in normal_enter /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:463:3
#14 0xd56529 in open_cmdwin /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:6188:3
#15 0xd48e26 in command_line_execute /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:883:14
#16 0x18fdb45 in state_enter /home/travis/build/neovim/neovim/build/../src/nvim/state.c:69:26
#17 0xcff97e in command_line_enter /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:411:3
#18 0xcf8ddd in getcmdline /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:2008:20
#19 0xd03723 in getexline /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:2187:10
#20 0xc18bfb in do_cmdline /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:539:30
#21 0x126797d in nv_colon /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:4610:18
#22 0x12515b9 in normal_execute /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:1131:3
#23 0x1248b7f in normal_cmd /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:8069:9
#24 0xc71f16 in exec_normal /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:8517:5
#25 0x67518c in nvim_feedkeys /home/travis/build/neovim/neovim/build/../src/nvim/api/vim.c:191:5
#26 0x9dd2e8 in f_feedkeys /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:9165:3
#27 0x8c810f in call_func /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:6686:11
#28 0x8dbf97 in get_func_tv /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:6421:11
#29 0x8d47ce in ex_call /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:3030:9
Indirect leak of 65 byte(s) in 1 object(s) allocated from:
#0 0x4c5e63 in malloc /tmp/final/llvm.src/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x1118dd4 in try_malloc /home/travis/build/neovim/neovim/build/../src/nvim/memory.c:71:15
#2 0x1118f9c in xmalloc /home/travis/build/neovim/neovim/build/../src/nvim/memory.c:105:15
#3 0x1119582 in xmallocz /home/travis/build/neovim/neovim/build/../src/nvim/memory.c:182:15
#4 0x11196ee in xmemdupz /home/travis/build/neovim/neovim/build/../src/nvim/memory.c:200:17
#5 0x111ac18 in xstrdup /home/travis/build/neovim/neovim/build/../src/nvim/memory.c:419:10
#6 0x18ffb43 in vim_strsave /home/travis/build/neovim/neovim/build/../src/nvim/strings.c:58:20
#7 0xcd63f1 in cause_errthrow /home/travis/build/neovim/neovim/build/../src/nvim/ex_eval.c:255:19
#8 0x1143b81 in emsg_multiline /home/travis/build/neovim/neovim/build/../src/nvim/message.c:632:9
#9 0x1143806 in emsg /home/travis/build/neovim/neovim/build/../src/nvim/message.c:732:10
#10 0xa228f0 in f_win_gotoid /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:19043:5
#11 0x8c810f in call_func /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:6686:11
#12 0x8dbf97 in get_func_tv /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:6421:11
#13 0x8d47ce in ex_call /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:3030:9
#14 0xc30d4b in do_one_cmd /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:2252:5
#15 0xc198be in do_cmdline /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:621:20
#16 0x126797d in nv_colon /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:4610:18
#17 0x12515b9 in normal_execute /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:1131:3
#18 0x18fdb45 in state_enter /home/travis/build/neovim/neovim/build/../src/nvim/state.c:69:26
#19 0x120a1f9 in normal_enter /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:463:3
#20 0xd56529 in open_cmdwin /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:6188:3
#21 0xd48e26 in command_line_execute /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:883:14
#22 0x18fdb45 in state_enter /home/travis/build/neovim/neovim/build/../src/nvim/state.c:69:26
#23 0xcff97e in command_line_enter /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:411:3
#24 0xcf8ddd in getcmdline /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:2008:20
#25 0xd03723 in getexline /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:2187:10
#26 0xc18bfb in do_cmdline /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:539:30
#27 0x126797d in nv_colon /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:4610:18
#28 0x12515b9 in normal_execute /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:1131:3
#29 0x1248b7f in normal_cmd /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:8069:9
Indirect leak of 41 byte(s) in 1 object(s) allocated from:
#0 0x4c5e63 in malloc /tmp/final/llvm.src/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x1118dd4 in try_malloc /home/travis/build/neovim/neovim/build/../src/nvim/memory.c:71:15
#2 0x1118f9c in xmalloc /home/travis/build/neovim/neovim/build/../src/nvim/memory.c:105:15
#3 0x1119582 in xmallocz /home/travis/build/neovim/neovim/build/../src/nvim/memory.c:182:15
#4 0x11196ee in xmemdupz /home/travis/build/neovim/neovim/build/../src/nvim/memory.c:200:17
#5 0x111ac18 in xstrdup /home/travis/build/neovim/neovim/build/../src/nvim/memory.c:419:10
#6 0x18ffb43 in vim_strsave /home/travis/build/neovim/neovim/build/../src/nvim/strings.c:58:20
#7 0xcd8296 in throw_exception /home/travis/build/neovim/neovim/build/../src/nvim/ex_eval.c:479:22
#8 0xcd7727 in do_errthrow /home/travis/build/neovim/neovim/build/../src/nvim/ex_eval.c:326:7
#9 0xc31b8a in do_one_cmd /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:2292:3
#10 0xc198be in do_cmdline /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:621:20
#11 0x126797d in nv_colon /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:4610:18
#12 0x12515b9 in normal_execute /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:1131:3
#13 0x18fdb45 in state_enter /home/travis/build/neovim/neovim/build/../src/nvim/state.c:69:26
#14 0x120a1f9 in normal_enter /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:463:3
#15 0xd56529 in open_cmdwin /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:6188:3
#16 0xd48e26 in command_line_execute /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:883:14
#17 0x18fdb45 in state_enter /home/travis/build/neovim/neovim/build/../src/nvim/state.c:69:26
#18 0xcff97e in command_line_enter /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:411:3
#19 0xcf8ddd in getcmdline /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:2008:20
#20 0xd03723 in getexline /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:2187:10
#21 0xc18bfb in do_cmdline /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:539:30
#22 0x126797d in nv_colon /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:4610:18
#23 0x12515b9 in normal_execute /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:1131:3
#24 0x1248b7f in normal_cmd /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:8069:9
#25 0xc71f16 in exec_normal /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:8517:5
#26 0x67518c in nvim_feedkeys /home/travis/build/neovim/neovim/build/../src/nvim/api/vim.c:191:5
#27 0x9dd2e8 in f_feedkeys /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:9165:3
#28 0x8c810f in call_func /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:6686:11
#29 0x8dbf97 in get_func_tv /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:6421:11
Indirect leak of 24 byte(s) in 1 object(s) allocated from:
#0 0x4c5e63 in malloc /tmp/final/llvm.src/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x1118dd4 in try_malloc /home/travis/build/neovim/neovim/build/../src/nvim/memory.c:71:15
#2 0x1118f9c in xmalloc /home/travis/build/neovim/neovim/build/../src/nvim/memory.c:105:15
#3 0xcd63b5 in cause_errthrow /home/travis/build/neovim/neovim/build/../src/nvim/ex_eval.c:254:14
#4 0x1143b81 in emsg_multiline /home/travis/build/neovim/neovim/build/../src/nvim/message.c:632:9
#5 0x1143806 in emsg /home/travis/build/neovim/neovim/build/../src/nvim/message.c:732:10
#6 0xa228f0 in f_win_gotoid /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:19043:5
#7 0x8c810f in call_func /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:6686:11
#8 0x8dbf97 in get_func_tv /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:6421:11
#9 0x8d47ce in ex_call /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:3030:9
#10 0xc30d4b in do_one_cmd /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:2252:5
#11 0xc198be in do_cmdline /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:621:20
#12 0x126797d in nv_colon /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:4610:18
#13 0x12515b9 in normal_execute /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:1131:3
#14 0x18fdb45 in state_enter /home/travis/build/neovim/neovim/build/../src/nvim/state.c:69:26
#15 0x120a1f9 in normal_enter /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:463:3
#16 0xd56529 in open_cmdwin /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:6188:3
#17 0xd48e26 in command_line_execute /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:883:14
#18 0x18fdb45 in state_enter /home/travis/build/neovim/neovim/build/../src/nvim/state.c:69:26
#19 0xcff97e in command_line_enter /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:411:3
#20 0xcf8ddd in getcmdline /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:2008:20
#21 0xd03723 in getexline /home/travis/build/neovim/neovim/build/../src/nvim/ex_getln.c:2187:10
#22 0xc18bfb in do_cmdline /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:539:30
#23 0x126797d in nv_colon /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:4610:18
#24 0x12515b9 in normal_execute /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:1131:3
#25 0x1248b7f in normal_cmd /home/travis/build/neovim/neovim/build/../src/nvim/normal.c:8069:9
#26 0xc71f16 in exec_normal /home/travis/build/neovim/neovim/build/../src/nvim/ex_docmd.c:8517:5
#27 0x67518c in nvim_feedkeys /home/travis/build/neovim/neovim/build/../src/nvim/api/vim.c:191:5
#28 0x9dd2e8 in f_feedkeys /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:9165:3
#29 0x8c810f in call_func /home/travis/build/neovim/neovim/build/../src/nvim/eval.c:6686:11
SUMMARY: AddressSanitizer: 253 byte(s) leaked in 5 allocation(s).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment