Re: Vim crash with large xpm

2011-03-02 Fir de Conversatie Ben Schmidt
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 99PageDown 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

Re: Vim crash with large xpm

2011-03-02 Fir de Conversatie Peter Odding
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

Re: Vim crash with large xpm

2011-03-02 Fir de Conversatie Bram Moolenaar
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 99PageDown and just before I reached the bitmap part of the XPM file Vim crashed. I've tried a few times and it

Re: Vim crash with large xpm

2011-02-19 Fir de Conversatie Peter Odding
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

Vim crash with large xpm

2011-02-18 Fir de Conversatie Yukihiro Nakadaira
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,

Re: Vim crash with large xpm

2011-02-18 Fir de Conversatie Erik Falor
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 to

Re: Vim crash with large xpm

2011-02-18 Fir de Conversatie Bram Moolenaar
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

Re: Vim crash with large xpm

2011-02-18 Fir de Conversatie Peter Odding
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 99PageDown and just before I

Re: Vim crash with large xpm

2011-02-18 Fir de Conversatie Marc Weber
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