Bug#856156: vim-gtk: launching gvim as root from terminal crashes X server

Bruno Dantas debian at dantas.airpost.net
Sat Feb 25 17:54:21 UTC 2017


Package: vim-gtk
Version: 2:8.0.0197-2
Severity: important

Dear Maintainer,

Either command in a terminal consistently crashes the X server:
# gvim foo.txt
$ gksudo gvim foo.txt

I upgraded from Jessie to Stretch, which is when the problem started. The error
message in the text console that appears after the crash is this:
"glamor_largepixmap.c:1448: glamor_composite_largepixmap_region: Assertion `0'
failed. xinit: connection to X server lost"

Interestingly, starting gvim from within the file manager running as root (via
context menu's "Open with") works fine. Also, these work fine:

# pluma foo.txt
$ gksudo pluma foo.txt
$ gvim foo.txt

It seems the problem is isolated to launching gvim as root from the command
line. glamor_largepixmap.c is part of the xorg-server source package. If I
should report the bug there instead/in addition to here, please let me know. I
don't want to create noise.

These are my package versions:
vim-gtk 2:8.0.0197-2
xorg 1:7.7+18

If you need any further information, please let me know. gvim is my favorite
editor and I'm in a terminal most of the time, so I'm highly motivated to help.

Thanks.



-- Package-specific info:

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

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=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+b1
ii  libc6               2.24-9
ii  libgdk-pixbuf2.0-0  2.36.4-1
ii  libglib2.0-0        2.50.2-2
ii  libgpm2             1.20.4-6.2
ii  libgtk2.0-0         2.24.31-2
ii  libice6             2:1.0.9-1+b1
ii  liblua5.2-0         5.2.4-1.1+b1
ii  libpango-1.0-0      1.40.3-3
ii  libperl5.24         5.24.1-1
ii  libpython3.5        3.5.3-1
ii  libruby2.3          2.3.3-1
ii  libselinux1         2.6-3
ii  libsm6              2:1.2.2-1+b1
ii  libtcl8.6           8.6.6+dfsg-1
ii  libtinfo5           6.0+20161126-1
ii  libx11-6            2:1.6.4-3
ii  libxt6              1:1.1.5-1
ii  vim-common          2:8.0.0197-2
ii  vim-gui-common      2:8.0.0197-2
ii  vim-runtime         2:8.0.0197-2

vim-gtk recommends no packages.

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

-- no debconf information



More information about the pkg-vim-maintainers mailing list