FS#52525 - [xmonad] crash of X server while image opening

Attached to Project: Community Packages
Opened by shyn (shyn) - Friday, 13 January 2017, 04:51 GMT
Last edited by Levente Polyak (anthraxx) - Tuesday, 03 October 2017, 22:07 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:

X.org server crashes while trying to open PNG image in Gimp. The issue is appear after latest update of xmonad-contrib package.


Packages:

* xmonad 0.12-11
* xmonad-contrib 0.12-10

Log:

LibGimpBase-WARNING **: gimp: gimp_wire_read(): error


Steps to reproduce:

Open PNG image file using xmonad and Gimp.
This task depends upon

Closed by  Levente Polyak (anthraxx)
Tuesday, 03 October 2017, 22:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  current version + xmonad --recompile
Comment by Doug Newgard (Scimmia) - Friday, 13 January 2017, 06:45 GMT
Are/were you running a 3rd party freetype2 package? Infinality or other?
Comment by shyn (shyn) - Friday, 13 January 2017, 09:43 GMT
freetype2 from extra.
Comment by jenic (jenic) - Monday, 16 January 2017, 17:27 GMT
If it helps I can also reliably create this issue with both Gimp and the Qt GUI for virtualbox with the relevant section of startx output being:

Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
xmonad-x86_64-linux: user error (Error in function getWindowAttributes)
xinit: connection to X server lost

for virtualbox and for Gimp:

LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
xmonad-x86_64-linux: user error (Error in function getWindowAttributes)
xinit: connection to X server lost

When starting Gimp I will see several gimp_wire_read() error messages but the program is still running fine. Once I attempt to open a file however it crashes with the last message being "xmonad-x86_64-linux: user error (Error in function getWindowAttributes)"

I've tested it with a .gif and several .png files.

Hopefully that helps!
Comment by shyn (shyn) - Monday, 16 January 2017, 17:35 GMT
It seems X crashes with FontForge also.
Comment by Jelle van der Waa (jelly) - Monday, 16 January 2017, 20:29 GMT
Weird, gimp can't start here since it's broken. So I can't reproduce it

GEGL-geglmodule.c-Message: Module '/usr/lib/gegl-0.2/openraw.so' load error: libopenraw.so.7: cannot open shared object file: No such file or directory
Comment by Jelle van der Waa (jelly) - Monday, 16 January 2017, 20:52 GMT
What hardware and drivers do you use? (xorg-video-intel, nouveau, nvidia?)
Comment by jenic (jenic) - Monday, 16 January 2017, 21:55 GMT
extra/nvidia 375.26-1 here
Comment by shyn (shyn) - Tuesday, 17 January 2017, 05:28 GMT
extra/nvidia-304xx
Comment by Doug Newgard (Scimmia) - Tuesday, 17 January 2017, 17:54 GMT Comment by Jelle van der Waa (jelly) - Thursday, 19 January 2017, 10:55 GMT
Should be resolved in the latest xmonad/xmonad-contrib package.
Comment by Shengyu Zhang (SilverRainZ) - Friday, 27 January 2017, 14:10 GMT
This bug is still exists in xmonad-0.12-12 and xmonad-contrib-0.12-11.

---
Sorry, invoke `xmonad --recompile' to generate a new binary should fix this.
Comment by jenic (jenic) - Friday, 03 February 2017, 02:55 GMT
Confirmed fixed for me, thanks Jelle!
Comment by Phil Ruffwind (Rufflewind) - Friday, 03 February 2017, 18:57 GMT
Same. Problem fixed after doing 'xmonad --recompile' (and restarting X if needed).

Loading...