Bug 838557

Summary: vim aborts when inserting EOL
Product: [Fedora] Fedora Reporter: Roman Rakus <rrakus>
Component: vimAssignee: Karsten Hopp <karsten>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: karsten, tsmetana
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-31 21:23:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
gdb log with traceback
none
Compressed coredump file
none
Source file on which the crash occurs none

Description Roman Rakus 2012-07-09 13:20:17 UTC
Description of problem:
While I'm inserting new line the vim aborts.

Version-Release number of selected component (if applicable):
vim-enhanced-7.3.556-1.fc17.x86_64

How reproducible:
Looks like 100% of time.

Steps to Reproduce:
1. I will provide file in which it is aborting
2. Go to the end of the 3rd line
3. Enter the editting mode
4. Hit enter
  
Actual results:
The crash:
$ vim aux_lu.c
Vim: Caught deadly signal ABRT
Vim: preserving files...
Vim: Finished.
Aborted

and the exit status is 134


Expected results:
inserts new line

Additional info:
Will attach traceback, core dump file and source file I'm edditing

Comment 1 Roman Rakus 2012-07-09 13:21:32 UTC
Created attachment 597073 [details]
gdb log with traceback

gdb log with traceback

Comment 2 Roman Rakus 2012-07-09 13:29:07 UTC
Created attachment 597075 [details]
Compressed coredump file

Compressed coredump file, obtained in gdb using generate-core-file

Comment 3 Roman Rakus 2012-07-09 13:31:08 UTC
Created attachment 597076 [details]
Source file on which the crash occurs

Steps to reproduce:
Go to the end of the 3rd line
Enter editing mode
Hit Enter to insert EOL

Comment 4 Roman Rakus 2012-07-09 13:40:23 UTC
OK, the reproducer is:
Write some C comments in C file, some kind of C-style coloring has to be enabled (just enough to start editing .c file)
Write initial comment:
/*

the vim will insert
 *
on the next line so it will looks like
/*
 *
end now hit the enter on the last line after the * and the vim will abort.

Comment 5 Fedora Update System 2012-08-28 14:15:41 UTC
vim-7.3.638-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/vim-7.3.638-2.fc17

Comment 6 Fedora Update System 2012-08-28 23:25:16 UTC
Package vim-7.3.638-2.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing vim-7.3.638-2.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-12869/vim-7.3.638-2.fc17
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2012-08-31 21:23:25 UTC
vim-7.3.638-2.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.