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

art1 art1 at andreas-romeyke.de
Sat Jan 28 17:27:00 UTC 2012


Package: vim
Version: 2:7.3.363-1
Severity: normal

Dear Maintainer,

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. 

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.

Here the gdb-backtrace:

language=html, 
	showspaces=false,=
	showtabs=true,
	tab=\rightarrowfill,
	frameround=fttt,
	numbers=left,
	stepnumber=1,
	numberstyle=\tiny,
	numbersep=10pt,
	extendedchars=false,
	basicstyle=\ttfamily,
	keywordstyle=\bfseries\ttfamily,
	commentstyle=\color{gray}\ttfamily\small,
	linebreak=true,
	xleftmargin=1cm,xrightmargin=1cm
	}
\resetcounteronoverlays{lstlisting}
/lstlist
Program received signal SIGFPE, Arithmetic exception.
0x00000000004f51fe in utf_convert (a=119070, table=<optimized out>, tableSize=<optimized out>) at mbyte.c:2780
2780	mbyte.c: Datei oder Verzeichnis nicht gefunden.
	in mbyte.c
(gdb) bt
#0  0x00000000004f51fe in utf_convert (a=119070, table=<optimized out>,
tableSize=<optimized out>) at mbyte.c:2780
#1  0x000000000044781d in str_foldcase (str=<optimized out>, orglen=<optimized out>, buf=0x7fffffffd890 "𝄞", buflen=81)     at charset.c:467
#2  0x0000000000576b4f in check_keyword_id (ccharp=<synthetic pointer>, cur_si=0x9c6f40, next_listp=<synthetic pointer>,   flagsp=0x7fffffffd880, endcolp=<synthetic pointer>, startcol=18, line=<optimized out>) at syntax.c:3305
#3  syn_current_attr (syncing=<optimized out>, displaying=0, can_spell=0x0, keep_state=0) at syntax.c:1967
#4  0x000000000057711a in syn_finish_line (syncing=<optimized out>) at syntax.c:1749
#5  syn_finish_line (syncing=0) at syntax.c:1739 
#6  0x000000000057759c in syntax_start (wp=<optimized out>, lnum=<optimized out>) at syntax.c:584
#7  0x0000000000540c23 in win_line (wp=0x879e90, lnum=160, startrow=0, endrow=22, nochange=1) at screen.c:2856
#8  0x0000000000545797 in win_update (wp=0x879e90) at screen.c:1850
#9  0x0000000000547ea8 in update_screen (type=<optimized out>) at screen.c:531
#10 0x00000000005bf2d7 in main_loop (cmdwin=0, noexmode=0) at main.c:1169
#11 0x000000000043c314 in main (argc=<optimized out>, argv=<optimized out>) at main.c:967

The same behaviour in gvim.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages vim depends on:
ii  libacl1      2.2.51-5
ii  libc6        2.13-24
ii  libgpm2      1.20.4-4
ii  libselinux1  2.1.0-4
ii  libtinfo5    5.9-4
ii  vim-common   2:7.3.363-1
ii  vim-runtime  2:7.3.363-1

vim recommends no packages.

Versions of packages vim suggests:
ii  exuberant-ctags [ctags]  1:5.9~svn20110310-3
ii  vim-doc                  2:7.3.363-1
ii  vim-scripts              20110813

-- no debconf information





More information about the pkg-vim-maintainers mailing list