Bug#657777: vim crashes with with SIGFPE, Arithmetic exception by search a string again via 'n' in a tex-file

James McCoy jamessan at debian.org
Sat Jan 28 19:17:12 UTC 2012

On Sat, Jan 28, 2012 at 06:27:00PM +0100, art1 wrote:
> Loading an utf-8 encoded tex-file and searching a string via "/ foo",
> vim sets the cursor to first match. If you press the 'n'-button, vim
> dies with SIGFPE. 

Are you able to share that file?

> I have also tested vim with:
>   * (g)vim -u NONE -U NONE -N
>   * (g)vim -u NORC -U NORC -N
>   * (g)vim -u NORC -U NORC --cmd 'filetype plugin indent on' -N
> In these cases vim does not crash.

This leads me to believe that it's some setting in your vimrc that's
causing the crash.  If that's true, then "vim -u ~/.vimrc -N" should
exhibit the crash as well.

You can use the "finish" command to bisect your vimrc to determine what
exactly is causing the problem.  That is, put "finish" about half-way
through your vimrc.  If you're not able to reproduce, the problem is in
the second half of your vimrc.  Move "finish" to half way through the
second half of your vimrc.  Repeat.

At least using the tex files I have access to, I'm unable to reproduce a

GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20120128/c5154d29/attachment.pgp>

More information about the pkg-vim-maintainers mailing list