A.J.Mechelynck wrote:
> 
> Akria Sheng wrote:
>> 
>> 
>> A.J.Mechelynck wrote:
>>> Akria Sheng wrote:
>>>> A.J.Mechelynck wrote:
>>>>> Akria Sheng wrote:
>>>>>> I have got one error to crash vim.
>>>>>> It happened when meet the following condition:
>>>>>>    A. must in Linux(solaris and winxp is OK)
>>>>>>    B. vim7.0(6.4 is ok)
>>>>>>    C. open one huge file(exceed 368710 bytes) then type ":sp ./"
>>>>>>
>>>>>>    In general, it will split one window to show the filebrowse.
>>>>>>    But Vim will crash.
>>>>>>    I don't know how to avoid this crash.
>>>>>>
>>>>>>    There are two appendixed report file:
>>>>>> http://www.nabble.com/user-files/235811/bugreport.txt bugreport.txt 
>>>>>> http://www.nabble.com/user-files/235812/buginfo.txt buginfo.txt 
>>>>>>
>>>>>>
>>>>> Do you see it every time? On this Linux box I have here one Vim
>>>>> session 
>>>>> with a file of more than a million /lines/, 33.6 MB (almost 100 times
>>>>> as 
>>>>> big as yours: a modified version of Unihan.txt from the Unicode site).
>>>>> I 
>>>>> did ":sp ./" and gvim opened a netrw window on my current directory
>>>>> with 
>>>>> no prob. And yet, I have a somewhat fancier installation than you do, 
>>>>> what with a GNOME2 GUI, a few user scripts, a color scheme... But I
>>>>> have 
>>>>> 1GB of live RAM and my CPU is an AMD running at 1.2 GHz (not that gvim 
>>>>> uses it all, X and Firefox have the biggest memory allocations, and 
>>>>> Firefox is also the most greedy of my CPU time). Also, I'm 76 bugfixes 
>>>>> ahead of you. (Yours is 7.0.000.) Maybe you should apply the 76
>>>>> patches 
>>>>> published so far (at ftp://ftp.vim.org/pub/vim/patches/7.0/ ) and see
>>>>> if 
>>>>> the problem recurs? See at (ftp: or) 
>>>>> http://ftp.vim.org/pub/vim/patches/7.0/README what these patches are
>>>>> all 
>>>>> about.
>>>>>
>>>>>
>>>>> Best regards,
>>>>> Tony.
>>>>>
>>>>>
>>>> I have already do the same test on vim with 76 patches, but it still
>>>> happened every time.
>>>> I have generate another big file for test, and it has the same error.
>>>> The vim70 on solaris is complied with the same complie-option and this
>>>> has
>>>> no error.
>>>>
>>>> I try to test the script of vim, and found the script
>>>> "runtime/autoload/netrw.vim#4240,4242" is involved.
>>>> If I comment the two lines, Vim will not crash.
>>>> But I have no sense about this modification.
>>>>
>>>> Best regards,
>>>> Akria Sheng
>>> Which version of netrw are you using? In mine (version 102 dated Jul 24, 
>>> 2006 as shown near the top of the file), lines 4240 to 4242 are one 
>>> blank line and two comments, of which the first one is just a horizontal 
>>> line and the other is the fold header for the function 
>>> NetrwStatusLine(). The version of netrw distributed with Vim is not 
>>> always the latest one. Later versions are usually available at 
>>> vim-online http://vim.sourceforge.net/ and even more recent ones on Dr. 
>>> Chip's personal site http://mysite.verizon.net/astronaut/vim
>>>
>>>
>>> Best regards,
>>> Tony.
>>>
>>>
>> 
>> Dear Tony,
>> I have update the netrw to version 102, but it still happened.
>> The two line are changed to be 4424 & 4426.
>> When I comment the two line again, vim open the fileexplorer success.
>> 
>> Best regards,
>> Akria Sheng
> 
> IIUC, the code snippet which crashes your gvim is:
> 
> 
>     if seq == '*'
>      exe 'silent keepjumps 
> '.w:netrw_bannercnt.',$v/^\d\{3}\//s/^/'.spriority.'/'
>     else
>      exe 'silent keepjumps 
> '.w:netrw_bannercnt.',$g/'.eseq.'/s/^/'.spriority.'/'
>     endif
> 
> 
> in function s:SetSort() in file autoload/netrw.vim. I give up. I guess 
> we'll have to wait until Dr. Chip looks at this one. (He usually visits 
> these lists quite assiduously, but I'm adding him in the "Cc" headers, 
> just in case.)
> 
> 
> Best regards,
> Tony.
> 
> 

That is ok. Thanks for your help anyway.

Best regards,
Akria Sheng
-- 
View this message in context: 
http://www.nabble.com/I-have-got-one-%22ml_get%22-error-tf2194557.html#a6093471
Sent from the Vim - General forum at Nabble.com.

Reply via email to