View previous topic :: View next topic |
Author |
Message |
linuxale n00b
Joined: 11 Jan 2006 Posts: 34
|
Posted: Mon Nov 01, 2010 12:06 am Post subject: vi: buffer overflow attack in function <unknown> - ter |
|
|
Hi Guys,
I have a "BIG" problem with vi...My preferred editor!
Every time I try to use I get the follow error:
*** buffer overflow detected ***: vi - terminated
vi: buffer overflow attack in function <unknown> - terminated
I've opened a bug (https://bugs.gentoo.org/332595) too but no help from there!
If anybody has any idea on how can I track this problem I will be very grateful!
Thanks
Bye
Alex |
|
Back to top |
|
|
1clue Advocate
Joined: 05 Feb 2006 Posts: 2569
|
Posted: Mon Nov 01, 2010 7:58 pm Post subject: |
|
|
Have you unmerged it and re-emerged it? |
|
Back to top |
|
|
1clue Advocate
Joined: 05 Feb 2006 Posts: 2569
|
Posted: Mon Nov 01, 2010 7:59 pm Post subject: |
|
|
Actually what does your .vimrc look like? It almost sounds as though you have it automatically opening a file that's larger than the available memory. |
|
Back to top |
|
|
linuxale n00b
Joined: 11 Jan 2006 Posts: 34
|
Posted: Wed Nov 03, 2010 10:28 am Post subject: |
|
|
Hi,
I've already reinstalled with NOUSE....but nothing.
I've moved the vimrc file but the result in the same!!! |
|
Back to top |
|
|
1clue Advocate
Joined: 05 Feb 2006 Posts: 2569
|
Posted: Thu Nov 04, 2010 12:04 am Post subject: |
|
|
You got it working then?
Here's what I have and it works fine:
Code: |
# equery uses vim
[ Searching for packages matching vim... ]
[ Colour Code : set unset ]
[ Legend : Left column (U) - USE flags from make.conf ]
[ : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for app-editors/vim-7.2.442 ]
U I
+ + X : Adds support for X11
+ + acl : Adds support for Access Control Lists
- - bash-completion : Enable bash-completion support
- - cscope : Enables cscope interface -- in vim for example
- - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
+ + gpm : Adds support for sys-libs/gpm (Console-based mouse driver)
- - minimal : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)
+ + nls : Adds Native Language Support (using gettext - GNU locale utilities)
+ + perl : Adds support/bindings for the Perl language
+ + python : Adds support/bindings for the Python language
- - ruby : Adds support/bindings for the Ruby language
- - vim-pager : Install vimpager and vimmanpager links
|
|
|
Back to top |
|
|
linuxale n00b
Joined: 11 Jan 2006 Posts: 34
|
Posted: Tue Nov 16, 2010 11:55 am Post subject: |
|
|
Hi,
I've rebuild with:
CFLAGS="-march=athlon-tbird -O2 -ggdb" CXXFLAGS="${CFLAGS}" FEATURE="splitdebug" emerge app-editors/vim
And now vim works.
But I don't understand where was the problem! |
|
Back to top |
|
|
|