Bug 514987 - *** buffer overflow detected ***: vim terminated
*** buffer overflow detected ***: vim terminated
Status: CLOSED DUPLICATE of bug 514717
Product: Fedora
Classification: Fedora
Component: vim (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Karsten Hopp
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-31 14:54 EDT by James Laska
Modified: 2013-09-02 02:37 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-07-31 16:43:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description James Laska 2009-07-31 14:54:35 EDT
Description of problem:

 * Using vim to load /var/log/messages crashes
 * Using vi does *not* crash

Version-Release number of selected component (if applicable):
 
 * vim-common-7.2.148-2.fc12.i686
 * glibc-2.10.90-11.i686
 * kernel-2.6.31-0.112.rc4.git3.fc12.i686.PAE

How reproducible:

 * Seems to happen every time I run the command now

Steps to Reproduce:
1. Install F-11/i386
2. yum update
3. yum --enablerepo=updates-testing update rpm
4. yum --enablerepo=rawhide update
5. Reboot 
6. SSH into system remotely
7. vim /var/log/messages
  
Actual results:

*** buffer overflow detected ***: vim terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x4d)[0x6521ad]
/lib/libc.so.6[0x65027a]
/lib/libc.so.6(__strcpy_chk+0x44)[0x64f554]
vim(eval_init+0x82)[0x809b8c2]
vim(main+0x81)[0x80ee741]
/lib/libc.so.6(__libc_start_main+0xe6)[0x571b26]
vim[0x8063651]
======= Memory map: ========
00110000-00138000 r-xp 00000000 fd:00 9402       /lib/libm-2.10.90.so
00138000-00139000 r--p 00027000 fd:00 9402       /lib/libm-2.10.90.so
00139000-0013a000 rw-p 00028000 fd:00 9402       /lib/libm-2.10.90.so
0013a000-0013e000 r-xp 00000000 fd:00 10717      /lib/libattr.so.1.1.0
0013e000-0013f000 rw-p 00003000 fd:00 10717      /lib/libattr.so.1.1.0
00147000-00164000 r-xp 00000000 fd:00 9883       /lib/libselinux.so.1
00164000-00165000 r--p 0001c000 fd:00 9883       /lib/libselinux.so.1
00165000-00166000 rw-p 0001d000 fd:00 9883       /lib/libselinux.so.1
00166000-0017d000 r-xp 00000000 fd:00 9418       /lib/libpthread-2.10.90.so
0017d000-0017e000 r--p 00016000 fd:00 9418       /lib/libpthread-2.10.90.so
0017e000-0017f000 rw-p 00017000 fd:00 9418       /lib/libpthread-2.10.90.so
0017f000-00181000 rw-p 00000000 00:00 0 
00181000-00197000 r-xp 00000000 fd:00 9887       /lib/libtinfo.so.5.7
00197000-0019a000 rw-p 00015000 fd:00 9887       /lib/libtinfo.so.5.7
0019a000-001b1000 r-xp 00000000 fd:00 9404       /lib/libnsl-2.10.90.so
001b1000-001b2000 r--p 00016000 fd:00 9404       /lib/libnsl-2.10.90.so
001b2000-001b3000 rw-p 00017000 fd:00 9404       /lib/libnsl-2.10.90.so
001b3000-001b5000 rw-p 00000000 00:00 0 
001b5000-001df000 r-xp 00000000 fd:00 5766       /lib/libgcc_s-4.4.1-20090725.so.1
001df000-001e0000 rw-p 00029000 fd:00 5766       /lib/libgcc_s-4.4.1-20090725.so.1
001e5000-001e6000 r-xp 00000000 00:00 0          [vdso]
001e6000-001ee000 r-xp 00000000 fd:00 9398       /lib/libcrypt-2.10.90.so
001ee000-001ef000 r--p 00007000 fd:00 9398       /lib/libcrypt-2.10.90.so
001ef000-001f0000 rw-p 00008000 fd:00 9398       /lib/libcrypt-2.10.90.so
001f0000-00217000 rw-p 00000000 00:00 0 
00217000-0025b000 r-xp 00000000 fd:00 28551      /lib/libfreebl3.so
0025b000-0025c000 rw-p 00044000 fd:00 28551      /lib/libfreebl3.so
0025c000-00260000 rw-p 00000000 00:00 0 
002d5000-002f5000 r-xp 00000000 fd:00 9387       /lib/ld-2.10.90.so
002f5000-002f6000 r--p 0001f000 fd:00 9387       /lib/ld-2.10.90.so
002f6000-002f7000 rw-p 00020000 fd:00 9387       /lib/ld-2.10.90.so
002f7000-00556000 r-xp 00000000 fd:00 12447      /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so
00556000-0055b000 rw-p 0025f000 fd:00 12447      /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so
0055b000-006cf000 r-xp 00000000 fd:00 9394       /lib/libc-2.10.90.so
006cf000-006d1000 r--p 00174000 fd:00 9394       /lib/libc-2.10.90.so
006d1000-006d2000 rw-p 00176000 fd:00 9394       /lib/libc-2.10.90.so
006d2000-006d5000 rw-p 00000000 00:00 0 
00738000-0073a000 r-xp 00000000 fd:00 9426       /lib/libutil-2.10.90.so
0073a000-0073b000 r--p 00001000 fd:00 9426       /lib/libutil-2.10.90.so
0073b000-0073c000 rw-p 00002000 fd:00 9426       /lib/libutil-2.10.90.so
0073c000-00897000 r-xp 00000000 fd:00 111255     /usr/lib/libpython2.6.so.1.0
00897000-008c3000 rw-p 0015a000 fd:00 111255     /usr/lib/libpython2.6.so.1.0
008c3000-008cc000 rw-p 00000000 00:00 0 
00a0d000-00a12000 r-xp 00000000 fd:00 12961      /usr/lib/libgpm.so.2.1.0
00a12000-00a13000 rw-p 00004000 fd:00 12961      /usr/lib/libgpm.so.2.1.0
00c6a000-00c6d000 r-xp 00000000 fd:00 9400       /lib/libdl-2.10.90.so
00c6d000-00c6e000 r--p 00002000 fd:00 9400       /lib/libdl-2.10.90.so
00c6e000-00c6f000 rw-p 00003000 fd:00 9400       /lib/libdl-2.10.90.so
00d75000-00d97000 r-xp 00000000 fd:00 9769       /lib/libncurses.so.5.7
00d97000-00d98000 rw-p 00021000 fd:00 9769       /lib/libncurses.so.5.7
00e44000-00e59000 r-xp 00000000 fd:00 9420       /lib/libresolv-2.10.90.so
00e59000-00e5a000 r--p 00014000 fd:00 9420       /lib/libresolv-2.10.90.so
00e5a000-00e5b000 rw-p 00015000 fd:00 9420       /lib/libresolv-2.10.90.so
00e5b000-00e5d000 rw-p 00000000 00:00 0 
00f59000-00f60000 r-xp 00000000 fd:00 10672      /lib/libacl.so.1.1.0
00f60000-00f61000 rw-p 00006000 fd:00 10672      /lib/libacl.so.1.1.0
08048000-081fd000 r-xp 00000000 fd:00 86930      /usr/bin/vim
081fd000-0820a000 rw-p 001b5000 fd:00 86930      /usr/bin/vim
0820a000-08210000 rw-p 00000000 00:00 0 
0829e000-082bf000 rw-p 00000000 00:00 0          [heap]
b7f5f000-b7f64000 rw-p 00000000 00:00 0 
b7f73000-b7f74000 rw-p 00000000 00:00 0 
bfea4000-bfeb9000 rw-p 00000000 00:00 0          [stack]
Aborted

Expected results:

 * no failure

Additional info:
Comment 1 Joachim Frieben 2009-07-31 15:41:49 EDT
Same on an x86_64 system:
- glibc-2.10.90-11.x86_64
- kernel-2.6.31-0.112.rc4.git3.fc12.x86_64
- vim-common-7.2.148-2.fc12.x86_64
Comment 2 Karsten Hopp 2009-07-31 16:43:54 EDT

*** This bug has been marked as a duplicate of bug 514717 ***

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