Bug 2210488 - [abrt] neovim: uv_close(): nvim killed by SIGABRT
Summary: [abrt] neovim: uv_close(): nvim killed by SIGABRT
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: neovim
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andreas Schneider
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:321bb47c96375b79ccf23fec96d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-27 20:21 UTC by kapsh
Modified: 2023-07-04 04:30 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
kapsh: needinfo-


Attachments (Terms of Use)
File: open_fds (1.28 KB, text/plain)
2023-05-27 20:21 UTC, kapsh
no flags Details
File: cpuinfo (2.96 KB, text/plain)
2023-05-27 20:21 UTC, kapsh
no flags Details
File: mountinfo (3.42 KB, text/plain)
2023-05-27 20:21 UTC, kapsh
no flags Details
File: core_backtrace (7.72 KB, text/plain)
2023-05-27 20:21 UTC, kapsh
no flags Details
File: os_info (699 bytes, text/plain)
2023-05-27 20:21 UTC, kapsh
no flags Details
File: limits (1.29 KB, text/plain)
2023-05-27 20:21 UTC, kapsh
no flags Details
File: proc_pid_status (1.40 KB, text/plain)
2023-05-27 20:21 UTC, kapsh
no flags Details
File: backtrace (28.99 KB, text/plain)
2023-05-27 20:21 UTC, kapsh
no flags Details
File: environ (11.75 KB, text/plain)
2023-05-27 20:21 UTC, kapsh
no flags Details
File: dso_list (775 bytes, text/plain)
2023-05-27 20:21 UTC, kapsh
no flags Details
File: maps (3.96 KB, text/plain)
2023-05-27 20:21 UTC, kapsh
no flags Details

Description kapsh 2023-05-27 20:21:36 UTC
Description of problem:
edit file and exit 

Version-Release number of selected component:
neovim-0.9.0-3.fc38

Additional info:
reporter:       libreport-2.17.10
rootdir:        /
kernel:         6.2.15-300.fc38.x86_64
cgroup:         0::/user.slice/user-2222.slice/user/app.slice/app-konsole-1753224c4c654148b0bce0c01b1ee12d.scope
reason:         nvim killed by SIGABRT
uid:            2222
cmdline:        /usr/bin/nvim --embed ssh_utils.zsh
package:        neovim-0.9.0-3.fc38
crash_function: uv_close
journald_cursor: s=8f897091100045fe94a4e40db508db06;i=c506a;b=66f8571737d3456699586da34bfbdf29;m=45a69b3993;t=5fcb233702956;x=6a69ca007fb505b1
backtrace_rating: 4
runlevel:       N 5
comment:        edit file and exit 
executable:     /usr/bin/nvim
type:           CCpp

Truncated backtrace:
Thread no. 1 (21 frames)
 #6 uv_close at src/unix/core.c:116
 #7 stream_close_handle at /usr/src/debug/neovim-0.9.0-3.fc38.x86_64/src/nvim/event/stream.c:142
 #8 write_cb at /usr/src/debug/neovim-0.9.0-3.fc38.x86_64/src/nvim/event/wstream.c:145
 #9 uv__write_callbacks at src/unix/stream.c:959
 #10 uv__stream_destroy at src/unix/stream.c:456
 #11 uv__finish_close at src/unix/core.c:303
 #12 uv__run_closing_handles at src/unix/core.c:333
 #13 uv_run at src/unix/core.c:421
 #14 loop_close at /usr/src/debug/neovim-0.9.0-3.fc38.x86_64/src/nvim/event/loop.c:166
 #15 event_teardown at /usr/src/debug/neovim-0.9.0-3.fc38.x86_64/src/nvim/main.c:170
 #16 os_exit at /usr/src/debug/neovim-0.9.0-3.fc38.x86_64/src/nvim/main.c:662
 #17 getout at /usr/src/debug/neovim-0.9.0-3.fc38.x86_64/src/nvim/main.c:799
 #18 ex_exit at /usr/src/debug/neovim-0.9.0-3.fc38.x86_64/src/nvim/ex_docmd.c:4877
 #19 execute_cmd0 at /usr/src/debug/neovim-0.9.0-3.fc38.x86_64/src/nvim/ex_docmd.c:1620
 #20 do_one_cmd at /usr/src/debug/neovim-0.9.0-3.fc38.x86_64/src/nvim/ex_docmd.c:2279
 #21 do_cmdline at /usr/src/debug/neovim-0.9.0-3.fc38.x86_64/src/nvim/ex_docmd.c:578
 #22 do_cmdline_cmd at /usr/src/debug/neovim-0.9.0-3.fc38.x86_64/src/nvim/ex_docmd.c:281
 #23 nv_Zet at /usr/src/debug/neovim-0.9.0-3.fc38.x86_64/src/nvim/normal.c:3319
 #24 normal_execute at /usr/src/debug/neovim-0.9.0-3.fc38.x86_64/src/nvim/normal.c:1196
 #25 state_enter at /usr/src/debug/neovim-0.9.0-3.fc38.x86_64/src/nvim/state.c:99
 #26 normal_enter at /usr/src/debug/neovim-0.9.0-3.fc38.x86_64/src/nvim/normal.c:497


Potential duplicate: bug 1912024

Comment 1 kapsh 2023-05-27 20:21:40 UTC
Created attachment 1967348 [details]
File: open_fds

Comment 2 kapsh 2023-05-27 20:21:41 UTC
Created attachment 1967349 [details]
File: cpuinfo

Comment 3 kapsh 2023-05-27 20:21:43 UTC
Created attachment 1967350 [details]
File: mountinfo

Comment 4 kapsh 2023-05-27 20:21:45 UTC
Created attachment 1967351 [details]
File: core_backtrace

Comment 5 kapsh 2023-05-27 20:21:47 UTC
Created attachment 1967352 [details]
File: os_info

Comment 6 kapsh 2023-05-27 20:21:48 UTC
Created attachment 1967353 [details]
File: limits

Comment 7 kapsh 2023-05-27 20:21:50 UTC
Created attachment 1967354 [details]
File: proc_pid_status

Comment 8 kapsh 2023-05-27 20:21:52 UTC
Created attachment 1967355 [details]
File: backtrace

Comment 9 kapsh 2023-05-27 20:21:54 UTC
Created attachment 1967356 [details]
File: environ

Comment 10 kapsh 2023-05-27 20:21:55 UTC
Created attachment 1967357 [details]
File: dso_list

Comment 11 kapsh 2023-05-27 20:21:57 UTC
Created attachment 1967358 [details]
File: maps

Comment 12 Andreas Schneider 2023-05-31 13:28:19 UTC
In order to debug this we would need a reproducer with an minimal config file. Please document the steps clearly how to reproduce.

Here is a minimal config file you can modify. Save as repro.lua and run with `nvim -u repro.lua`. Once you have a reproducer create a tarball of the ~/.repro directory:




-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

Comment 13 kapsh 2023-06-12 09:01:45 UTC
I cannot reliably reproduce it with my usual vimrc nor your setup, this only happened once so far. Any other options to explore?

Comment 14 Andreas Schneider 2023-06-12 12:13:29 UTC
I can't find any obvious issue in the code.

Comment 15 clobrano 2023-06-13 07:15:51 UTC
just shutdown neovim in a saved session


reporter:       libreport-2.17.10
type:           CCpp
reason:         nvim killed by SIGABRT
journald_cursor: s=022f9e51d14a4b938334433092a24785;i=869a0;b=ca1df5887b2e455db979a132d929daa4;m=954c0609;t=5fdfd8f2a60e6;x=80e052425901d678
executable:     /usr/bin/nvim
cmdline:        /usr/bin/nvim --embed
cgroup:         0::/user.slice/user-4211261.slice/user/app.slice/flatpak-session-helper.service
rootdir:        /
uid:            4211261
kernel:         6.3.6-200.fc38.x86_64
package:        neovim-0.9.1-2.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: uv_close
comment:        just shutdown neovim in a saved session

Comment 16 Torgny Bjers 2023-07-04 04:30:52 UTC
I was editing files of relatively small sizes in a few different panes in Zellij, and all of a sudden one of the instances crashed.


reporter:       libreport-2.17.11
type:           CCpp
reason:         nvim killed by SIGABRT
journald_cursor: s=011ed7828d954dae82bec55adc7102d0;i=274ab;b=80719f4d74264309b1ae2c66c3849432;m=13bc180fc;t=5ff8ca9799a20;x=32aeaf0acb8fd365
executable:     /usr/bin/nvim
cmdline:        /usr/bin/nvim --embed bootstrap.sh
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-alacritty-3543.scope
rootdir:        /
uid:            1000
kernel:         6.3.8-200.fc38.x86_64
package:        neovim-0.9.1-2.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: uv_close
comment:        I was editing files of relatively small sizes in a few different panes in Zellij, and all of a sudden one of the instances crashed.


Note You need to log in before you can comment on or make changes to this bug.