Bug 1889278 - [abrt] vim-enhanced: vim_handle_signal(): vim killed by SIGSEGV
Summary: [abrt] vim-enhanced: vim_handle_signal(): vim killed by SIGSEGV
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: 32
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karsten
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:a5aba30ccb5ab91e3706fcb8487...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-19 09:04 UTC by Jonathan Wakely
Modified: 2020-10-20 16:41 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-19 10:32:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (26.52 KB, text/plain)
2020-10-19 09:04 UTC, Jonathan Wakely
no flags Details
File: core_backtrace (6.01 KB, text/plain)
2020-10-19 09:04 UTC, Jonathan Wakely
no flags Details
File: cpuinfo (2.53 KB, text/plain)
2020-10-19 09:04 UTC, Jonathan Wakely
no flags Details
File: dso_list (1.51 KB, text/plain)
2020-10-19 09:04 UTC, Jonathan Wakely
no flags Details
File: environ (4.85 KB, text/plain)
2020-10-19 09:04 UTC, Jonathan Wakely
no flags Details
File: exploitable (82 bytes, text/plain)
2020-10-19 09:04 UTC, Jonathan Wakely
no flags Details
File: limits (1.29 KB, text/plain)
2020-10-19 09:04 UTC, Jonathan Wakely
no flags Details
File: maps (7.79 KB, text/plain)
2020-10-19 09:04 UTC, Jonathan Wakely
no flags Details
File: mountinfo (3.73 KB, text/plain)
2020-10-19 09:04 UTC, Jonathan Wakely
no flags Details
File: open_fds (228 bytes, text/plain)
2020-10-19 09:04 UTC, Jonathan Wakely
no flags Details
File: proc_pid_status (1.33 KB, text/plain)
2020-10-19 09:04 UTC, Jonathan Wakely
no flags Details
File: system_vimrc (3.92 KB, application/octet-stream)
2020-10-19 09:04 UTC, Jonathan Wakely
no flags Details

Description Jonathan Wakely 2020-10-19 09:04:24 UTC
Version-Release number of selected component:
2:vim-enhanced-8.2.1805-1.fc32

Additional info:
reporter:       libreport-2.13.1
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/session-15.scope
cmdline:        vim mcelog.service
crash_function: vim_handle_signal
executable:     /usr/bin/vim
journald_cursor: s=bef17799226c437995eff1c3a2f18383;i=4e7511d;b=8ab56d2c92704c6f8ed4b25749f0e851;m=5291c85854;t=5b1cb1c9e1926;x=f59491fe66004db2
kernel:         5.8.13-200.fc32.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #16 vim_handle_signal at os_unix.c:1521
 #17 ui_inchar at ui.c:166
 #18 inchar at getchar.c:3521
 #19 vgetorpeek at getchar.c:3300
 #20 vgetc at getchar.c:1689
 #21 safe_vgetc at getchar.c:1918
 #22 normal_cmd at normal.c:570
 #23 main_loop at main.c:1478
 #24 vim_main2 at main.c:868
 #26 _start

Comment 1 Jonathan Wakely 2020-10-19 09:04:29 UTC
Created attachment 1722593 [details]
File: backtrace

Comment 2 Jonathan Wakely 2020-10-19 09:04:31 UTC
Created attachment 1722594 [details]
File: core_backtrace

Comment 3 Jonathan Wakely 2020-10-19 09:04:33 UTC
Created attachment 1722595 [details]
File: cpuinfo

Comment 4 Jonathan Wakely 2020-10-19 09:04:35 UTC
Created attachment 1722596 [details]
File: dso_list

Comment 5 Jonathan Wakely 2020-10-19 09:04:37 UTC
Created attachment 1722597 [details]
File: environ

Comment 6 Jonathan Wakely 2020-10-19 09:04:39 UTC
Created attachment 1722598 [details]
File: exploitable

Comment 7 Jonathan Wakely 2020-10-19 09:04:40 UTC
Created attachment 1722599 [details]
File: limits

Comment 8 Jonathan Wakely 2020-10-19 09:04:42 UTC
Created attachment 1722600 [details]
File: maps

Comment 9 Jonathan Wakely 2020-10-19 09:04:43 UTC
Created attachment 1722601 [details]
File: mountinfo

Comment 10 Jonathan Wakely 2020-10-19 09:04:45 UTC
Created attachment 1722602 [details]
File: open_fds

Comment 11 Jonathan Wakely 2020-10-19 09:04:47 UTC
Created attachment 1722603 [details]
File: proc_pid_status

Comment 12 Jonathan Wakely 2020-10-19 09:04:48 UTC
Created attachment 1722604 [details]
File: system_vimrc

Comment 13 Zdenek Dohnal 2020-10-19 10:07:42 UTC
Hi Jonathan,

thank you for reporting the issue!

Are you able to reproduce the issue?

If I understand correctly the backtrace, Vim got SIGHUP and 'vim_handle_signal()' is called as a part of dealing with signals. 'vim_handle_signal()' went well with this signal number as the argument and set 'got_signal' value to '1'.
In the next 'vim_handle_signal()' invocation, when it is called from 'ui_inchar()', it got an segfault on 'kill()'.

I tried to reproduce it with sending SIGHUP via 'kill' to opened 'vim', but without success.

Comment 14 Jonathan Wakely 2020-10-19 10:28:46 UTC
I don't know what caused it, sorry. I don't even remember any vim process crashing or being killed. I just found the report in the abrt client and thought I'd report it.

Feel free to close it if you can't reproduce it.

Comment 15 Zdenek Dohnal 2020-10-19 10:32:46 UTC
Ok, then I'll close it for now. Feel free to reopen if you hit it again.

Comment 16 Jonathan Wakely 2020-10-20 16:41:25 UTC
Ah, I've just realised that this probably happened when I switched network and an ssh connection was closed, sending SIGHUP to the vim process running on the remote host.

I'll reopen if I see it again. Thanks.


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