Created
December 12, 2019 21:05
-
-
Save norcalli/99349266d83b5bf13e064a9feb6390bc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 3816360] | |
| [New LWP 3816361] | |
| [Thread debugging using libthread_db enabled] | |
| Using host libthread_db library "/usr/lib/libthread_db.so.1". | |
| Core was generated by `/home/ashkan/works/3rd/neovim/build/bin/nvim'. | |
| Program terminated with signal SIGSEGV, Segmentation fault. | |
| #0 0x00007fa57c125918 in __memmove_avx_unaligned_erms () from /usr/lib/libc.so.6 | |
| [Current thread is 1 (Thread 0x7fa57bde0780 (LWP 3816360))] | |
| (gdb) #0 0x00007fa57c125918 in __memmove_avx_unaligned_erms () from /usr/lib/libc.so.6 | |
| No symbol table info available. | |
| #1 0x000056259c02c717 in __kb_putp_aux_bufhl (b=0x56259e5e7060, x=0x56259e93bee0, k=0x7ffface31160) at ../src/nvim/bufhl_defs.h:39 | |
| i = 0 | |
| ret = 0x56259c18316a <try_malloc+46> | |
| #2 0x000056259c02c905 in kb_putp_bufhl (b=0x56259e5e7060, k=0x7ffface31160) at ../src/nvim/bufhl_defs.h:39 | |
| r = 0x56259e93bee0 | |
| s = 0x56259c1831dd <xmalloc+24> | |
| #3 0x000056259c02c92a in kb_put_bufhl (b=0x56259e5e7060, k=0x56259e748d20) at ../src/nvim/bufhl_defs.h:39 | |
| No locals. | |
| #4 0x000056259c039839 in bufhl_tree_ref (b=0x56259e5e7060, line=387, put=true) at ../src/nvim/buffer.c:5367 | |
| t = {line = 387, items = {size = 0, capacity = 0, items = 0x0}, virt_text_src = 0, virt_text = {size = 0, capacity = 0, items = 0x0}} | |
| pp = 0x0 | |
| p = 0x56259e748d20 | |
| #5 0x000056259c0398ce in bufhl_add_hl (buf=0x56259e5e4210, src_id=2, hl_id=778, lnum=387, col_start=2, col_end=8) at ../src/nvim/buffer.c:5409 | |
| lineinfo = 0x13ace31300 | |
| hlentry = 0x56259e75a840 | |
| #6 0x000056259bffbb4c in nvim_buf_add_highlight (buffer=2, ns_id=2, hl_group=..., line=386, col_start=1, col_end=8, err=0x7ffface31300) at ../src/nvim/api/buffer.c:1323 | |
| buf = 0x56259e5e4210 | |
| hlg_id = 778 | |
| #7 0x000056259c2f5a7c in nlua_msgpack_nvim_buf_add_highlight (lstate=0x4195a378) at src/nvim/auto/msgpack_lua_c_bindings.generated.c:1150 | |
| err = {type = kErrorTypeNone, msg = 0x0} | |
| arg6 = 8 | |
| arg5 = 1 | |
| arg4 = 386 | |
| arg3 = {data = 0x56259e75a840 "colorizer_mb_fbfd8e", size = 19} | |
| arg2 = 2 | |
| arg1 = 2 | |
| ret = 1087492928 | |
| #8 0x000056259c38e97b in lj_BC_FUNCC () | |
| No symbol table info available. | |
| #9 0x000056259c37aa5a in lua_pcall (L=0x4195a378, nargs=<optimized out>, nresults=1, errfunc=<optimized out>) at lj_api.c:1129 | |
| g = 0x4195a3b8 | |
| oldh = 0 '\000' | |
| ef = <optimized out> | |
| status = <optimized out> | |
| __PRETTY_FUNCTION__ = "lua_pcall" | |
| #10 0x000056259c153c8c in executor_exec_lua_cb (ref=2, name=0x56259c3e3a56 "lines", args=..., retval=true) at ../src/nvim/lua/executor.c:851 | |
| lstate = 0x4195a378 | |
| err = {type = -1639487360, msg = 0x56259e6f7bf0 "?"} | |
| #11 0x000056259c03c760 in buf_updates_send_changes (buf=0x56259e5e4210, firstline=1, num_added=3094, num_removed=0, send_tick=true) at ../src/nvim/buffer_updates.c:268 | |
| args = {items = 0x7ffface31540, size = 6, capacity = 0} | |
| items = {{type = kObjectTypeBuffer, data = {boolean = 2, integer = 2, floating = 9.8813129168249309e-324, string = {data = 0x2 <error: Cannot access memory at address 0x2>, size = 0}, array = {items = 0x2, size = 0, capacity = 0}, dictionary = {items = 0x2, size = 0, capacity = 0}, luaref = 2}}, { | |
| type = kObjectTypeInteger, data = {boolean = 199, integer = 199, floating = 9.8319063522408062e-322, string = {data = 0xc7 <error: Cannot access memory at address 0xc7>, size = 0}, array = {items = 0xc7, size = 0, capacity = 0}, dictionary = {items = 0xc7, size = 0, capacity = 0}, luaref = 199}}, { | |
| type = kObjectTypeInteger, data = {boolean = false, integer = 0, floating = 0, string = {data = 0x0, size = 0}, array = {items = 0x0, size = 0, capacity = 0}, dictionary = {items = 0x0, size = 0, capacity = 0}, luaref = 0}}, {type = kObjectTypeInteger, data = {boolean = false, integer = 0, | |
| floating = 0, string = {data = 0x0, size = 0}, array = {items = 0x0, size = 0, capacity = 0}, dictionary = {items = 0x0, size = 0, capacity = 0}, luaref = 0}}, {type = kObjectTypeInteger, data = {boolean = 22, integer = 3094, floating = 1.5286391082328168e-320, string = { | |
| data = 0xc16 <error: Cannot access memory at address 0xc16>, size = 0}, array = {items = 0xc16, size = 0, capacity = 0}, dictionary = {items = 0xc16, size = 0, capacity = 0}, luaref = 3094}}, {type = kObjectTypeInteger, data = {boolean = false, integer = 0, floating = 0, string = {data = 0x0, | |
| size = 0}, array = {items = 0x0, size = 0, capacity = 0}, dictionary = {items = 0x0, size = 0, capacity = 0}, luaref = 0}}, {type = 2658533648, data = {boolean = 96, integer = 94719570792800, floating = 4.6797685917550405e-310, string = {data = 0x56259e5ed160 "tp\031", size = 8589934593}, array = { | |
| items = 0x56259e5ed160, size = 8589934593, capacity = 0}, dictionary = {items = 0x56259e5ed160, size = 8589934593, capacity = 0}, luaref = -1637953184}}, {type = kObjectTypeNil, data = {boolean = false, integer = 0, floating = 0, string = {data = 0x0, size = 0}, array = {items = 0x0, size = 0, | |
| capacity = 94719570757600}, dictionary = {items = 0x0, size = 0, capacity = 94719570757600}, luaref = 0}}} | |
| res = {type = 2900563264, data = {boolean = 242, integer = 94719532196338, floating = 4.679766684836448e-310, string = {data = 0x56259c11e1f2 <hasAnyFolding+58> "\205\300t\016H\213E\370\213\200@\003", size = 2147483647}, array = {items = 0x56259c11e1f2 <hasAnyFolding+58>, size = 2147483647, | |
| capacity = 94719570782848}, dictionary = {items = 0x56259c11e1f2 <hasAnyFolding+58>, size = 2147483647, capacity = 94719570782848}, luaref = -1676549646}} | |
| cb = {on_lines = 2, on_changedtick = -2, on_detach = 5, utf_sizes = false} | |
| keep = true | |
| i = 0 | |
| deleted_codepoints = 0 | |
| deleted_codeunits = 0 | |
| deleted_bytes = 0 | |
| badchannelid = 0 | |
| __func__ = "buf_updates_send_changes" | |
| j = 0 | |
| #12 0x000056259c03e75f in changed_lines (lnum=1, col=0, lnume=1, xtra=3094, do_buf_event=true) at ../src/nvim/change.c:497 | |
| num_added = 3094 | |
| num_removed = 0 | |
| #13 0x000056259c2bffed in u_undoredo (undo=1, do_buf_event=true) at ../src/nvim/undo.c:2256 | |
| newarray = 0x0 | |
| oldsize = 0 | |
| newsize = 3094 | |
| top = 0 | |
| bot = 1 | |
| lnum = 3094 | |
| newlnum = 0 | |
| i = 3094 | |
| uep = 0x56259e93f890 | |
| nuep = 0x7ffface31930 | |
| newlist = 0x0 | |
| old_flags = 1 | |
| new_flags = 1 | |
| namedm = {{mark = {lnum = 0, col = 0, coladd = 0}, fnum = 0, timestamp = 0, additional_data = 0x0} <repeats 26 times>} | |
| visualinfo = {vi_start = {lnum = 1, col = 1137, coladd = 0}, vi_end = {lnum = 1, col = 0, coladd = 0}, vi_mode = 118, vi_curswant = 0} | |
| empty_buffer = false | |
| curhead = 0x56259e480ed0 | |
| undo_info = {type = kColAdjust, data = {adjust = {line1 = 123, line2 = 341, amount = 342, amount_after = 342}, col_adjust = {lnum = 123, mincol = 341, col_amount = 342, lnum_amount = 342}, col_adjust_delete = {lnum = 123, mincol = 341, endcol = 0, eol = 342}, move = {line1 = 123, line2 = 341, | |
| last_line = 342, dest = 342, num_lines = 0, extra = 0}, set = {ns_id = 123, mark_id = 341, lnum = 342, col = 342}, update = {ns_id = 123, mark_id = 341, old_lnum = 342, old_col = 342, lnum = 0, col = 0}, copy = {ns_id = 123, mark_id = 341, lnum = 342, col = 342}, copy_place = {l_lnum = 123, | |
| l_col = 341, u_lnum = 342, u_col = 342, p_lnum = 0, p_col = 0}, clear = {ns_id = 123, l_lnum = 341, u_lnum = 342}}} | |
| #14 0x000056259c2bee41 in u_doit (startcount=1, quiet=false, do_buf_event=true) at ../src/nvim/undo.c:1769 | |
| count = 0 | |
| #15 0x000056259c2beaa0 in u_undo (count=1) at ../src/nvim/undo.c:1667 | |
| No locals. | |
| #16 0x000056259c1ae51e in nv_kundo (cap=0x7ffface31d78) at ../src/nvim/normal.c:5849 | |
| No locals. | |
| #17 0x000056259c1ae4e9 in nv_undo (cap=0x7ffface31d78) at ../src/nvim/normal.c:5840 | |
| No locals. | |
| #18 0x000056259c1a36e7 in normal_execute (state=0x7ffface31cf0, key=117) at ../src/nvim/normal.c:1131 | |
| s = 0x7ffface31cf0 | |
| __PRETTY_FUNCTION__ = "normal_execute" | |
| #19 0x000056259c281f58 in state_enter (s=0x7ffface31cf0) at ../src/nvim/state.c:69 | |
| check_result = 1 | |
| key = 117 | |
| execute_result = 1 | |
| #20 0x000056259c1a19bc in normal_enter (cmdwin=false, noexmode=false) at ../src/nvim/normal.c:463 | |
| state = {state = {check = 0x56259c1a3b75 <normal_check>, execute = 0x56259c1a2f54 <normal_execute>}, command_finished = false, ctrl_w = false, need_flushbuf = true, set_prevcount = false, previous_got_int = false, cmdwin = false, noexmode = false, toplevel = true, oa = {op_type = 0, regname = 0, | |
| motion_type = kMTLineWise, motion_force = 0, use_reg_one = false, inclusive = false, end_adjusted = false, start = {lnum = 1, col = 0, coladd = 0}, end = {lnum = 1, col = 2, coladd = 0}, cursor_start = {lnum = 1, col = 2, coladd = 0}, line_count = 1, empty = false, is_VIsual = false, start_vcol = 0, | |
| end_vcol = 0, prev_opcount = 0, prev_count0 = 0}, ca = {oap = 0x7ffface31d08, prechar = 0, cmdchar = 117, nchar = 0, ncharC1 = 0, ncharC2 = 0, extra_char = 0, opcount = 0, count0 = 0, count1 = 1, arg = 0, retval = 0, searchbuf = 0x0}, mapped_len = 1, old_mapped_len = 0, idx = 118, c = 117, | |
| old_col = 0, old_pos = {lnum = 2, col = 0, coladd = 0}} | |
| #21 0x000056259c158321 in main (argc=1, argv=0x7ffface32078) at ../src/nvim/main.c:577 | |
| fname = 0x0 | |
| params = {argc = 1, argv = 0x7ffface32078, 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 0x00007fa57c125918 in __memmove_avx_unaligned_erms () from /usr/lib/libc.so.6 | |
| (gdb) #1 0x000056259c02c717 in __kb_putp_aux_bufhl (b=0x56259e5e7060, x=0x56259e93bee0, k=0x7ffface31160) at ../src/nvim/bufhl_defs.h:39 | |
| 39 KBTREE_INIT(bufhl, BufhlLine *, BUFHL_CMP, 10) // -V512 | |
| (gdb) #2 0x000056259c02c905 in kb_putp_bufhl (b=0x56259e5e7060, k=0x7ffface31160) at ../src/nvim/bufhl_defs.h:39 | |
| 39 KBTREE_INIT(bufhl, BufhlLine *, BUFHL_CMP, 10) // -V512 | |
| (gdb) #3 0x000056259c02c92a in kb_put_bufhl (b=0x56259e5e7060, k=0x56259e748d20) at ../src/nvim/bufhl_defs.h:39 | |
| 39 KBTREE_INIT(bufhl, BufhlLine *, BUFHL_CMP, 10) // -V512 | |
| (gdb) #4 0x000056259c039839 in bufhl_tree_ref (b=0x56259e5e7060, line=387, put=true) at ../src/nvim/buffer.c:5367 | |
| 5367 kb_put(bufhl, b, p); | |
| (gdb) quit | |
| PID: 3816360 (nvim) | |
| UID: 1000 (ashkan) | |
| GID: 1000 (ashkan) | |
| Signal: 11 (SEGV) | |
| Timestamp: Thu 2019-12-12 12:56:57 PST (8min ago) | |
| Command Line: /home/ashkan/works/3rd/neovim/build/bin/nvim | |
| Executable: /home/ashkan/works/3rd/neovim/build/bin/nvim | |
| Control Group: /user.slice/user-1000.slice/session-12.scope | |
| Unit: session-12.scope | |
| Slice: user-1000.slice | |
| Session: 12 | |
| Owner UID: 1000 (ashkan) | |
| Boot ID: 1aa939ce9a53449985ddd157bd65dd76 | |
| Machine ID: 31f12102597b4dffb7b09d6c695b4971 | |
| Hostname: zephyr | |
| Storage: /var/lib/systemd/coredump/core.nvim.1000.1aa939ce9a53449985ddd157bd65dd76.3816360.1576184217000000000000.lz4 | |
| Message: Process 3816360 (nvim) of user 1000 dumped core. | |
| Stack trace of thread 3816360: | |
| #0 0x00007fa57c125918 __memmove_avx_unaligned_erms (libc.so.6) | |
| #1 0x000056259c02c717 n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim) | |
| #2 0x000056259c02c905 n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim) | |
| #3 0x000056259c02c92a n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim) | |
| #4 0x000056259c039839 n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim) | |
| #5 0x000056259c0398ce n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim) | |
| #6 0x000056259bffbb4c n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim) | |
| #7 0x000056259c2f5a7c n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim) | |
| #8 0x000056259c38e97b n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment