Bug#413358: vim hanging in Konsole xterminal with ERESTARTSYS (To be restarted) and EAGAIN (Resource temporarily unavailable)

LimCore DebianBug debianbug at limcore.pl
Sun Mar 4 15:28:09 CET 2007


Package: vim
Version: 7.0-122+1
Severity: normal

ii  vim                               7.0-122+1
ii  konsole                           3.5.5a.dfsg.1-6

on a 2.6.19.3-grsec-smp-k8r-c

Hello,
sometimes I see vim hanging for no obvious reason (perhaps once per 2-3
months).

This time - I was editing a file in vim in Konsole xshell, and suddenly
it stoped reacting to any keys. The Konsole program worked fine, other
tabs where working, but vim insinde one of the tabs was frozen.


Results of strace:

$ strace -p 24309 -s 9999
Process 24309 attached - interrupt to quit
write(1, "\33]1;rafal at box.lcoffice:
/home/rafal/cre/cpp/observer/trunk\7", 60) = ? ERESTARTSYS (To be restarted)

It waited there (nothing changed as I pressed keys in the vim)
so I send kill to this process:

--- SIGTERM (Terminated) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost -isig -icanon
-echo ...}) = 0
ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo
...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
...}) = 0
kill(0, SIGTSTP)                        = 0
--- SIGTSTP (Stopped) @ 0 (0) ---
--- SIGTSTP (Stopped) @ 0 (0) ---
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
...}) = 0
ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost -isig -icanon -echo
...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost -isig -icanon
-echo ...}) = 0
write(6, "\24\0\6\0\5\0\200\4\'\0\0\0\0\0\0\0\0\0\0\0 at B\17\0", 24) = 24
read(6, 0xbf97ffec, 32)                 = -1 EAGAIN (Resource
temporarily unavailable)
poll([{fd=6, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(6,
"\1\10&\0\24\0\0\0\37\0\0\0\0\0\0\0O\0\0\0\30\0\0\0(\0\0\0\30\0\0\0",
32) = 32
readv(6, [{"rafal at box.lcoffice: /home/rafal/cre/cpp/observer/trunk -
Shell No. 8 - Konsole", 79}, {"\35", 1}], 2) = 80
write(1, "\33]2;x.h (/home/MOUNT/rafal/cre/cpp/observer/trunk) - VIM\7",
58) = ? ERESTARTSYS (To be restarted)

and nothing... I send another kill, same result;
finally kill -9

--- SIGTERM (Terminated) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
write(1, "\33]2;x.h (/home/MOUNT/rafal/cre/cpp/observer/trunk) - VIM\7",
58) = ? ERESTARTSYS (To be restarted)
+++ killed by SIGKILL +++
Process 24309 detached


-- 
LimCore - Linux/UNIX friendly software company.
JID: limcore-office//jabber.org





More information about the pkg-vim-maintainers mailing list