View previous topic :: View next topic |
Author |
Message |
Guest
|
Posted: Tue Jul 09, 2002 2:21 am Post subject: vim bug |
|
|
Hello all,
I emerge'd vim and I noticed a weird issue. When I close rxvt or xterm while I am editing a file with, my cpu meter pegs and running top shows that vim is taking 99.9% of the cpu. I have to send a kill -9 to the process to kill it. Anyone have the same issue and found a solution? |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Tue Jul 09, 2002 2:23 am Post subject: |
|
|
Moved to Bugs forum. Consider visiting bugs.gentoo.org so the developers will learn of this. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sun Aug 18, 2002 3:23 pm Post subject: |
|
|
Bugs to Other Things Gentoo. Forums reorganized, 'Bugs' being removed. See Gentoo Bugs site to report bugs. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
kyptin Tux's lil' helper
Joined: 29 Jun 2002 Posts: 95 Location: UNC (Chapel Hill, NC, USA)
|
Posted: Mon Sep 16, 2002 7:53 pm Post subject: similar problem with vim |
|
|
Code: | # ps ax
921 ? R 6159:15 vim subbill2.php subamend2.php subres2.php |
As you can tell, I'm having a similar problem with vim. I ssh into my server, edit some files with vim, then exit vim (or so I thought) and exit ssh. Yet when I log in again, it seems as though vim has been running full steam ahead the entire time! I am editing these files as root, and my $TERM is currently cygwin, although I'm pretty certain this was happening before using a cygwin terminal. (I know, I know, cygwin sucks, but save the flames for later. )
Did anybody ever submit anything to bugzilla? Is this a legitimate bug deserving bugzilla treatment? |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Mon Sep 16, 2002 7:58 pm Post subject: |
|
|
Which version of vim? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
kyptin Tux's lil' helper
Joined: 29 Jun 2002 Posts: 95 Location: UNC (Chapel Hill, NC, USA)
|
Posted: Tue Sep 17, 2002 3:36 am Post subject: vim version |
|
|
I'm using vim version 6.1.74. Hope that helps! |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Tue Sep 17, 2002 1:45 pm Post subject: |
|
|
I've observed the same behaviour in other distros (like Conectiva), so it is a bug in vim, not in Gentoo.
Vim version 6.0 |
|
Back to top |
|
|
kyptin Tux's lil' helper
Joined: 29 Jun 2002 Posts: 95 Location: UNC (Chapel Hill, NC, USA)
|
Posted: Wed Sep 18, 2002 4:04 am Post subject: cause of vim bug determined |
|
|
OK, I figured out the cause of my problem. Occasionally I will have vim open, editing a file, and something which requires my attention will come up. I'll get sidetracked, and come back a half hour later, having forgotten I was in the middle of something. Well, my connection had timed out, and the command window for ssh had closed itself. This left the vim process consuming processor cycles until I happened to notice it in the "ps ax" output.
Thanks for your help though. |
|
Back to top |
|
|
Mnemia Guru
Joined: 17 May 2002 Posts: 476
|
Posted: Wed Sep 18, 2002 4:51 am Post subject: |
|
|
I'm pretty sure I've noticed this behavior from vim over ssh connections even when my connection didn't time out. |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Wed Sep 18, 2002 1:04 pm Post subject: Re: cause of vim bug determined |
|
|
Sorry, but I don't think the issue is resolved
How can we avoid it?
kyptin wrote: | OK, I figured out the cause of my problem. Occasionally I will have vim open, editing a file, and something which requires my attention will come up. I'll get sidetracked, and come back a half hour later, having forgotten I was in the middle of something. Well, my connection had timed out, and the command window for ssh had closed itself. This left the vim process consuming processor cycles until I happened to notice it in the "ps ax" output.
Thanks for your help though. |
|
|
Back to top |
|
|
ElCondor Guru
Joined: 10 Apr 2002 Posts: 520 Location: Vienna, Austria, Europe
|
Posted: Wed Sep 18, 2002 1:16 pm Post subject: |
|
|
I also came across this vim behavior, also with other distros. to be on the safe side: start vim in screen, so if your connection is lost, vim still has a terminal that it is connected to .. and happy
* ElCondor pasa * _________________ Here I am the victim of my own choices and I'm just starting! |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Wed Sep 18, 2002 2:02 pm Post subject: |
|
|
Could you be more explicit?
ElCondor wrote: | I also came across this vim behavior, also with other distros. to be on the safe side: start vim in screen, so if your connection is lost, vim still has a terminal that it is connected to .. and happy
* ElCondor pasa * |
|
|
Back to top |
|
|
fyerk Apprentice
Joined: 17 Sep 2002 Posts: 212 Location: Atlanta, GA
|
Posted: Wed Sep 18, 2002 3:30 pm Post subject: |
|
|
When editing a file with vim use:
This is so that if your session dies, vim won't lose it's controlling terminal.
screen(1) _________________ -David |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Wed Sep 18, 2002 3:39 pm Post subject: |
|
|
OK, now I gotcha
Thanks
edge wrote: | When editing a file with vim use:
This is so that if your session dies, vim won't lose it's controlling terminal.
screen(1) |
|
|
Back to top |
|
|
|