On 3/03/11 7:37 AM, Bram Moolenaar wrote:
Ben Schmidt wrote:
The attached preliminary patch puts in a check for this and a couple of
other possible syntax overflow conditions, so we should get errors, not
crashes.
It fixes this particular problem for me. An error occurs when the file
is loaded,
Ben Schmidt wrote:
> > I just tried the file. Opening Vim took about a minute with Vim
> > running at 100% CPU after which Vim became responsive. I then scrolled
> > down by repeating 99 and just before I reached the bitmap
> > part of the XPM file Vim crashed. I've tried a few times and it
> > c
Hi Ben,
There are way too many syntax groups, and they overflow into syntax
clusters, because clusters are stored in a high part of the syntax group
id number-space, and Vim doesn't check it.
The attached preliminary patch puts in a check for this and a couple of
other possible syntax overflow
I just tried the file. Opening Vim took about a minute with Vim
running at 100% CPU after which Vim became responsive. I then scrolled
down by repeating 99 and just before I reached the bitmap
part of the XPM file Vim crashed. I've tried a few times and it
crashes every time, but only after reachi
vim is fine (syn on)
Confirmed, terminal Vim is responsive immediately and doesn't crash when
scrolling through the file. This makes sense because it looks like the
dynamic XPM highlighting isn't applied in terminal Vim.
gvim is fine (syn off)
Confirmed, although graphical Vim does still
Bram Moolenaar wrote:
For me it seems to hang. May just be very slow. It does open the GUI
window, your output suggest it doesn't.
Actually it takes few minutes for crash.
In my pc:
vim -u test.vim -g
(1 minute)
gui window opened
(3 minutes)
crash
$ time vim -u test.vim -g -f
"100x100.xpm"
vim is fine (syn on)
gvim is fine (syn off)
Can you confirm this?
Marc Weber
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
For me it seems to hang. May just be very slow. It does open the GUI
window, your output suggest it doesn't.
I just tried the file. Opening Vim took about a minute with Vim running
at 100% CPU after which Vim became responsive. I then scrolled down by
repeating 99 and just before I reached t
Yukihiro Nakadaira wrote:
> Vim crash when opening the following xpm file.
>
> http://sites.google.com/site/yukihironakadaira/100x100.xpm
>
> 100x100.xpm is 100x100 size with 1 different colors. I generated it
> with the following code and converted to xpm with Gimp.
>
> # Python + OpenCV
On Sat, Feb 19, 2011 at 12:01:01AM +0900, Yukihiro Nakadaira wrote:
> Vim crash when opening the following xpm file.
>
> http://sites.google.com/site/yukihironakadaira/100x100.xpm
>
> 100x100.xpm is 100x100 size with 1 different colors. I generated it
> with the following code and converted
Vim crash when opening the following xpm file.
http://sites.google.com/site/yukihironakadaira/100x100.xpm
100x100.xpm is 100x100 size with 1 different colors. I generated it
with the following code and converted to xpm with Gimp.
# Python + OpenCV
import cv
img = cv.CreateImage((100, 100),
11 matches
Mail list logo