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

2017-02-25 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 xserver-xorg-core 2:1.19.1-4
Bug #856156 [vim-gtk] vim-gtk: launching gvim as root from terminal crashes X 
server
Bug reassigned from package 'vim-gtk' to 'xserver-xorg-core'.
No longer marked as found in versions vim/2:8.0.0197-2.
Ignoring request to alter fixed versions of bug #856156 to the same values 
previously set
Bug #856156 [xserver-xorg-core] vim-gtk: launching gvim as root from terminal 
crashes X server
Marked as found in versions xorg-server/2:1.19.1-4.
> affects -1 vim-gtk
Bug #856156 [xserver-xorg-core] vim-gtk: launching gvim as root from terminal 
crashes X server
Added indication that 856156 affects vim-gtk

-- 
856156: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856156
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



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

2017-02-25 Thread James McCoy
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