Re: I have got one ml_get error

2006-09-01 Thread Akria Sheng


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.



Re: [VIM] Re: [VIM] Re: I have got one ml_get error

2006-09-01 Thread Akria Sheng



Walter Cazzola wrote:
 
 On Thu, 31 Aug 2006, Akria Sheng wrote:
 
 Yes, I am using latin1 encoding. The linux which I use don't install any
 function about chinese.
 So the environment is english only. But I am not sure there is other
 strange
 configuration to make this mistake. I have tried to change some options
 include gui-option or multibyte or fontset to complie again, but it still
 doesn't work. Furthermore, I have tried the same compile option with
 vim64
 used, and vim64 is OK, vim70 will crash.
 
 just another try nothing more: have you tried to open a different
 directory? maybe some file has in the name characters that make vim
 crash.
 
 Walter
 
 -- 
 Walter Cazzola, PhD - Assistant Professor, DICo, University of Milano
 E-mail [EMAIL PROTECTED] Ph.: +39 010 353 6637  Fax: +39 010 353 6699
 · · · --- · · · --- · · ·
 ... recursive: adjective, see recursive ...
 · · · --- · · · --- · · ·
 

I have generated one new text file consist of english only at ~/, but the
file has meet the same problem.

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



Re: I have got one ml_get error

2006-08-31 Thread A.J.Mechelynck

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.


Re: I have got one ml_get error

2006-08-31 Thread Akria Sheng


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
-- 
View this message in context: 
http://www.nabble.com/I-have-got-one-%22ml_get%22-error-tf2194557.html#a6074515
Sent from the Vim - General forum at Nabble.com.



Re: I have got one ml_get error

2006-08-31 Thread Akria Sheng



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
-- 
View this message in context: 
http://www.nabble.com/I-have-got-one-%22ml_get%22-error-tf2194557.html#a6075633
Sent from the Vim - General forum at Nabble.com.



Re: I have got one ml_get error

2006-08-31 Thread A.J.Mechelynck

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.


Re: [VIM] Re: I have got one ml_get error

2006-08-31 Thread Walter Cazzola

On Thu, 31 Aug 2006, Akria Sheng wrote:


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.


just my 2¢, are you using a latin encode? I have noted your address come
from Taiwan so it could be an error linked to your specific encoding
that we cannot replicate because we use a different encoding.

Regards
Walter
--
Walter Cazzola, PhD - Assistant Professor, DICo, University of Milano
E-mail [EMAIL PROTECTED] Ph.: +39 010 353 6637  Fax: +39 010 353 6699
· · · --- · · · --- · · ·
   ... recursive: adjective, see recursive ...
· · · --- · · · --- · · ·

Re: [VIM] Re: [VIM] Re: I have got one ml_get error

2006-08-31 Thread Walter Cazzola

On Thu, 31 Aug 2006, Akria Sheng wrote:


Yes, I am using latin1 encoding. The linux which I use don't install any
function about chinese.
So the environment is english only. But I am not sure there is other strange
configuration to make this mistake. I have tried to change some options
include gui-option or multibyte or fontset to complie again, but it still
doesn't work. Furthermore, I have tried the same compile option with vim64
used, and vim64 is OK, vim70 will crash.


just another try nothing more: have you tried to open a different
directory? maybe some file has in the name characters that make vim
crash.

Walter

--
Walter Cazzola, PhD - Assistant Professor, DICo, University of Milano
E-mail [EMAIL PROTECTED] Ph.: +39 010 353 6637  Fax: +39 010 353 6699
· · · --- · · · --- · · ·
   ... recursive: adjective, see recursive ...
· · · --- · · · --- · · ·

I have got one ml_get error

2006-08-30 Thread Akria Sheng

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 


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