[Bug 68960] Re: Vim locks up while editing a specific file (file attached)

2008-07-29 Thread James Vega
** Bug watch added: Debian Bug tracker #400771
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=400771

** Also affects: vim (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=400771
   Importance: Unknown
   Status: Unknown

-- 
Vim locks up while editing a specific file (file attached)
https://bugs.launchpad.net/bugs/68960
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 68960] Re: Vim locks up while editing a specific file (file attached)

2008-07-29 Thread Bug Watch Updater
** Changed in: vim (Debian)
   Status: Unknown = Fix Released

-- 
Vim locks up while editing a specific file (file attached)
https://bugs.launchpad.net/bugs/68960
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 68960] Re: Vim locks up while editing a specific file (file attached)

2008-05-01 Thread Colin Watson
Thanks for following this up, Dominique. I've just uploaded
1:7.1.293-2ubuntu1 to intrepid, which should contain this fix.

** Changed in: vim (Ubuntu)
 Assignee: (unassigned) = Colin Watson (kamion)
   Status: Fix Committed = Fix Released

-- 
Vim locks up while editing a specific file (file attached)
https://bugs.launchpad.net/bugs/68960
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 68960] Re: Vim locks up while editing a specific file (file attached)

2008-03-22 Thread VF
** Changed in: vim (Ubuntu)
   Status: Confirmed = Fix Committed

-- 
Vim locks up while editing a specific file (file attached)
https://bugs.launchpad.net/bugs/68960
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 68960] Re: Vim locks up while editing a specific file (file attached)

2008-01-15 Thread dominiko
Patch 7.1.227 of Vim fixes this issue.  Bug can be marked as fixed when
Ubuntu uses a version = 7.1.227.

-- 
Vim locks up while editing a specific file (file attached)
https://bugs.launchpad.net/bugs/68960
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 68960] Re: Vim locks up while editing a specific file (file attached)

2007-12-02 Thread dominiko
I did a bit of debugging with latest vim-7.1 (patches 1-166).

I found that vim loops forever in a while(...)
loop in syntax.c in function syntax_start():

syntax.c:

 562 while (current_lnum  lnum)
 563 {
 ...
 ...
 596 load_current_state(prev);
 ...
 ...
 609 line_breakcheck();
 610 if (got_int)
 611 {
 612 current_lnum = lnum;
 613 break;
 614 }
 615 }

This while loop never ends with attached vim_testcase file.
Adding some printf(), I can see that:

  - Before entering above while loop:
  - current_lnum == 65
  - lnum == 80

  - Then when iterating in the while loop:
  - lnum remains unchanged (80)
  - current_lnum becomes:

65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,
65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,
65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,
etc.

current_lnum never reaches lnum (80) so loop never ends.

current_lnum goes from 78 to 65 when calling load_current_state(prev)
at line 596.

I do not understand the idea behind load_current_state() and
store_current_state() to go beyond and come up with fix for this.

I posted this to the vim_dev mailing list:

http://groups.google.com/group/vim_dev/browse_thread/thread/157f265102c48127/5550df9950274543?lnk=stq=#5550df9950274543

-- 
Vim locks up while editing a specific file (file attached)
https://bugs.launchpad.net/bugs/68960
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 68960] Re: Vim locks up while editing a specific file (file attached)

2007-11-18 Thread dominiko
I can also reproduce this bug with the latest version of vim (vim-7.1.156)
which I downloaded from cvs and compiled from sources.

I move cursor from left to right over parenthese at line 89 (it's fine)
but when I move cursor from right to left over parenthese, vim
then takes 100% of CPU.  I waited several minutes, so it
looks like it's an endless loop (or something that would be
very slow!)

If I attached with gdb to the running process, I see the stack trace 
(quite deep) at given time (when it loops forever):

#0  0x0811cff4 in utf_ptr2char (p=0x82bf771 \tfor i in $(qemu_bios_files); do 
\\) at mbyte.c:1377
#1  0x0815b428 in regmatch (scan=0x82a13d5 \005) at regexp.c:3795
#2  0x0815b091 in regtry (prog=0x82a1380, col=0) at regexp.c:3599
#3  0x0815ae41 in vim_regexec_both (line=0x82bf771 \tfor i in 
$(qemu_bios_files); do \\, col=0) at regexp.c:3469
#4  0x0815aa5b in vim_regexec_multi (rmp=0xbf8de7d4, win=0x822d208, 
buf=0x822e188, lnum=69, col=0) at regexp.c:3329
#5  0x0819cea9 in syn_regexec (rmp=0xbf8de7d4, lnum=69, col=0) at syntax.c:3098
#6  0x0819b3c6 in syn_current_attr (syncing=0, displaying=0, can_spell=0x0) at 
syntax.c:2000
#7  0x0819abf5 in syn_finish_line (syncing=0) at syntax.c:1694
#8  0x0819914e in syntax_start (wp=0x822d208, lnum=80) at syntax.c:565
#9  0x081a2536 in syn_get_id (wp=0x822d208, lnum=80, col=11, trans=0, 
spellp=0x0) at syntax.c:6101
#10 0x080870f5 in f_synID (argvars=0xbf8dead4, rettv=0xbf8deec4) at eval.c:15691
#11 0x0807b8b7 in call_func (name=0x82a0892 synID, len=5, rettv=0xbf8deec4, 
argcount=3, argvars=0xbf8dead4, 
firstline=80, lastline=80, doesrange=0xbf8debd8, evaluate=1, selfdict=0x0) 
at eval.c:7628
#12 0x0807b3ea in get_func_tv (name=0x82a0892 synID, len=5, rettv=0xbf8deec4, 
arg=0xbf8def6c, firstline=80, 
lastline=80, doesrange=0xbf8debd8, evaluate=1, selfdict=0x0) at eval.c:7446
#13 0x08077a77 in eval7 (arg=0xbf8def6c, rettv=0xbf8deec4, evaluate=1) at 
eval.c:4697
#14 0x080775ad in eval6 (arg=0xbf8def6c, rettv=0xbf8deec4, evaluate=1) at 
eval.c:4466
#15 0x080772ea in eval5 (arg=0xbf8def6c, rettv=0xbf8deec4, evaluate=1) at 
eval.c:4335
#16 0x08076a04 in eval4 (arg=0xbf8def6c, rettv=0xbf8deec4, evaluate=1) at 
eval.c:4067
#17 0x0807685c in eval3 (arg=0xbf8def6c, rettv=0xbf8deec4, evaluate=1) at 
eval.c:3979
#18 0x080766e8 in eval2 (arg=0xbf8def6c, rettv=0xbf8deec4, evaluate=1) at 
eval.c:3908
#19 0x0807651e in eval1 (arg=0xbf8def6c, rettv=0xbf8deec4, evaluate=1) at 
eval.c:3833
#20 0x0807b35a in get_func_tv (name=0x82a0888 synIDattr(synID, len=9, 
rettv=0xbf8df2cc, arg=0xbf8df2a0, 
firstline=80, lastline=80, doesrange=0xbf8defc8, evaluate=1, selfdict=0x0) 
at eval.c:7431
#21 0x08077a77 in eval7 (arg=0xbf8df2a0, rettv=0xbf8df2cc, evaluate=1) at 
eval.c:4697
#22 0x080775ad in eval6 (arg=0xbf8df2a0, rettv=0xbf8df2cc, evaluate=1) at 
eval.c:4466
#23 0x080772ea in eval5 (arg=0xbf8df2a0, rettv=0xbf8df2cc, evaluate=1) at 
eval.c:4335
#24 0x08076a04 in eval4 (arg=0xbf8df2a0, rettv=0xbf8df2cc, evaluate=1) at 
eval.c:4067
#25 0x0807685c in eval3 (arg=0xbf8df2a0, rettv=0xbf8df2cc, evaluate=1) at 
eval.c:3979
#26 0x080766e8 in eval2 (arg=0xbf8df2a0, rettv=0xbf8df2cc, evaluate=1) at 
eval.c:3908
#27 0x0807651e in eval1 (arg=0xbf8df2a0, rettv=0xbf8df2cc, evaluate=1) at 
eval.c:3833
#28 0x08076485 in eval0 (arg=0x82a0888 synIDattr(synID, rettv=0xbf8df2cc, 
nextcmd=0x0, evaluate=1) at eval.c:3790
#29 0x08071fed in eval_to_bool (arg=0x82a0888 synIDattr(synID, 
error=0xbf8df36c, nextcmd=0x0, skip=0) at eval.c:1150
#30 0x08084e00 in do_searchpair (spat=0x8296f88 (, mpat=0x822f6e8 , 
epat=0x824d0f8 ), dir=-1, 
skip=0x82a0888 synIDattr(synID, flags=1, match_pos=0xbf8df484, 
lnum_stop=39) at eval.c:14316
#31 0x08084a04 in searchpair_cmn (argvars=0xbf8df574, match_pos=0xbf8df484) at 
eval.c:14188
#32 0x08084a8e in f_searchpairpos (argvars=0xbf8df574, rettv=0xbf8df98c) at 
eval.c:14225
#33 0x0807b8b7 in call_func (name=0x824d0c0 searchpairpos, len=13, 
rettv=0xbf8df98c, argcount=6, 
argvars=0xbf8df574, firstline=89, lastline=89, doesrange=0xbf8df678, 
evaluate=1, selfdict=0x0) at eval.c:7628
#34 0x0807b3ea in get_func_tv (name=0x824d0c0 searchpairpos, len=13, 
rettv=0xbf8df98c, arg=0xbf8df950, 
firstline=89, lastline=89, doesrange=0xbf8df678, evaluate=1, selfdict=0x0) 
at eval.c:7446
#35 0x08077a77 in eval7 (arg=0xbf8df950, rettv=0xbf8df98c, evaluate=1) at 
eval.c:4697
#36 0x080775ad in eval6 (arg=0xbf8df950, rettv=0xbf8df98c, evaluate=1) at 
eval.c:4466
#37 0x080772ea in eval5 (arg=0xbf8df950, rettv=0xbf8df98c, evaluate=1) at 
eval.c:4335
#38 0x08076a04 in eval4 (arg=0xbf8df950, rettv=0xbf8df98c, evaluate=1) at 
eval.c:4067
#39 0x0807685c in eval3 (arg=0xbf8df950, rettv=0xbf8df98c, evaluate=1) at 
eval.c:3979
#40 0x080766e8 in eval2 (arg=0xbf8df950, rettv=0xbf8df98c, evaluate=1) at 
eval.c:3908
#41 0x0807651e in eval1 (arg=0xbf8df950, rettv=0xbf8df98c, evaluate=1) at 
eval.c:3833
#42 0x08076485 in eval0 (arg=0x824d0c0 searchpairpos, rettv=0xbf8df98c, 

[Bug 68960] Re: Vim locks up while editing a specific file (file attached)

2007-02-05 Thread Anderson Lizardo
FWIW, this bug still applies to Edgy, given that there were no updates
to the vim package since then. I plan to test it on Feisty once I have
it installed, but if anyone could do this that would be nice.

-- 
Vim locks up while editing a specific file (file attached)
https://launchpad.net/bugs/68960

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 68960] Re: Vim locks up while editing a specific file (file attached)

2006-11-06 Thread Constantine Evans
I've confirmed this in Edgy. I will look into this upstream tomorrow.

** Changed in: vim (Ubuntu)
   Status: Unconfirmed = Confirmed

-- 
Vim locks up while editing a specific file (file attached)
https://launchpad.net/bugs/68960

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 68960] Re: Vim locks up while editing a specific file (file attached)

2006-11-06 Thread Malcolm Parsons
 5) Vim should lock up and the only way to close it is by killing its
process

As a workaround, just press ctrl+c, vim will come back to life.

-- 
Vim locks up while editing a specific file (file attached)
https://launchpad.net/bugs/68960

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 68960] Re: Vim locks up while editing a specific file (file attached)

2006-10-28 Thread Anderson Lizardo
Attached testcase file.

** Attachment added: bug testcase
   http://librarian.launchpad.net/4939542/vim_testcase

-- 
Vim locks up while editing a specific file (file attached)
https://launchpad.net/bugs/68960

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs