Hi!

I've hit one interesting problem. When I've tried to send in an email
large hexdump (around 50K) the vim entered endless loop with 100% CPU
usage. I could terminate this loop by hitting Ctrl-C, but as soon as
I've tried to move to the long line the same thing happened again.

Since I could manipulated this file with vim without mail ftplugin, I
came to conclusion that the problem has something to do with that
plugin. The file in question is located at http://vandal.sdf-eu.org/hexdump.txt

To reproduce the problem I did the following steps 

bash$ vim mutt-vandal-1001-25710-908

:new hexdump.txt
2yy
:q
p

At this point vim freezes and top reports that it uses 100% CPU.

Just in case. I use ~/.vim/ftplugin/mail.vim with
set fo-=l

Can anyone else try and see if the same thing happens?

I'm running 64-bit linux

Here's the output of version
:version
VIM - Vi IMproved 7.0 (2006 May 7, compiled Apr 27 2007 16:11:48)
Included patches: 1-233
Compiled by [EMAIL PROTECTED]
Normal version with GTK2 GUI.  Features included (+) or not (-):
-arabic +autocmd +balloon_eval +browse +builtin_terms +byte_offset +cindent 
+clientserver
+clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments +cryptv -cscope 
+cursorshape
+dialog_con_gui +diff +digraphs +dnd -ebcdic -emacs_tags +eval +ex_extra 
+extra_search -farsi
+file_in_path +find_in_path +folding -footer +fork() -gettext -hangul_input 
+iconv +insert_expand
+jumplist +keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap 
+menu +mksession
+modify_fname +mouse +mouseshape -mouse_dec +mouse_gpm -mouse_jsbterm 
-mouse_netterm +mouse_xterm
+multi_byte +multi_lang -mzscheme +netbeans_intg -osfiletype +path_extra -perl 
+postscript +printer
 -profile -python +quickfix +reltime -rightleft -ruby +scrollbind +signs 
+smartindent -sniff
+statusline -sun_workshop +syntax +tag_binary +tag_old_static -tag_any_white 
-tcl +terminfo
+termresponse +textobjects +title +toolbar +user_commands +vertsplit 
+virtualedit +visual
+visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup 
+X11 -xfontset +xim
+xsmp_interact +xterm_clipboard -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc-3.4 -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -DXTHREADS 
-D_REENTRANT -DXUSE_M
TSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include 
-I/usr/X11R6/include -I/usr/include/at
k-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 
-I/usr/include/freetype2/config -I/usr/inclu
de/glib-2.0 -I/usr/lib/glib-2.0/include     -O2 -march=athlon64  
-I/usr/X11R6/include
Linking: gcc-3.4 -L/usr/lib64   -L/usr/X11R6/lib64   -L/usr/local/lib -o vim   
-Wl,--export-dynamic
-L/usr/lib64 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm 
-lpangoxft-1.0 -lpangox-1.0
-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lXt -lncurses -lgpm

-- 
Minds, like parachutes, function best when open

Reply via email to