16.04 regression: exceptions in ruby code in plugins have started causing vim to segfault

Bug #1584539 reported by Simon Woolf on 2016-05-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vim (Ubuntu)
Undecided
Unassigned

Bug Description

In 14.04, an exception in the ruby code of a plugin caused the error to be printed to stderr, after which vim would launch, skipping the offending plugin:

  Error detected while processing /mnt/terra/home/simon/dev/vim-livecoding/plugin/livecoding.vim:
  line 37:
  NameError: undefined local variable or method `undefined_method_causing_an_exception' for main:Object
  Press ENTER or type command to continue

But in 16.04, the same thing causes vim to segfault:

  Vim: Caught deadly signal SEGV
  Vim: Finished.
  Segmentation fault (core dumped)

-------

Vim version in 14.04:
  VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan 2 2014 19:39:59)
  Included patches: 1-52
  Modified by <email address hidden>
  Compiled by buildd@
  Huge version with GTK2 GUI.

Vim version in 16.04:
  VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Apr 08 2016 11:38:28)
  Included patches: 1-1689
  Modified by <email address hidden>
  Compiled by <email address hidden>
  Huge version with GTK2 GUI.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: vim-gtk 2:7.4.1689-3ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: XFCE
Date: Sun May 22 22:33:45 2016
DistributionChannelDescriptor:
 # This is a distribution channel descriptor
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-trusty-amd64-20140620-0
InstallationDate: Installed on 2015-04-25 (392 days ago)
InstallationMedia: Ubuntu 14.04 "Trusty" - Build amd64 LIVE Binary 20140620-04:25
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: vim
UpgradeStatus: Upgraded to xenial on 2016-05-22 (0 days ago)

Simon Woolf (semw) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers