Bug#833006: vim-gtk: ICE default IO error handler doing an exit(), pid = 2766, errno = 2 (ENOENT)

Daniel Shahaf danielsh at apache.org
Sat Jul 30 19:44:32 UTC 2016


Package: vim-gtk
Version: 2:7.4.1829-1
Severity: normal
Tags: upstream

Dear Maintainer,

   * What led up to the situation?

1. Run «vim.gtk -Nu NONE -g -c 'set mod'».

2. Execute the graphical desktop's 'Logout' command.  (For example, run
«gnome-session-quit --logout» and press the [Logout] button on the
subsequent modal dialog.)  This causes the vim process from (1) to
issue a "Save? [Yes] [No] [Canel]" dialog.

3. Run «vim.gtk -Nu NONE».

   * What was the outcome of this action?

$ time vim.gtk -Nu NONE
ICE default IO error handler doing an exit(), pid = 2766, errno = 2

real	0m4.990s
user	0m0.024s
sys	0m0.012s
$ echo $?
1

   * What outcome did you expect instead?

I expected Vim to start successfully, possibly without support for some
desktop features that aren't available at that point.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Vim starts successfully under 'env -i'.  I haven't narrowed down which
envvar in particular needed to be unset.

This is similar to https://github.com/vim/vim/issues/156, both the
symptoms and the workarounds.

Cheers,

Daniel

-- Package-specific info:

--- real paths of main Vim binaries ---
/usr/bin/vi is /usr/bin/vim.gtk
/usr/bin/vim is /usr/bin/vim.gtk
/usr/bin/gvim is /usr/bin/vim.gtk

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=locale: Cannot set LC_ALL to default locale: No such file or directory
UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages vim-gtk depends on:
ii  libacl1             2.2.52-3
ii  libc6               2.23-4
ii  libgdk-pixbuf2.0-0  2.34.0-1
ii  libglib2.0-0        2.48.1-2
ii  libgpm2             1.20.4-6.2
ii  libgtk2.0-0         2.24.30-4
ii  libice6             2:1.0.9-1+b1
ii  liblua5.2-0         5.2.4-1
ii  libpango-1.0-0      1.40.1-1
ii  libperl5.22         5.22.2-3
ii  libpython2.7        2.7.12-1
ii  libruby2.3          2.3.1-5
ii  libselinux1         2.5-3
ii  libsm6              2:1.2.2-1+b1
ii  libtcl8.6           8.6.6+dfsg-1
ii  libtinfo5           6.0+20160625-1
ii  libx11-6            2:1.6.3-1
ii  libxt6              1:1.1.5-1
ii  vim-common          2:7.4.1829-1
ii  vim-gui-common      2:7.4.1829-1
ii  vim-runtime         2:7.4.1829-1

vim-gtk recommends no packages.

Versions of packages vim-gtk suggests:
pn  cscope            <none>
ii  fonts-dejavu      2.36-1
ii  gnome-icon-theme  3.12.0-2
pn  vim-doc           <none>

-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_TIME = "en_GB.UTF-8",
	LC_COLLATE = "C",
	LANG = "C.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("C.UTF-8").
locale: Cannot set LC_ALL to default locale: No such file or directory



More information about the pkg-vim-maintainers mailing list