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

James McCoy jamessan at debian.org
Sat Feb 25 19:12:17 UTC 2017


Control: reassign -1 xserver-xorg-core 2:1.19.1-4
Control: affects -1 vim-gtk

Reassigning to xserver-xorg-core.  Vim's gtk2 code hasn't changed
significantly in some time, so it's more likely an issue with the glamor
driver.

On Sat, Feb 25, 2017 at 12:54:21PM -0500, Bruno Dantas wrote:
> 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.

-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB



More information about the pkg-vim-maintainers mailing list