Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 259340

Summary: app-editors/gvim-7.2.021 crashes at startup when compiled with -Os ( with FORTIFY_SOURCE=2 )
Product: Gentoo Linux Reporter: Tomas Racek <tom>
Component: Current packagesAssignee: Vim Maintainers <vim>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://www.mail-archive.com/vim_dev@googlegroups.com/msg04762.html
Whiteboard: PATCH
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 259417    

Description Tomas Racek 2009-02-17 10:18:18 UTC
Gvim crashes with *** buffer overflow detected ***: gvim terminated, recompiling with -O2 fixes it.

Reproducible: Always

Steps to Reproduce:




I use gcc-4.3.3 with "-Os -pipe -mtune=atlhlon-xp -fomit-frame-pointer".
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2009-02-17 23:22:08 UTC
Probably the bug mentioned in URL (contains patch)
Comment 2 Jim Ramsay (lack) (RETIRED) gentoo-dev 2009-07-14 16:27:49 UTC
This was fixed in 7.2.044, and the patch is definitely in 7.2.182