[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "runaway" vim processes



On Fri, Aug 16, 2002 at 12:18:03AM +0200, Imre Vida wrote:
| yes, i have another problem that and it was bugging me 
| for quit a while but was always lazy to go after it
| 
| i often notice that some vim processes escape control
| 
| and eat up CPU time.  i can't exactly tell the conditions
| but one thing i noticed is that when i use vim from 
| midnight commander then it happens more often
| 
| does anybody have an idea how and why could that happen?

The controlling terminal disappeared, and vim is linked against
libpthread.  It's a known problem that is caused by using both signals
and threads in the same process.  Try watching the process with gdb
sometime.  It sits in an infinite recursion/loop handling the signal
it gets when the controlling terminal vanishes.  There's nothing wrong
with vim's code, except it uses signals and if you embed python or
something it uses threads.  If you have a solution, please notify Bram
:-).

-D

-- 
Pride only breeds quarrels,
but wisdom is found in those who take advice.
        Proverbs 13:10
 
http://dman.ddts.net/~dman/

Attachment: pgpjzGeFPwR2P.pgp
Description: PGP signature


Reply to: