[Bug 1584539] [NEW] 16.04 regression: exceptions in ruby code in plugins have started causing vim to segfault

Simon Woolf simon.woolf at gmail.com
Sun May 22 21:51:40 UTC 2016


Public bug reported:

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 pkg-vim-maintainers at lists.alioth.debian.org
  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 pkg-vim-maintainers at lists.alioth.debian.org
  Compiled by pkg-vim-maintainers at lists.alioth.debian.org
  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)

** Affects: vim (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/1584539

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

Status in vim package in Ubuntu:
  New

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 pkg-vim-maintainers at lists.alioth.debian.org
    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 pkg-vim-maintainers at lists.alioth.debian.org
    Compiled by pkg-vim-maintainers at lists.alioth.debian.org
    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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1584539/+subscriptions



More information about the foundations-bugs mailing list