Project

General

Profile

Actions

Bug #10338

closed

ruby script running gnome-open will crash vim, if the file open by gnome-open is handled by vim

Added by chrisliaw (Chris Liaw) over 9 years ago. Updated almost 5 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
2.1.2
[ruby-core:65479]

Description

I hit this bug recently.

Code to reproduce the error under my environment:

require 'rubygems'
require 'bundler/setup'
out = system "gnome-open","model.rb"
p out
out = gnome-open model.rb
p out

Both system and backtick will crash the vim. Vim is default handler for .rb file. File is open via "gvim -f %i"
This only observe in ruby 2.1.2. Ruby v1.9.3 and v2.0.0 successful without error.
Only file require with bundler/setup will hit this error.

My environment setup:
OS : Ubuntu 14.04 64 bits
Kernel : 3.13.0-36-generic
Affected ruby : 2.1.2
NOT affected ruby : 1.9.3, 2.0.0
Vim version : 7.4.52
bundler version : 1.6.2
rvm version : 1.25.27

Actions #1

Updated by jeremyevans0 (Jeremy Evans) almost 5 years ago

  • Status changed from Open to Third Party's Issue
Actions

Also available in: Atom PDF

Like0
Like0