Your message dated Fri, 18 Jan 2008 04:17:07 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#400771: fixed in vim 1:7.1-231+1 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: vim-gtk Version: 7.0-122+1 vim uses 100% cpu while scrolling up (starting in a given state) the attached file. How to reproduce: Open a gnome-terminal with a height of 24 lines and a width of 126 characters (maximized horizontally on a 1024x768 screen using courier 11 font (default)). In this gnome-terminal run: $ /usr/bin/vim.gtk Makefile.am Go to the top of the file if not already there. Press and hold 'j', scrolling down until you hit the bottom. Then press and hold 'k', scrolling up until vim freezes and starts to use 100% cpu. If it doesn't freeze the first time, try doing it again (go always completely to the bottom and completely to the top - use scrolling, not 'G' to jump). Once looping, it loops inside syntax_start where current_lnum loops over the values 27 to 31, jumping back to 27 after having had value 31 in the last line of load_current_state. At that moment we have the following backtrace: #0 load_current_state (from=0x827a154) at syntax.c:1504 #1 0x0817167f in syntax_start (wp=0x81e5a38, lnum=37) at syntax.c:593 #2 0x08142c85 in win_update (wp=0x81e5a38) at screen.c:2694 #3 0x0814565f in update_screen (type=0) at screen.c:535 #4 0x080d2bb5 in main_loop (cmdwin=0, noexmode=0) at main.c:1083 #5 0x080d5c86 in main (argc=Cannot access memory at address 0x3) at main.c:934 It never leaves syntax_start(), in fact, it never leaves the while loop in this function: 559 while (current_lnum < lnum) 560 { 561 syn_start_line(); 562 (void)syn_finish_line(FALSE); 563 ++current_lnum; 564 565 /* If we parsed at least "minlines" lines or started at a valid 566 * state, the current state is considered valid. */ 567 if (current_lnum >= first_stored) 568 { 569 /* Check if the saved state entry is for the current line and is 570 * equal to the current state. If so, then validate all saved 571 * states that depended on a change before the parsed line. */ 572 if (prev == NULL) 573 sp = syn_buf->b_sst_first; 574 else 575 sp = prev->sst_next; 576 if (sp != NULL 577 && sp->sst_lnum == current_lnum 578 && syn_stack_equal(sp)) 579 { 580 parsed_lnum = current_lnum; 581 prev = sp; 582 while (sp != NULL && sp->sst_change_lnum <= parsed_lnum) 583 { 584 if (sp->sst_lnum <= lnum) 585 /* valid state before desired line, use this one */ 586 prev = sp; 587 else if (sp->sst_change_lnum == 0) 588 /* past saved states depending on change, break here. */ 589 break; 590 sp->sst_change_lnum = 0; 591 sp = sp->sst_next; 592 } 593 load_current_state(prev); 594 } 595 /* Store the state at this line when it's the first one, the line 596 * where we start parsing, or some distance from the previously 597 * saved state. But only when parsed at least 'minlines'. */ 598 else if (prev == NULL 599 || current_lnum == lnum 600 || current_lnum >= prev->sst_lnum + dist) 601 prev = store_current_state(prev); 602 } Attached: 'Makefile.am.gz', please gunzip before opening ;). Output of ":filetype" filetype detection:ON plugin:ON indent:OFF Output of ":set filetype" filetype=automake -- Carlo Wood <[EMAIL PROTECTED]>
Makefile.am.gz
Description: Binary data
--- End Message ---
--- Begin Message ---Source: vim Source-Version: 1:7.1-231+1 We believe that the bug you reported is fixed in the latest version of vim, which is due to be installed in the Debian FTP archive: vim-common_7.1-231+1_i386.deb to pool/main/v/vim/vim-common_7.1-231+1_i386.deb vim-dbg_7.1-231+1_i386.deb to pool/main/v/vim/vim-dbg_7.1-231+1_i386.deb vim-doc_7.1-231+1_all.deb to pool/main/v/vim/vim-doc_7.1-231+1_all.deb vim-full_7.1-231+1_all.deb to pool/main/v/vim/vim-full_7.1-231+1_all.deb vim-gnome_7.1-231+1_i386.deb to pool/main/v/vim/vim-gnome_7.1-231+1_i386.deb vim-gtk_7.1-231+1_i386.deb to pool/main/v/vim/vim-gtk_7.1-231+1_i386.deb vim-gui-common_7.1-231+1_all.deb to pool/main/v/vim/vim-gui-common_7.1-231+1_all.deb vim-lesstif_7.1-231+1_i386.deb to pool/main/v/vim/vim-lesstif_7.1-231+1_i386.deb vim-nox_7.1-231+1_i386.deb to pool/main/v/vim/vim-nox_7.1-231+1_i386.deb vim-perl_7.1-231+1_all.deb to pool/main/v/vim/vim-perl_7.1-231+1_all.deb vim-python_7.1-231+1_all.deb to pool/main/v/vim/vim-python_7.1-231+1_all.deb vim-ruby_7.1-231+1_all.deb to pool/main/v/vim/vim-ruby_7.1-231+1_all.deb vim-runtime_7.1-231+1_all.deb to pool/main/v/vim/vim-runtime_7.1-231+1_all.deb vim-tcl_7.1-231+1_all.deb to pool/main/v/vim/vim-tcl_7.1-231+1_all.deb vim-tiny_7.1-231+1_i386.deb to pool/main/v/vim/vim-tiny_7.1-231+1_i386.deb vim_7.1-231+1.diff.gz to pool/main/v/vim/vim_7.1-231+1.diff.gz vim_7.1-231+1.dsc to pool/main/v/vim/vim_7.1-231+1.dsc vim_7.1-231+1_i386.deb to pool/main/v/vim/vim_7.1-231+1_i386.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. James Vega <[EMAIL PROTECTED]> (supplier of updated vim package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Thu, 17 Jan 2008 13:50:30 -0500 Source: vim Binary: vim-full vim-lesstif vim-common vim-nox vim-dbg vim-runtime vim-doc vim-gnome vim vim-gtk vim-perl vim-tiny vim-gui-common vim-ruby vim-python vim-tcl Architecture: source all i386 Version: 1:7.1-231+1 Distribution: unstable Urgency: low Maintainer: [EMAIL PROTECTED] Changed-By: James Vega <[EMAIL PROTECTED]> Description: vim - Vi IMproved - enhanced vi editor vim-common - Vi IMproved - Common files vim-dbg - Vi IMproved - enhanced vi editor (debugging symbols) vim-doc - Vi IMproved - HTML documentation vim-full - Vi IMproved - enhanced vi editor (transitional package) vim-gnome - Vi IMproved - enhanced vi editor - with GNOME2 GUI vim-gtk - Vi IMproved - enhanced vi editor - with GTK2 GUI vim-gui-common - Vi IMproved - Common GUI files vim-lesstif - Vi IMproved - enhanced vi editor - with LessTif GUI vim-nox - Vi IMproved - enhanced vi editor vim-perl - Vi IMproved - enhanced vi editor (transitional package) vim-python - Vi IMproved - enhanced vi editor (transitional package) vim-ruby - Vi IMproved - enhanced vi editor (transitional package) vim-runtime - Vi IMproved - Runtime files vim-tcl - Vi IMproved - enhanced vi editor (transitional package) vim-tiny - Vi IMproved - enhanced vi editor - compact version Closes: 370082 400771 437434 445295 455993 460074 461059 461295 Changes: vim (1:7.1-231+1) unstable; urgency=low . [ Debian Vim Maintainers ] * New upstream patches (176 - 231), see README.gz for details. - 7.1.227 fixes an issue where syntax highlighting could cause Vim to hang. (Closes: #400771) . [ James Vega ] * debian/control: - Bump policy version to 3.7.3.0 - no changes needed. - Drop Build-Conflicts on old version of libperl-dev. - Drop versioning from Build-Depends that are available in Sarge. - Drop unnecessary ruby and perl Build-Depends. - Suggest ttf-dejavu instead of ttf-bitstream-vera for the gvim packages. (Closes: #461295) - Remove dpkg Pre-Depends now that dak is accepting data.tar.bz2. * runtime/syntax/debchangelog.vim: - Adjust the "Closes" syntax highlighting to allow newlines as part of the whitespace. (Closes: #460074) - Recognize lenny-backports/lenny-volatile. (Closes: #461059) * runtime/syntax/debcontrol.vim: Add s390x, sh3, sh3eb, sh4, sh4eb to the list of recognized architectures. (Closes: #455993) * Added patches: - configure-tcl_detection.diff: + Update Vim's configure script to detect Tcl again after the Tcl maintainers' decision to move /usr/lib/tcl8.4/ to /usr/share/tcltk/tcl8.4/. - tex.vim-syntax_additions.diff: + Disable spell checking for verbatim sections. (Closes: #445295) - netrwPlugin.vim-bwipe.diff: + Call bwipe when opening file:// URLs to remove the extra buffers that get created. Their creation is inevitable but this will clean up the buffer list. (Closes: #370082) - filetype.vim-udev.d.diff: + Detect /etc/udev.d/*.rules files as 'udevrules' instead of 'hog' filetype. (Closes: #437434) - vimspell.sh-typo.diff: + Fix a missing end-quote in tools/vimspell.sh. - mve.awk-interpreter.diff: + Adjust the #! line to use awk instead of nawk. * Updated patches: - fstab.vim-syntax.diff: + Added more sshfs support based on feedback from upstream. * Removed patches: - gui_gtk_x11.c_g_thread_init.diff: + This patch was initially added to silence a GLib warning (#428854) which isn't occurring anymore. * Stop removing vimspell, vim132, and maze from the runtime tools/ directory. The issues leading to their removal should be addressed instead of removing them from the package. - vimspell - The tempfile vulnerability (CAN-2005-0069) has been fixed upstream for some time now. - vim132 - Add lintian overrides for "csh is harmful" and not having a Depends/Recommends/Suggests on tcsh | csh. This is the only file in the package that would use the shell and its an example script. - maze - maze.c doesn't work properly and its README suggests this may be the case on newer compilers and to use mazeansi.c, which does work. Files: e5997454de8caeba384098e1abde2858 1280 editors optional vim_7.1-231+1.dsc 922b6a3fc2c719d00f41d6661a0cf398 473243 editors optional vim_7.1-231+1.diff.gz b919acc5183ac77f3aaae7a6197a66d2 148884 editors optional vim-gui-common_7.1-231+1_all.deb 13688f22e38d15169cf3ce54b065007d 5467020 editors optional vim-runtime_7.1-231+1_all.deb ff53df57956c05ebd621f8a5da0a97d9 2113530 doc optional vim-doc_7.1-231+1_all.deb 9bb8c75edfbfce53916bd1899b4e4334 71568 editors extra vim-perl_7.1-231+1_all.deb 984944c87d24ba52306ce9f6fb63b1f7 71574 editors extra vim-python_7.1-231+1_all.deb 492c8c11e403f7061c13403a998781e2 71570 editors extra vim-ruby_7.1-231+1_all.deb 4d8eaf6b1870eac55c453ba27d4d677b 71566 editors extra vim-tcl_7.1-231+1_all.deb 3de346dee9b373bb010125995eff34c1 71592 editors extra vim-full_7.1-231+1_all.deb 3727ba2798757b8d6a7efed236543b6a 319022 editors important vim-tiny_7.1-231+1_i386.deb 46301edaacf00b229e2d11f55225accb 957214 editors extra vim-gtk_7.1-231+1_i386.deb 220b8b6acaef93f8b41f8452c91c72c1 959266 editors extra vim-gnome_7.1-231+1_i386.deb e25adc9672da97f62473d20f68bf57cf 950526 editors extra vim-lesstif_7.1-231+1_i386.deb 1bf844651d604c3f486e70fc2564dc09 829882 editors extra vim-nox_7.1-231+1_i386.deb b419e167e090204f71e11e8ee12ed458 189944 editors important vim-common_7.1-231+1_i386.deb 69361fd651f0855ecfc204a1bd1d5db8 744346 editors optional vim_7.1-231+1_i386.deb 97d6d53b77a62d5eeffc8ef29c5c9ed0 8018948 editors extra vim-dbg_7.1-231+1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iEYEARECAAYFAkeQI/4ACgkQDb3UpmEybUBDeQCfQCfG5+7BoMkGnX24b+HWh3Nr we0AnjpnZMwJcdbKqh623+/q+daANXQD =ZpjO -----END PGP SIGNATURE-----
--- End Message ---

