When I try to start vi I get: *** buffer overflow detected ***: vi - terminated vi: buffer overflow attack in function <unknown> - terminated Reproducible: Always Steps to Reproduce: 1.vi 2. 3.
Created attachment 242761 [details] emerge --info
Likely just a compilation issue. Reassigning to bug-wranglers
What package is providing this `vi'? Please post the output of `emerge -pqv <cat/pkg>' for that package. Also, provide relevant dmesg output and perhaps see if a backtrace reveals more information.
emerge -pqv app-editors/vim [ebuild R ] app-editors/vim-7.0.235 USE="X acl bash-completion gpm nls perl python -cscope -debug -minimal -ruby -vim-pager" No further info in dmesg. How can I backtrace vim?
I've rebuild with: CFLAGS="-march=athlon-tbird -O2 -ggdb" CXXFLAGS="${CFLAGS}" FEATURE="splitdebug" emerge app-editors/vim And now vim works. But why does this happen?
My guess is that you probably updated to either app-editor/vim-7.2.442 or 7.3.50, both of which have fixed many bugs since version 7.0.235 that you reported you were running earlier. Please let me know if the following two statements are correct: 1) You are now running vim-7.2.442 or later 2) You are no longer seeing the buffer overflow
I'm using vim 7.0.235 and I'm no longer seeing the suffer overflow. The only difference was the USE flag.
Perhaps it was simply recompiling the package that fixed the issue then. Marking as "fixed".