Skip to content

Instantly share code, notes, and snippets.

@norcalli
Created December 8, 2019 20:44
Show Gist options
  • Save norcalli/4092d35e89b60f2f22f037bce6895fea to your computer and use it in GitHub Desktop.
Save norcalli/4092d35e89b60f2f22f037bce6895fea 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 2714490]
[New LWP 2714491]
[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 SIGABRT, Aborted.
#0 0x00007f9646a3af25 in raise () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7f964681e780 (LWP 2714490))]
(gdb) #0 0x00007f9646a3af25 in raise () from /usr/lib/libc.so.6
No symbol table info available.
#1 0x00007f9646a24897 in abort () from /usr/lib/libc.so.6
No symbol table info available.
#2 0x00007f9646a24767 in __assert_fail_base.cold () from /usr/lib/libc.so.6
No symbol table info available.
#3 0x00007f9646a33526 in __assert_fail () from /usr/lib/libc.so.6
No symbol table info available.
#4 0x00005556ab33b98c in bufhl_mark_col_adjust (buf=0x5556ad379320, lnum=15, mincol=3, lnum_amount=-1, col_amount=0) at ../src/nvim/buffer.c:5691
item = 0x5556adb3ad20
delete = false
i = 0
moved = false
lineinfo = 0x5556adb1fe00
lineinfo2 = 0x0
delcol = 2147483647
newidx = 0
__PRETTY_FUNCTION__ = "bufhl_mark_col_adjust"
#5 0x00005556ab47245b in extmark_col_adjust (buf=0x5556ad379320, lnum=15, mincol=3, lnum_amount=-1, col_amount=0, undo=kExtmarkNoUndo) at ../src/nvim/mark_extended.c:913
__PRETTY_FUNCTION__ = "extmark_col_adjust"
marks_moved = false
#6 0x00005556ab4719b6 in extmark_apply_undo (undo_info=..., undo=true) at ../src/nvim/mark_extended.c:633
lnum = 15
mincol = 3
lnum_amount = -1
col_amount = 0
line1 = 14
line2 = 93830769915200
amount = 140731245433120
amount_after = 93830727858015
#7 0x00005556ab5c1243 in u_undoredo (undo=1, do_buf_event=true) at ../src/nvim/undo.c:2285
newarray = 0x5556adb5b540
oldsize = 1
newsize = 0
top = 13
bot = 15
lnum = 13
newlnum = 13
i = 0
uep = 0x0
nuep = 0x0
newlist = 0x5556adb52c90
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 = 17, col = 9, coladd = 0}, vi_end = {lnum = 33, col = 3, coladd = 0}, vi_mode = 86, vi_curswant = 9}
empty_buffer = false
curhead = 0x5556adb2dd20
undo_info = {type = kColAdjust, data = {adjust = {line1 = 14, line2 = 93827855548419, amount = 0, amount_after = 1}, col_adjust = {lnum = 14, mincol = 3, col_amount = 0,
lnum_amount = 1}, col_adjust_delete = {lnum = 14, mincol = 3, endcol = 21846, eol = 0}, move = {line1 = 14, line2 = 93827855548419, last_line = 0, dest = 1,
num_lines = 0, extra = 0}, set = {ns_id = 14, mark_id = 93827855548419, lnum = 0, col = 1}, update = {ns_id = 14, mark_id = 93827855548419, old_lnum = 0,
old_col = 1, lnum = 0, col = 0}, copy = {ns_id = 14, mark_id = 93827855548419, lnum = 0, col = 1}, copy_place = {l_lnum = 14, l_col = 3, u_lnum = 0, u_col = 1,
p_lnum = 0, p_col = 0}, clear = {ns_id = 14, l_lnum = 93827855548419, u_lnum = 0}}}
#8 0x00005556ab5bfe41 in u_doit (startcount=1, quiet=false, do_buf_event=true) at ../src/nvim/undo.c:1769
count = 0
#9 0x00005556ab5bfaa0 in u_undo (count=1) at ../src/nvim/undo.c:1667
No locals.
#10 0x00005556ab4af51e in nv_kundo (cap=0x7ffe8be497e8) at ../src/nvim/normal.c:5849
No locals.
#11 0x00005556ab4af4e9 in nv_undo (cap=0x7ffe8be497e8) at ../src/nvim/normal.c:5840
No locals.
#12 0x00005556ab4a46e7 in normal_execute (state=0x7ffe8be49760, key=117) at ../src/nvim/normal.c:1131
s = 0x7ffe8be49760
__PRETTY_FUNCTION__ = "normal_execute"
#13 0x00005556ab582f58 in state_enter (s=0x7ffe8be49760) at ../src/nvim/state.c:69
check_result = 1
key = 117
execute_result = 1
#14 0x00005556ab4a29bc in normal_enter (cmdwin=false, noexmode=false) at ../src/nvim/normal.c:463
state = {state = {check = 0x5556ab4a4b75 <normal_check>, execute = 0x5556ab4a3f54 <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 = 23, col = 82, coladd = 0}, end = {lnum = 23, col = 83, coladd = 0},
cursor_start = {lnum = 0, col = 0, coladd = 0}, line_count = 1, empty = false, is_VIsual = false, start_vcol = 27, end_vcol = 3, prev_opcount = 0, prev_count0 = 0},
ca = {oap = 0x7ffe8be49778, 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 = 7, old_pos = {lnum = 15, col = 7, coladd = 0}}
#15 0x00005556ab459321 in main (argc=1, argv=0x7ffe8be49ae8) at ../src/nvim/main.c:577
fname = 0x0
params = {argc = 1, argv = 0x7ffe8be49ae8, 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) quit
PID: 2714490 (nvim)
UID: 1000 (ashkan)
GID: 1000 (ashkan)
Signal: 6 (ABRT)
Timestamp: Sun 2019-12-08 12:43:02 PST (1min 8s 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-3.scope
Unit: session-3.scope
Slice: user-1000.slice
Session: 3
Owner UID: 1000 (ashkan)
Boot ID: 1aa939ce9a53449985ddd157bd65dd76
Machine ID: 31f12102597b4dffb7b09d6c695b4971
Hostname: zephyr
Storage: /var/lib/systemd/coredump/core.nvim.1000.1aa939ce9a53449985ddd157bd65dd76.2714490.1575837782000000000000.lz4
Message: Process 2714490 (nvim) of user 1000 dumped core.
Stack trace of thread 2714490:
#0 0x00007f9646a3af25 raise (libc.so.6)
#1 0x00007f9646a24897 abort (libc.so.6)
#2 0x00007f9646a24767 __assert_fail_base.cold (libc.so.6)
#3 0x00007f9646a33526 __assert_fail (libc.so.6)
#4 0x00005556ab33b98c n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim)
#5 0x00005556ab47245b n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim)
#6 0x00005556ab4719b6 n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim)
#7 0x00005556ab5c1243 n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim)
#8 0x00005556ab5bfe41 n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim)
#9 0x00005556ab5bfaa0 n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim)
#10 0x00005556ab4af51e n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim)
#11 0x00005556ab4af4e9 n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim)
#12 0x00005556ab4a46e7 n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim)
#13 0x00005556ab582f58 n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim)
#14 0x00005556ab4a29bc n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim)
#15 0x00005556ab459321 n/a (/home/ashkan/works/3rd/neovim/build/bin/nvim)
#16 0x00007f9646a26153 __libc_start_main (libc.so.6)
#17 0x00005556ab2f96ae 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