Xfdesktop is crashing on exiting session (logout, shutdown) when using xorg-server 1.10. Bugtrace from log: Backtrace: 0: /usr/bin/X (xorg_backtrace+0x28) [0x46b688] 1: /usr/bin/X (0x400000+0x5f8b9) [0x45f8b9] 2: /lib/libpthread.so.0 (0x7ffb86e97000+0xf150) [0x7ffb86ea6150] 3: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7ffb84224000+0x2564d) [0x7ffb8424964d] 4: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7ffb84224000+0x25aa8) [0x7ffb84249aa8] 5: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7ffb84224000+0x25b31) [0x7ffb84249b31] 6: /usr/bin/X (0x400000+0x99ef0) [0x499ef0] 7: /usr/bin/X (ChangeWindowAttributes+0x2c3) [0x443933] 8: /usr/bin/X (0x400000+0x4ce38) [0x44ce38] 9: /usr/bin/X (0x400000+0x52b01) [0x452b01] 10: /usr/bin/X (0x400000+0x2132e) [0x42132e] 11: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7ffb85e17dcd] 12: /usr/bin/X (0x400000+0x20ed9) [0x420ed9] Segmentation fault at address 0x10 Fatal server error: Caught signal 11 (Segmentation fault). Server aborting
Backtrace: 0: /usr/bin/X (xorg_backtrace+0x37) [0x80a38e7] 1: /usr/bin/X (0x8048000+0x5faea) [0x80a7aea] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb785040c] 3: /usr/bin/X (ChangeGC+0x182) [0x8083cd2] 4: /usr/bin/X (miPaintWindow+0x107) [0x809e5e7] 5: /usr/bin/X (miWindowExposures+0xc0) [0x809e870] 6: /usr/bin/X (miHandleValidateExposures+0x84) [0x81b49b4] 7: /usr/bin/X (MapWindow+0x23d) [0x8099c2d] 8: /usr/bin/X (ReparentWindow+0x25b) [0x809b31b] 9: /usr/bin/X (0x8048000+0x23067) [0x806b067] 10: /usr/bin/X (0x8048000+0x29217) [0x8071217] 11: /usr/bin/X (0x8048000+0x1c17c) [0x806417c] 12: /lib/libc.so.6 (__libc_start_main+0xe6) [0xb7583db6] 13: /usr/bin/X (0x8048000+0x1c491) [0x8064491] Segmentation fault at address 0x2 Fatal server error: Caught signal 11 (Segmentation fault). Server aborting
I have the same problem on one of my computers, which has a Radeon 4650 running the open source radeon drivers. It is intermittent, though, and sometimes doesn't crash. I have yet to see this crash on my other computer, which has a NVidia 460 GTX with the proprietary drivers. (though since I've heard that NVidia replaces part of XOrg with their drivers, I suppose that isn't too surprising that the behavior is different...)
This issue is not x86_64 specific, happens on an i686 too.
I have now experienced this crash on my computer with the NVidia card, it's just much less common than my computer with the ATI card. Here's the backtrace for the crash that just happened with the NVidia card. Backtrace: 0: /usr/bin/X (xorg_backtrace+0x26) [0x45d396] 1: /usr/bin/X (0x400000+0x617b9) [0x4617b9] 2: /lib/libpthread.so.0 (0x7f171683a000+0xf150) [0x7f1716849150] 3: /usr/bin/X (ChangeGC+0x194) [0x4400c4] 4: /usr/bin/X (miPaintWindow+0xf6) [0x458416] 5: /usr/bin/X (miWindowExposures+0xc2) [0x458682] 6: /usr/bin/X (0x400000+0x12bc0d) [0x52bc0d] 7: /usr/bin/X (miHandleValidateExposures+0x68) [0x55c398] 8: /usr/bin/X (UnmapWindow+0x200) [0x4544a0] 9: /usr/bin/X (0x400000+0x1621f4) [0x5621f4] 10: /usr/bin/X (0x400000+0xa11e9) [0x4a11e9] 11: /usr/bin/X (FreeResource+0x124) [0x44b684] 12: /usr/bin/X (0x400000+0x1616d8) [0x5616d8] 13: /usr/bin/X (0x400000+0x161a8e) [0x561a8e] 14: /usr/bin/X (0x400000+0xa11d9) [0x4a11d9] 15: /usr/bin/X (FreeClientResources+0xdc) [0x44bd5c] 16: /usr/bin/X (CloseDownClient+0x5a) [0x42deaa] 17: /usr/bin/X (0x400000+0x2e9ee) [0x42e9ee] 18: /usr/bin/X (0x400000+0x22b7e) [0x422b7e] 19: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f17157badcd] 20: /usr/bin/X (0x400000+0x22e6d) [0x422e6d] Segmentation fault at address 0x2
https://bugzilla.redhat.com/show_bug.cgi?id=684188 https://bbs.archlinux.org/viewtopic.php?id=115507 and http://bugs.gentoo.org/show_bug.cgi?id=361571 are probably related
I've disabled the code that causes the crash in bf07cc0, but I think it might be a problem in X itself. X might still try to use/unref the pixmap set by xfdesktop, but when xfdesktop is closed, this is obviously not available, causing the crash. Not very important to keep the background when xfdesktop is not running any more, but not a proper fix as well.
The root window pixmap is used for pseudo-transparent windows, like terminal without compositing enabled.
(In reply to comment #7) > The root window pixmap is used for pseudo-transparent windows, like terminal > without compositing enabled. Yep, noticed that. My terminal windows are not transparent anymore, so i'll wait for a better fix before updating xfdesktop..
These two are probably related (should be in the Blocks section?): https://bugzilla.xfce.org/show_bug.cgi?id=7534 https://bugzilla.xfce.org/show_bug.cgi?id=7535
*** Bug 7534 has been marked as a duplicate of this bug. ***
Maybe this will be fixed in xorg-server-1.10.3
(In reply to comment #11) > Maybe this will be fixed in xorg-server-1.10.3 partially ... Terminal has back transparency but XChat 2.8.8 has not. Closing Terminal leaves a zombie process behind, which consumes all CPU time.
What's the status of this issue? With xorg-server-1.11.3 xfdesktop-4.8.3 terminal-0.4.8 there are still no (software rendered) transparent backgrounds in terminal (or rxvt-unicode) on my machine. (There's no segfault, though.)
Fixed in xorg update and the situation improved with: http://git.xfce.org/xfce/xfdesktop/commit/?id=f4c2a90d89961e99d422cb59bb58322195976414 and http://git.xfce.org/xfce/xfdesktop/commit/?id=a450d7b213754f8d9979b5324f315201a2929c98