[Bug 856779] Re: gvim slow to respond
David Barnett
856779 at bugs.launchpad.net
Sat Feb 4 05:14:50 UTC 2012
Updated, but I have no idea on Development Fix or Stable Fix, and I'm
not quite sure what would be a reasonable value for Regression
Potential.
** Description changed:
[Impact]
- <fill me in with explanation of severity and frequency of bug on users and justification for backporting the fix to the stable release>
+ The bug makes gvim windows unresponsive to keyboard events for seconds to minutes after a window is opened. It happens every time a window is opened. It's annoying and makes gvim very difficult to use.
[Development Fix]
<fill me in with an explanation of how the bug has been addressed in the development branch, including the relevant version numbers of packages modified in order to implement the fix. >
[Stable Fix]
<fill me in by pointing out a minimal patch applicable to the stable version of the package.>
[Text Case]
<fill me in with detailed *instructions* on how to reproduce the bug. This will be used by people later on to verify the updated package fixes the problem.>
- 1.
- 2.
- 3.
- Broken Behavior:
- Fixed Behavior:
+ 1. Ensure ibus is installed
+ 2. Open a gvim window
+ 3. Focus window and press arrow keys immediately after opening
+ Broken Behavior: Arrow keys have no effect. Clicking around will move the cursor normally
+ Fixed Behavior: Arrow keys move cursor
[Regression Potential]
- <fill me in with a discussion of likelihood and potential severity of regressions and how users could get inadvertently affected.
+ <fill me in with a discussion of likelihood and potential severity of regressions and how users could get inadvertently affected.
[Original Report]
Opening up GVIM takes long time and edit commands such as moving are very slow.
strace shows lots of waiting:
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN}, {fd=18, events=POLLIN}], 7, -1) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\f\0\f\250E\0\340\5\0\0\25\0a\0\32\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 160
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN}, {fd=18, events=POLLIN}], 7, 0) = 0 (Timeout)
poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])
writev(5, [{"5\30\4\0\226\16\340\5E\0\340\5a\0\24\2\225\4\5\0\227\16\340\5\226\16\340\5*\0\0\0"..., 8180}, {NULL, 0}, {"", 0}], 3) = 8180
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN}, {fd=18, events=POLLIN}], 7, -1) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\f\0i\251E\0\340\5\\\0/\0\5\0\1\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 160
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN}, {fd=18, events=POLLIN}], 7, 0) = 0 (Timeout)
poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])
writev(5, [{"5\30\4\0\230\16\340\5E\0\340\5\t\0\24\2\225\4\5\0\231\16\340\5\230\16\340\5*\0\0\0"..., 4440}, {NULL, 0}, {"", 0}], 3) = 4440
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN}, {fd=18, events=POLLIN}], 7, -1^C <unfinished ...>
fds are here
gvim 6138 maguec 0u CHR 136,0 0t0 3 /dev/pts/0
gvim 6138 maguec 1u CHR 136,0 0t0 3 /dev/pts/0
gvim 6138 maguec 2u CHR 136,0 0t0 3 /dev/pts/0
gvim 6138 maguec 3r FIFO 0,8 0t0 213734 pipe
gvim 6138 maguec 4w FIFO 0,8 0t0 213734 pipe
gvim 6138 maguec 5u unix 0x0000000000000000 0t0 213737 socket
gvim 6138 maguec 6u 0000 0,9 0 5107 anon_inode
gvim 6138 maguec 7u unix 0x0000000000000000 0t0 212773 socket
gvim 6138 maguec 8u 0000 0,9 0 5107 anon_inode
gvim 6138 maguec 9r FIFO 0,8 0t0 213743 pipe
gvim 6138 maguec 10w FIFO 0,8 0t0 213743 pipe
gvim 6138 maguec 11u unix 0x0000000000000000 0t0 213744 socket
gvim 6138 maguec 12u unix 0x0000000000000000 0t0 213745 socket
gvim 6138 maguec 13u 0000 0,9 0 5107 anon_inode
gvim 6138 maguec 14u 0000 0,9 0 5107 anon_inode
gvim 6138 maguec 15u unix 0x0000000000000000 0t0 212774 socket
gvim 6138 maguec 16u unix 0x0000000000000000 0t0 213752 socket
gvim 6138 maguec 17u 0000 0,9 0 5107 anon_inode
gvim 6138 maguec 18r 0000 0,9 0 5107 anon_inode
gvim 6138 maguec 20u REG 8,6 12288 8478 /home/maguec/tmp/vim/%home%maguec%Code%oppy%bin%check_status.swp
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: vim-gnome 2:7.3.154+hg~74503f6ee649-2ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Thu Sep 22 13:30:21 2011
ExecutablePath: /usr/bin/vim.gnome
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.UTF-8
SourcePackage: vim
UpgradeStatus: Upgraded to oneiric on 2011-09-02 (19 days ago)
** Description changed:
[Impact]
The bug makes gvim windows unresponsive to keyboard events for seconds to minutes after a window is opened. It happens every time a window is opened. It's annoying and makes gvim very difficult to use.
[Development Fix]
<fill me in with an explanation of how the bug has been addressed in the development branch, including the relevant version numbers of packages modified in order to implement the fix. >
[Stable Fix]
<fill me in by pointing out a minimal patch applicable to the stable version of the package.>
- [Text Case]
- <fill me in with detailed *instructions* on how to reproduce the bug. This will be used by people later on to verify the updated package fixes the problem.>
+ [Test Case]
1. Ensure ibus is installed
2. Open a gvim window
3. Focus window and press arrow keys immediately after opening
Broken Behavior: Arrow keys have no effect. Clicking around will move the cursor normally
Fixed Behavior: Arrow keys move cursor
[Regression Potential]
<fill me in with a discussion of likelihood and potential severity of regressions and how users could get inadvertently affected.
[Original Report]
Opening up GVIM takes long time and edit commands such as moving are very slow.
strace shows lots of waiting:
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN}, {fd=18, events=POLLIN}], 7, -1) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\f\0\f\250E\0\340\5\0\0\25\0a\0\32\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 160
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN}, {fd=18, events=POLLIN}], 7, 0) = 0 (Timeout)
poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])
writev(5, [{"5\30\4\0\226\16\340\5E\0\340\5a\0\24\2\225\4\5\0\227\16\340\5\226\16\340\5*\0\0\0"..., 8180}, {NULL, 0}, {"", 0}], 3) = 8180
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN}, {fd=18, events=POLLIN}], 7, -1) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\f\0i\251E\0\340\5\\\0/\0\5\0\1\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 160
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN}, {fd=18, events=POLLIN}], 7, 0) = 0 (Timeout)
poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])
writev(5, [{"5\30\4\0\230\16\340\5E\0\340\5\t\0\24\2\225\4\5\0\231\16\340\5\230\16\340\5*\0\0\0"..., 4440}, {NULL, 0}, {"", 0}], 3) = 4440
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN}, {fd=18, events=POLLIN}], 7, -1^C <unfinished ...>
fds are here
gvim 6138 maguec 0u CHR 136,0 0t0 3 /dev/pts/0
gvim 6138 maguec 1u CHR 136,0 0t0 3 /dev/pts/0
gvim 6138 maguec 2u CHR 136,0 0t0 3 /dev/pts/0
gvim 6138 maguec 3r FIFO 0,8 0t0 213734 pipe
gvim 6138 maguec 4w FIFO 0,8 0t0 213734 pipe
gvim 6138 maguec 5u unix 0x0000000000000000 0t0 213737 socket
gvim 6138 maguec 6u 0000 0,9 0 5107 anon_inode
gvim 6138 maguec 7u unix 0x0000000000000000 0t0 212773 socket
gvim 6138 maguec 8u 0000 0,9 0 5107 anon_inode
gvim 6138 maguec 9r FIFO 0,8 0t0 213743 pipe
gvim 6138 maguec 10w FIFO 0,8 0t0 213743 pipe
gvim 6138 maguec 11u unix 0x0000000000000000 0t0 213744 socket
gvim 6138 maguec 12u unix 0x0000000000000000 0t0 213745 socket
gvim 6138 maguec 13u 0000 0,9 0 5107 anon_inode
gvim 6138 maguec 14u 0000 0,9 0 5107 anon_inode
gvim 6138 maguec 15u unix 0x0000000000000000 0t0 212774 socket
gvim 6138 maguec 16u unix 0x0000000000000000 0t0 213752 socket
gvim 6138 maguec 17u 0000 0,9 0 5107 anon_inode
gvim 6138 maguec 18r 0000 0,9 0 5107 anon_inode
gvim 6138 maguec 20u REG 8,6 12288 8478 /home/maguec/tmp/vim/%home%maguec%Code%oppy%bin%check_status.swp
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: vim-gnome 2:7.3.154+hg~74503f6ee649-2ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Thu Sep 22 13:30:21 2011
ExecutablePath: /usr/bin/vim.gnome
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.UTF-8
SourcePackage: vim
UpgradeStatus: Upgraded to oneiric on 2011-09-02 (19 days ago)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/856779
Title:
gvim slow to respond
Status in “vim” package in Ubuntu:
Fix Released
Status in “vim” source package in Oneiric:
In Progress
Status in “vim” package in Fedora:
Unknown
Bug description:
[Impact]
The bug makes gvim windows unresponsive to keyboard events for seconds to minutes after a window is opened. It happens every time a window is opened. It's annoying and makes gvim very difficult to use.
[Development Fix]
<fill me in with an explanation of how the bug has been addressed in the development branch, including the relevant version numbers of packages modified in order to implement the fix. >
[Stable Fix]
<fill me in by pointing out a minimal patch applicable to the stable version of the package.>
[Test Case]
1. Ensure ibus is installed
2. Open a gvim window
3. Focus window and press arrow keys immediately after opening
Broken Behavior: Arrow keys have no effect. Clicking around will move the cursor normally
Fixed Behavior: Arrow keys move cursor
[Regression Potential]
<fill me in with a discussion of likelihood and potential severity of regressions and how users could get inadvertently affected.
[Original Report]
Opening up GVIM takes long time and edit commands such as moving are very slow.
strace shows lots of waiting:
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN}, {fd=18, events=POLLIN}], 7, -1) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\f\0\f\250E\0\340\5\0\0\25\0a\0\32\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 160
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN}, {fd=18, events=POLLIN}], 7, 0) = 0 (Timeout)
poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])
writev(5, [{"5\30\4\0\226\16\340\5E\0\340\5a\0\24\2\225\4\5\0\227\16\340\5\226\16\340\5*\0\0\0"..., 8180}, {NULL, 0}, {"", 0}], 3) = 8180
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN}, {fd=18, events=POLLIN}], 7, -1) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\f\0i\251E\0\340\5\\\0/\0\5\0\1\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 160
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN}, {fd=18, events=POLLIN}], 7, 0) = 0 (Timeout)
poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])
writev(5, [{"5\30\4\0\230\16\340\5E\0\340\5\t\0\24\2\225\4\5\0\231\16\340\5\230\16\340\5*\0\0\0"..., 4440}, {NULL, 0}, {"", 0}], 3) = 4440
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x11fa014, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN}, {fd=18, events=POLLIN}], 7, -1^C <unfinished ...>
fds are here
gvim 6138 maguec 0u CHR 136,0 0t0 3 /dev/pts/0
gvim 6138 maguec 1u CHR 136,0 0t0 3 /dev/pts/0
gvim 6138 maguec 2u CHR 136,0 0t0 3 /dev/pts/0
gvim 6138 maguec 3r FIFO 0,8 0t0 213734 pipe
gvim 6138 maguec 4w FIFO 0,8 0t0 213734 pipe
gvim 6138 maguec 5u unix 0x0000000000000000 0t0 213737 socket
gvim 6138 maguec 6u 0000 0,9 0 5107 anon_inode
gvim 6138 maguec 7u unix 0x0000000000000000 0t0 212773 socket
gvim 6138 maguec 8u 0000 0,9 0 5107 anon_inode
gvim 6138 maguec 9r FIFO 0,8 0t0 213743 pipe
gvim 6138 maguec 10w FIFO 0,8 0t0 213743 pipe
gvim 6138 maguec 11u unix 0x0000000000000000 0t0 213744 socket
gvim 6138 maguec 12u unix 0x0000000000000000 0t0 213745 socket
gvim 6138 maguec 13u 0000 0,9 0 5107 anon_inode
gvim 6138 maguec 14u 0000 0,9 0 5107 anon_inode
gvim 6138 maguec 15u unix 0x0000000000000000 0t0 212774 socket
gvim 6138 maguec 16u unix 0x0000000000000000 0t0 213752 socket
gvim 6138 maguec 17u 0000 0,9 0 5107 anon_inode
gvim 6138 maguec 18r 0000 0,9 0 5107 anon_inode
gvim 6138 maguec 20u REG 8,6 12288 8478 /home/maguec/tmp/vim/%home%maguec%Code%oppy%bin%check_status.swp
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: vim-gnome 2:7.3.154+hg~74503f6ee649-2ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Thu Sep 22 13:30:21 2011
ExecutablePath: /usr/bin/vim.gnome
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.UTF-8
SourcePackage: vim
UpgradeStatus: Upgraded to oneiric on 2011-09-02 (19 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/856779/+subscriptions
More information about the foundations-bugs
mailing list