Hi,

Can anybody lead me to the right path for debugging the following
crash? I have the last vim 7.3 (with all patches applied), compiled
with ruby 1.8 support. From time to time my vim crashes with:

Vim: Caught deadly signal VTALRM
Vim: Finished.
Virtual timer expired

With the following script I think I found a way to reproduce this:

talek@talek-desktop:~/crash$ cat crash.vim
ruby <<EOF
require 'pty'
$reader, $writer, $pid = PTY.spawn('ls -al')
EOF

while 1
  silent !ls -al
endwhile

talek@talek-desktop:~/crash$ vim -u NONE -c 'source crash.vim'

I can't figure out if this is a ruby issue, a vim problem or both.
I've tried with various ruby 1.8.7 patched versions and I've ended up
trying with ruby enterprise 1.8.7-2010.02 for Ubuntu, which has the
same issue. A similar test executed just on ruby environment is
working as expected:

require 'pty'

$VERBOSE=nil

$reader, $writer, $pid = PTY.spawn('gdb')
while true
  system('ls -al')
end

No crash! Does anybody have any ideas about how to go on with
debugging this?

Thanks!

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to