-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Open
Labels
Description
Steps to reproduce
- Generate a very large file, such as:
fallocate -l 10G bigfile. - Run
vi bigfile - After about 30 seconds, run ':q" doesn't exit, press ctrl-c, vi program coredump
Expected behaviour
vi exits normally without coredump
Version of Vim
9.0
Environment
openEuler
Logs and stack traces
Program terminated with signal SIGSEGV, Segmentation fault.
#0 kill()
#1 may_core_dump() os_unix.c:3519
#2 may_core_dump() os_unix.c:3514
#3 mch_exit()
#4 <signal handler called>
#5 __memmove_evex_unaligned_erma()
#6 memmove()
#7 ml_append_int()
#8 ml_append_flush()
#9 ml_append()
#10 readfile()
#11 open_buffer()
#12 create_windows()
#13 vim_main2()
#14 __libc_start_call_main()
#15 __libc_start_main_impl()
#16 _start()