Skip to content

Instantly share code, notes, and snippets.

@norcalli
Created December 24, 2019 18:39
Show Gist options
  • Save norcalli/7653beed53c56d5fd91a8344ee3bc8de to your computer and use it in GitHub Desktop.
Save norcalli/7653beed53c56d5fd91a8344ee3bc8de to your computer and use it in GitHub Desktop.
GNU gdb (GDB) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/ashkan/works/3rd/neovim/build/bin/nvim...
[New LWP 2908238]
[New LWP 2908239]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `nvim'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 check_cursor_lnum () at ../src/nvim/cursor.c:338
338 if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count) {
[Current thread is 1 (Thread 0x7f5a66304780 (LWP 2908238))]
(gdb) #0 check_cursor_lnum () at ../src/nvim/cursor.c:338
No locals.
#1 0x0000556849caf248 in check_cursor () at ../src/nvim/cursor.c:422
No locals.
#2 0x0000556849f4e826 in win_close (win=0x55684a9cc8c0, free_buf=false) at ../src/nvim/window.c:2620
wp = 0x55684a9d3ee0
other_buffer = 1
close_curwin = 1
dir = 104
help_window = false
prev_curtab = 0x55684a3f21a0
win_frame = 0x0
had_diffmode = false
was_floating = true
#3 0x0000556849d4fd73 in ex_win_close (forceit=1, win=0x55684a9cc8c0, tp=0x0) at ../src/nvim/ex_docmd.c:6408
need_hide = 0
buf = 0x55684a3eeb00
#4 0x0000556849c8d47c in nvim_win_close (window=1016, force=true, err=0x7ffd9ee09a10) at ../src/nvim/api/window.c:563
win = 0x55684a9cc8c0
tabpage = 0x55684a3f21a0
tstate = {current_exception = 0x0, private_msg_list = 0x0, msg_list = 0x7ffd9ee09da8, trylevel = 1, got_int = 0, need_rethrow = 0, did_emsg = 0}
#5 0x0000556849c59381 in nlua_msgpack_nvim_win_close (lstate=0x40643378) at src/nvim/auto/msgpack_lua_c_bindings.generated.c:4816
err = {type = kErrorTypeNone, msg = 0x0}
arg2 = true
arg1 = 1016
#6 0x0000556849fe0a1b in lj_BC_FUNCC ()
No symbol table info available.
#7 0x0000556849fccafa in lua_pcall (L=0x40643378, nargs=<optimized out>, nresults=0, errfunc=<optimized out>) at lj_api.c:1129
g = 0x406433b8
oldh = 0 '\000'
ef = <optimized out>
status = <optimized out>
__PRETTY_FUNCTION__ = "lua_pcall"
#8 0x0000556849db738b in executor_exec_lua_cb (ref=29, name=0x55684a0364bb "detach", args=..., retval=false, err=0x0) at ../src/nvim/lua/executor.c:847
lstate = 0x40643378
#9 0x0000556849c9f020 in buf_updates_unregister_all (buf=0x55684a9cefa0) at ../src/nvim/buffer_updates.c:160
args = {items = 0x7ffd9ee09bf0, size = 1, capacity = 0}
items = {{type = kObjectTypeBuffer, data = {boolean = 9, integer = 9, floating = 4.4465908125712189e-323, string = {data = 0x9 <error: Cannot access memory at address 0x9>, size = 0}, array = {items = 0x9, size = 0, capacity = 0}, dictionary = {items = 0x9, size = 0, capacity = 0}, luaref = 9}}}
cb = {on_lines = -2, on_changedtick = -2, on_detach = 29, utf_sizes = false}
i = 0
size = 0
#10 0x0000556849c91ce2 in close_buffer (win=0x55684a9d3ee0, buf=0x55684a9cefa0, action=2, abort_if_last=true) at ../src/nvim/buffer.c:607
unload_buf = true
del_buf = true
wipe_buf = true
is_curwin = false
the_curwin = 0x55684a9cc8c0
the_curtab = 0x55684a3f21a0
bufref = {br_buf = 0x55684a9cefa0, br_fnum = 9, br_buf_free_count = 7}
nwindows = 1
is_curbuf = false
#11 0x0000556849f4e5a5 in win_close (win=0x55684a9d3ee0, free_buf=true) at ../src/nvim/window.c:2541
bufref = {br_buf = 0x55684a3eeb00, br_fnum = 1, br_buf_free_count = 7}
wp = 0x3f940643378
other_buffer = 0
close_curwin = 0
dir = 1245637376
help_window = false
prev_curtab = 0x55684a3f21a0
win_frame = 0x0
had_diffmode = false
was_floating = true
#12 0x0000556849d4fd73 in ex_win_close (forceit=1, win=0x55684a9d3ee0, tp=0x0) at ../src/nvim/ex_docmd.c:6408
need_hide = 0
buf = 0x55684a9cefa0
#13 0x0000556849c8d47c in nvim_win_close (window=1017, force=true, err=0x7ffd9ee09e00) at ../src/nvim/api/window.c:563
win = 0x55684a9d3ee0
tabpage = 0x55684a3f21a0
tstate = {current_exception = 0x0, private_msg_list = 0x0, msg_list = 0x7ffd9ee0a338, trylevel = 0, got_int = 0, need_rethrow = 0, did_emsg = 0}
#14 0x0000556849c59381 in nlua_msgpack_nvim_win_close (lstate=0x40643378) at src/nvim/auto/msgpack_lua_c_bindings.generated.c:4816
err = {type = kErrorTypeNone, msg = 0x0}
arg2 = true
arg1 = 1017
#15 0x0000556849fe0a1b in lj_BC_FUNCC ()
No symbol table info available.
#16 0x0000556849fccafa in lua_pcall (L=0x40643378, nargs=<optimized out>, nresults=0, errfunc=<optimized out>) at lj_api.c:1129
g = 0x406433b8
oldh = 0 '\000'
ef = <optimized out>
status = <optimized out>
__PRETTY_FUNCTION__ = "lua_pcall"
#17 0x0000556849db70c6 in typval_exec_lua (lcmd=0x55684a9b2b00 "vim.lsp.util.close_popup_by_name(\"textDocument/definition\")", lcmd_len=59, name=0x55684a050a73 ":lua", args=0x0, argcount=0, special=false, ret_tv=0x0) at ../src/nvim/lua/executor.c:791
lstate = 0x40643378
#18 0x0000556849db752f in ex_lua (eap=0x7ffd9ee09ff0) at ../src/nvim/lua/executor.c:892
len = 59
code = 0x55684a9b2b00 "vim.lsp.util.close_popup_by_name(\"textDocument/definition\")"
#19 0x0000556849d46547 in do_one_cmd (cmdlinep=0x7ffd9ee0a330, flags=7, cstack=0x7ffd9ee0a450, fgetline=0x556849d7ffd1 <getnextac>, cookie=0x7ffd9ee0aa40) at ../src/nvim/ex_docmd.c:2252
p = 0x55684a88e0a3 " vim.lsp.util.close_popup_by_name(\"textDocument/definition\")"
lnum = 93906416642752
n = 93906416642793
errormsg = 0x0
ea = {arg = 0x55684a88e0a4 "vim.lsp.util.close_popup_by_name(\"textDocument/definition\")", nextcmd = 0x0, cmd = 0x55684a88e0a0 "lua vim.lsp.util.close_popup_by_name(\"textDocument/definition\")", cmdlinep = 0x7ffd9ee0a330, cmdidx = CMD_lua, argt = 1048709, skip = 0, forceit = 0, addr_count = 0,
line1 = 1, line2 = 1, addr_type = 0, flags = 0, do_ecmd_cmd = 0x0, do_ecmd_lnum = 0, append = 0, usefilter = 0, amount = 0, regname = 0, force_bin = 0, read_edit = 0, force_ff = 0, force_enc = 0, bad_char = 0, useridx = 0, errmsg = 0x0, getline = 0x556849d7ffd1 <getnextac>, cookie = 0x7ffd9ee0aa40,
cstack = 0x7ffd9ee0a450}
save_msg_scroll = 0
parsed = {eap = 0x7ffd9ee09ff0, parsed_upto = 0x55684a88e0a3 " vim.lsp.util.close_popup_by_name(\"textDocument/definition\")", cmd = 0x55684a88e0a0 "lua vim.lsp.util.close_popup_by_name(\"textDocument/definition\")",
after_modifier = 0x55684a88e0a0 "lua vim.lsp.util.close_popup_by_name(\"textDocument/definition\")", errormsg = 0x0, cmdmod = {split = 0, tab = 0, browse = false, confirm = false, hide = false, keepalt = false, keepjumps = false, keepmarks = false, keeppatterns = false, lockmarks = false,
noswapfile = false, save_ei = 0x0, filter_regmatch = {regprog = 0x0, startp = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, endp = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, rm_ic = false}, filter_force = false}, sandbox = 0, msg_silent = 0, emsg_silent = 0, ex_pressedreturn = true,
p_verbose = 0, set_eventignore = false, verbose_save = -1, save_msg_silent = -1, did_esilent = 0, did_sandbox = false}
save_cmdmod = {split = 0, tab = 0, browse = false, confirm = false, hide = false, keepalt = false, keepjumps = false, keepmarks = false, keeppatterns = false, lockmarks = false, noswapfile = false, save_ei = 0x0, filter_regmatch = {regprog = 0x0, startp = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0}, endp = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, rm_ic = false}, filter_force = false}
save_reg_executing = 0
parse_success = true
ni = 0
#20 0x0000556849d42726 in do_cmdline (cmdline=0x0, fgetline=0x556849d7ffd1 <getnextac>, cookie=0x7ffd9ee0aa40, flags=7) at ../src/nvim/ex_docmd.c:618
next_cmdline = 0x55684a88e0a0 "lua vim.lsp.util.close_popup_by_name(\"textDocument/definition\")"
cmdline_copy = 0x55684a88e0a0 "lua vim.lsp.util.close_popup_by_name(\"textDocument/definition\")"
used_getline = 1
recursive = 1
msg_didout_before_start = 0
count = 2
did_inc = 0
retval = 1
cstack = {cs_flags = {1241770944, 21864, 1241770944, 73542, 1242811360, 21864, 0, 0, -1629444352, 32765, 0, 0, -1629444336, 32765, 0, 0, 1, 0, 1251678819, 21864, 0, 0, 0, 0, 1025, 304, 1718245856, 73084, 16384, 0, 1718245856, 32602, 16400, 0, 1025, 0, 114, 0, 1716973112, 32602, 16384, 0, 1718245952,
32602, 114, 32765, 0, 21864, 7, 0}, cs_pending = "\016\350=JhU", '\000' <repeats 11 times>, "@\000\000\000\000\000\000\240\306\304IhU\000\000\b\000>JhU\000\000\060@\000\000\000\000\000\000\000\001", cs_pend = {csp_rv = {0x13000000401, 0x0, 0x4, 0x20, 0x770000007c, 0x7b00000072, 0x0, 0x0, 0x0, 0x0,
0x7ffd9ee0c0e0, 0xf68fb8526e670000, 0x0, 0x556849c4c6a0 <_start>, 0x7ffd9ee0a8f0, 0x556849d1e12d <encode_vim_to_nothing+157>, 0x7ffd9ee0a900, 0x55684a03ebc0, 0x55684a13cbe0 <vimvars+3200>, 0x0, 0x55684a13cba8 <vimvars+3144>, 0x11f4600000000, 0x2e9ee0c0e0, 0x11f444a9a7c93, 0x0,
0x556849de6f38 <xfree+24>, 0x0, 0x55684a9d65c0, 0x7ffd9ee0a7c0, 0xf68fb8526e670000, 0x7ffd9ee0a6a0, 0x556849e80cce <skip_to_start+89>, 0x7ffd9ee0a6d0, 0x7ffd9ee0a6c0, 0x55684a9c6a64, 0xf68fb8526e670000, 0x55684a9c6a40, 0x0, 0x24, 0x7ffd9ee0a6c0, 0x55684a0471c3, 0x7ffd9ee0a840, 0x55684a9c6a40,
0x7f5a6656340a <__vsnprintf_internal+170>, 0x55684a3ec220, 0x7ffd9ee0a7b0, 0xfbad8001, 0x55684a9c6a40, 0x55684a9c6a40, 0x55684a9c6a40}, csp_ex = {0x13000000401, 0x0, 0x4, 0x20, 0x770000007c, 0x7b00000072, 0x0, 0x0, 0x0, 0x0, 0x7ffd9ee0c0e0, 0xf68fb8526e670000, 0x0, 0x556849c4c6a0 <_start>,
0x7ffd9ee0a8f0, 0x556849d1e12d <encode_vim_to_nothing+157>, 0x7ffd9ee0a900, 0x55684a03ebc0, 0x55684a13cbe0 <vimvars+3200>, 0x0, 0x55684a13cba8 <vimvars+3144>, 0x11f4600000000, 0x2e9ee0c0e0, 0x11f444a9a7c93, 0x0, 0x556849de6f38 <xfree+24>, 0x0, 0x55684a9d65c0, 0x7ffd9ee0a7c0, 0xf68fb8526e670000,
0x7ffd9ee0a6a0, 0x556849e80cce <skip_to_start+89>, 0x7ffd9ee0a6d0, 0x7ffd9ee0a6c0, 0x55684a9c6a64, 0xf68fb8526e670000, 0x55684a9c6a40, 0x0, 0x24, 0x7ffd9ee0a6c0, 0x55684a0471c3, 0x7ffd9ee0a840, 0x55684a9c6a40, 0x7f5a6656340a <__vsnprintf_internal+170>, 0x55684a3ec220, 0x7ffd9ee0a7b0, 0xfbad8001,
0x55684a9c6a40, 0x55684a9c6a40, 0x55684a9c6a40}}, cs_forinfo = {0x55684a9c6a40, 0x55684a9c6a60, 0x55684a9c6a64, 0x55684a9c6a40, 0x55684a9c6a64, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8000000000, 0x7ffd9ee0a7f0, 0x55684a410000, 0x0, 0xd, 0x100670000, 0xffffffffffffffff, 0x0, 0x7ffd9ee0a7a0,
0x556849d1eed7 <tv_clear+53>, 0x7ffdffffffff, 0xf68fb8526e670000, 0x0, 0x7f5a666a7000 <_IO_strn_jumps>, 0x0, 0x55684a3f9780, 0x2, 0x55684a3ebffb, 0x7ffd9ee0a910, 0x7f5a6651b297 <__dcigettext+919>, 0x54552e53555f0043, 0x556800382d46, 0x7ffd9ee0a910, 0x7f5a6651b16f <__dcigettext+623>,
0x415353454d5f434c, 0xf68fb8526e670000, 0x6f6d2e, 0x18, 0x7ffd9ee0a970, 0x556849c4c6a0 <_start>, 0x7ffd9ee0c0e0, 0x0, 0x0, 0x7f5a6653c326 <snprintf+150>, 0x3000000028, 0x7ffd9ee0a920, 0x7ffd9ee0a860, 0xf68fb8526e670000, 0x7ffd00000002, 0x7ffd9ee0a7f0}, cs_line = {1245626912, 21864, 1241803739, 21864,
1250054256, 21864, 0, 0, 1245626544, 21864, 5, 0, 24, 0, -1629443872, 32765, 1237632672, 21864, 1239314029, 21864, 0, 0, 37, 0, 1251764800, 21864, 37, 0, -1629443824, 32765, 1239314144, 21864, 1237632672, 21864, 37, 0, 0, 0, 1251764800, 21864, -1629443728, 32765, 1238892421, 21864, -1629443776, 0,
-1629443520, 32765, 1250056784, 21864}, cs_idx = -1, cs_looplevel = 0, cs_trylevel = 0, cs_emsg_silent_list = 0x0, cs_lflags = 0}
lines_ga = {ga_len = 0, ga_maxlen = 0, ga_itemsize = 16, ga_growsize = 10, ga_data = 0x0}
current_line = 0
fname = 0x0
breakpoint = 0x0
dbg_tick = 0x0
debug_saved = {trylevel = 0, force_abort = 0, caught_stack = 0x0, vv_exception = 0x0, vv_throwpoint = 0x0, did_emsg = 0, got_int = 0, need_rethrow = 0, check_cstack = 0, current_exception = 0x0}
initial_trylevel = 0
saved_msg_list = 0x0
private_msg_list = 0x0
cmd_getline = 0x556849d7ffd1 <getnextac>
cmd_cookie = 0x7ffd9ee0aa40
cmd_loop_cookie = {lines_gap = 0x7ffd9ee0a7e0, current_line = -1629444208, repeating = 32765, getline = 0x0, cookie = 0x7f5a666a5a40 <main_arena+96>}
real_cookie = 0x7ffd9ee0aa40
getline_is_func = 0
call_depth = 1
#21 0x0000556849d7f9e1 in apply_autocmds_group (event=EVENT_CURSORMOVED, fname=0x55684a9b1a40 "/home/ashkan/meus/dotfiles/vim/lua/init.lua", fname_io=0x0, force=false, group=-3, buf=0x55684a3eeb00, eap=0x0) at ../src/nvim/fileio.c:6969
sfname = 0x55684a7684a0 "lua/init.lua"
tail = 0x55684a9b1a63 "init.lua"
save_changed = false
old_curbuf = 0x55684a3eeb00
retval = true
save_sourcing_name = 0x0
save_sourcing_lnum = 0
save_autocmd_fname = 0x0
save_autocmd_bufnr = 0
save_autocmd_match = 0x0
save_autocmd_busy = 0
save_autocmd_nested = 0
nesting = 1
patcmd = {curpat = 0x55684a9a3280, nextcmd = 0x0, group = -3, fname = 0x55684a9b1a40 "/home/ashkan/meus/dotfiles/vim/lua/init.lua", sfname = 0x55684a7684a0 "lua/init.lua", tail = 0x55684a9b1a63 "init.lua", event = EVENT_CURSORMOVED, arg_bufnr = 1, next = 0x0}
ap = 0x55684a9a3280
save_funccalp = 0x0
save_cmdarg = 0x0
save_cmdbang = 0
filechangeshell_busy = 0
wait_time = 0
did_save_redobuff = true
save_redo = {sr_redobuff = {bh_first = {b_next = 0x0, b_str = ""}, bh_curr = 0x0, bh_index = 0, bh_space = 0}, sr_old_redobuff = {bh_first = {b_next = 0x0, b_str = ""}, bh_curr = 0x0, bh_index = 0, bh_space = 0}}
save_KeyTyped = true
save_current_sctx = {sc_sid = 0, sc_seq = 0, sc_lnum = 0}
#22 0x0000556849d7f0a2 in apply_autocmds (event=EVENT_CURSORMOVED, fname=0x0, fname_io=0x0, force=false, buf=0x55684a3eeb00) at ../src/nvim/fileio.c:6600
No locals.
#23 0x0000556849f52055 in win_enter_ext (wp=0x55684a9cc8c0, undo_sync=true, curwin_invalid=0, trigger_new_autocmds=0, trigger_enter_autocmds=1, trigger_leave_autocmds=1) at ../src/nvim/window.c:4485
other_buffer = 1
new_dir = 0x0
cwd = "/home/ashkan/meus/dotfiles/vim", '\000' <repeats 418 times>...
#24 0x0000556849f51c0a in win_enter (wp=0x55684a9cc8c0, undo_sync=true) at ../src/nvim/window.c:4381
No locals.
#25 0x0000556849f516ba in win_goto (wp=0x55684a9cc8c0) at ../src/nvim/window.c:4189
owp = 0x55684a9d3ee0
#26 0x0000556849f48b0b in do_window (nchar=23, Prenum=0, xchar=0) at ../src/nvim/window.c:254
Prenum1 = 1
wp = 0x55684a9cc8c0
ptr = 0x0
lnum = -1
type = 2
len = 0
cbuf = "\340\274\340\236\375\177\000\000\343\237\361IhU\000\000\002\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\n\000\000\000\000\000\000"
#27 0x0000556849e139e9 in nv_window (cap=0x7ffd9ee0bde8) at ../src/nvim/normal.c:6525
No locals.
#28 0x0000556849e073ea in normal_execute (state=0x7ffd9ee0bd60, key=23) at ../src/nvim/normal.c:1131
s = 0x7ffd9ee0bd60
__PRETTY_FUNCTION__ = "normal_execute"
#29 0x0000556849ee6b81 in state_enter (s=0x7ffd9ee0bd60) at ../src/nvim/state.c:69
check_result = 1
key = 23
execute_result = 1
#30 0x0000556849e056bf in normal_enter (cmdwin=false, noexmode=false) at ../src/nvim/normal.c:463
state = {state = {check = 0x556849e07878 <normal_check>, execute = 0x556849e06c57 <normal_execute>}, command_finished = false, ctrl_w = true, need_flushbuf = true, set_prevcount = false, previous_got_int = false, cmdwin = false, noexmode = false, toplevel = true, oa = {op_type = 0, regname = 0,
motion_type = kMTCharWise, motion_force = 0, use_reg_one = false, inclusive = false, end_adjusted = false, start = {lnum = 0, col = 0, coladd = 0}, end = {lnum = 0, col = 0, coladd = 0}, cursor_start = {lnum = 0, col = 0, coladd = 0}, line_count = 0, empty = false, is_VIsual = false, start_vcol = 0,
end_vcol = 0, prev_opcount = 0, prev_count0 = 0}, ca = {oap = 0x7ffd9ee0bd78, prechar = 0, cmdchar = 23, nchar = 23, ncharC1 = 0, ncharC2 = 0, extra_char = 0, opcount = 0, count0 = 0, count1 = 1, arg = 0, retval = 0, searchbuf = 0x0}, mapped_len = 0, old_mapped_len = 0, idx = 25, c = 23, old_col = 0,
old_pos = {lnum = 1, col = 0, coladd = 0}}
#31 0x0000556849dbbfab in main (argc=1, argv=0x7ffd9ee0c0e8) at ../src/nvim/main.c:577
fname = 0x0
params = {argc = 1, argv = 0x7ffd9ee0c0e8, use_vimrc = 0x0, n_commands = 0, commands = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, cmds_tofree = "\000\000\000\000\000\000\000\000\000", n_pre_commands = 0, pre_commands = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, edit_type = 0,
tagname = 0x0, use_ef = 0x0, input_isatty = true, output_isatty = true, err_isatty = true, no_swap_file = 0, use_debug_break_level = -1, window_count = 1, window_layout = 0, diff_mode = 0, listen_addr = 0x0}
cwd = 0x0
__PRETTY_FUNCTION__ = "main"
use_remote_ui = false
use_builtin_ui = true
__func__ = "main"
(gdb) #0 check_cursor_lnum () at ../src/nvim/cursor.c:338
338 if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count) {
(gdb) #1 0x0000556849caf248 in check_cursor () at ../src/nvim/cursor.c:422
422 check_cursor_lnum();
(gdb) #2 0x0000556849f4e826 in win_close (win=0x55684a9cc8c0, free_buf=false) at ../src/nvim/window.c:2620
2620 check_cursor();
(gdb) #3 0x0000556849d4fd73 in ex_win_close (forceit=1, win=0x55684a9cc8c0, tp=0x0) at ../src/nvim/ex_docmd.c:6408
6408 win_close(win, !need_hide && !buf_hide(buf));
(gdb) #4 0x0000556849c8d47c in nvim_win_close (window=1016, force=true, err=0x7ffd9ee09a10) at ../src/nvim/api/window.c:563
563 ex_win_close(force, win, tabpage == curtab ? NULL : tabpage);
(gdb) #5 0x0000556849c59381 in nlua_msgpack_nvim_win_close (lstate=0x40643378) at src/nvim/auto/msgpack_lua_c_bindings.generated.c:4816
4816 nvim_win_close(arg1, arg2, &err);
(gdb) #6 0x0000556849fe0a1b in lj_BC_FUNCC ()
(gdb) #7 0x0000556849fccafa in lua_pcall (L=0x40643378, nargs=<optimized out>, nresults=0, errfunc=<optimized out>) at lj_api.c:1129
1129 status = lj_vm_pcall(L, api_call_base(L, nargs), nresults+1, ef);
(gdb) #8 0x0000556849db738b in executor_exec_lua_cb (ref=29, name=0x55684a0364bb "detach", args=..., retval=false, err=0x0) at ../src/nvim/lua/executor.c:847
847 if (lua_pcall(lstate, (int)args.size+1, retval ? 1 : 0, 0)) {
(gdb) #9 0x0000556849c9f020 in buf_updates_unregister_all (buf=0x55684a9cefa0) at ../src/nvim/buffer_updates.c:160
160 executor_exec_lua_cb(cb.on_detach, "detach", args, false, NULL);
(gdb) #10 0x0000556849c91ce2 in close_buffer (win=0x55684a9d3ee0, buf=0x55684a9cefa0, action=2, abort_if_last=true) at ../src/nvim/buffer.c:607
607 buf_updates_unregister_all(buf);
(gdb) #11 0x0000556849f4e5a5 in win_close (win=0x55684a9d3ee0, free_buf=true) at ../src/nvim/window.c:2541
2541 close_buffer(win, win->w_buffer, free_buf ? DOBUF_UNLOAD : 0, true);
(gdb) #12 0x0000556849d4fd73 in ex_win_close (forceit=1, win=0x55684a9d3ee0, tp=0x0) at ../src/nvim/ex_docmd.c:6408
6408 win_close(win, !need_hide && !buf_hide(buf));
(gdb) #13 0x0000556849c8d47c in nvim_win_close (window=1017, force=true, err=0x7ffd9ee09e00) at ../src/nvim/api/window.c:563
563 ex_win_close(force, win, tabpage == curtab ? NULL : tabpage);
(gdb) #14 0x0000556849c59381 in nlua_msgpack_nvim_win_close (lstate=0x40643378) at src/nvim/auto/msgpack_lua_c_bindings.generated.c:4816
4816 nvim_win_close(arg1, arg2, &err);
(gdb) #15 0x0000556849fe0a1b in lj_BC_FUNCC ()
(gdb) quit
PID: 2908238 (nvim)
UID: 1000 (ashkan)
GID: 1000 (ashkan)
Signal: 11 (SEGV)
Timestamp: Tue 2019-12-24 10:38:50 PST (18s ago)
Command Line: nvim
Executable: /home/ashkan/works/3rd/neovim/build/bin/nvim
Control Group: /user.slice/user-1000.slice/session-1.scope
Unit: session-1.scope
Slice: user-1000.slice
Session: 1
Owner UID: 1000 (ashkan)
Boot ID: e843938073b843adb1bb280bb692c347
Machine ID: 31f12102597b4dffb7b09d6c695b4971
Hostname: zephyr
Storage: /var/lib/systemd/coredump/core.nvim.1000.e843938073b843adb1bb280bb692c347.2908238.1577212730000000000000.lz4
Message: Process 2908238 (nvim) of user 1000 dumped core.
Stack trace of thread 2908238:
#0 0x0000556849caef62 n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim + 0xecf62)
#1 0x0000556849caf248 n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim + 0xed248)
#2 0x0000556849f4e826 n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim + 0x38c826)
#3 0x0000556849d4fd73 n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim + 0x18dd73)
#4 0x0000556849c8d47c n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim + 0xcb47c)
#5 0x0000556849c59381 n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim + 0x97381)
#6 0x0000556849fe0a1b n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim + 0x41ea1b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment