Bug 702771

Summary: X crashes when I launch Terminal or lxterminal in LXDE in a Spice VM
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: xorg-x11-drv-qxlAssignee: Dave Airlie <airlied>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: airlied, aklhfex, crobinso, hdegoede, mcepl, sandmann, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-17 22:05:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
screenshot illustrating the misrendering
none
Xorg.0.log from Fedora 15 LXDE Guest none

Description Adam Williamson 2011-05-07 00:43:53 UTC
Well, this is fun. Installed Fedora 15 Final TC1 in a virt-manager VM with Spice, so using the qxl driver. Installed all four desktops. Running lxterminal or Terminal in LXDE causes X to crash, reliably, with the backtrace at the bottom of this bug report. Running xterm or gnome-terminal inside LXDE are both fine. Running lxterminal or Terminal inside Xfce or GNOME are both fine. It's just the combination of lxterminal / Terminal and LXDE that causes the crash.

Backtrace:
[  3075.154] 0: /usr/bin/Xorg (xorg_backtrace+0x2f) [0x4a13df]
[  3075.154] 1: /usr/bin/Xorg (0x400000+0x622c6) [0x4622c6]
[  3075.154] 2: /lib64/libpthread.so.0 (0x3508a00000+0xf3c0) [0x3508a0f3c0]
[  3075.154] 3: /usr/lib64/xorg/modules/drivers/qxl_drv.so (0x7fce79014000+0xb453) [0x7fce7901f453]
[  3075.154] 4: /usr/lib64/xorg/modules/drivers/qxl_drv.so (0x7fce79014000+0x6b7b) [0x7fce7901ab7b]
[  3075.154] 5: /usr/lib64/xorg/modules/drivers/qxl_drv.so (0x7fce79014000+0x7264) [0x7fce7901b264]
[  3075.154] 6: /usr/lib64/xorg/modules/drivers/qxl_drv.so (0x7fce79014000+0x82c4) [0x7fce7901c2c4]
[  3075.154] 7: /usr/lib64/xorg/modules/drivers/qxl_drv.so (0x7fce79014000+0x172df) [0x7fce7902b2df]
[  3075.154] 8: /usr/lib64/xorg/modules/drivers/qxl_drv.so (0x7fce79014000+0x13cd7) [0x7fce79027cd7]
[  3075.154] 9: /usr/bin/Xorg (0x400000+0xd99cd) [0x4d99cd]
[  3075.154] 10: /usr/bin/Xorg (0x400000+0xa6c0d) [0x4a6c0d]
[  3075.154] 11: /usr/bin/Xorg (0x400000+0xa6a7d) [0x4a6a7d]
[  3075.154] 12: /usr/bin/Xorg (0x400000+0x161ab3) [0x561ab3]
[  3075.154] 13: /usr/bin/Xorg (BlockHandler+0x4a) [0x432a2a]
[  3075.154] 14: /usr/bin/Xorg (WaitForSomething+0x109) [0x45b729]
[  3075.154] 15: /usr/bin/Xorg (0x400000+0x2e9aa) [0x42e9aa]
[  3075.154] 16: /usr/bin/Xorg (0x400000+0x22e1a) [0x422e1a]
[  3075.154] 17: /lib64/libc.so.6 (__libc_start_main+0xed) [0x350822143d]
[  3075.154] 18: /usr/bin/Xorg (0x400000+0x23101) [0x423101]
[  3075.154] Segmentation fault at address 0x3a8a7e4
[  3075.154] 
Fatal server error:
[  3075.154] Caught signal 11 (Segmentation fault). Server aborting
[  3075.154] 
[  3075.154]

Comment 1 Matěj Cepl 2011-05-10 16:12:16 UTC
could I get standard logs and version of the packages (rpm -q) for Xserver and QXL driver, please?

Comment 2 Adam Williamson 2011-05-17 00:25:08 UTC
This seems to have improved with recent updates: with current F15 and updates-testing on the host, and RC3 live image on the guest, X doesn't crash, but the window frame of the LXTerminal window is misrendered.

LXTerminal does something slightly funky where it's 'transparent', with the desktop background behind the console contents. It looks like instead of being rendered as normal, the window borders are also rendered based on the desktop background, but they don't update as you move the window around, while the console background does.

Screenshot attached, with a regular window for comparison.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 3 Adam Williamson 2011-05-17 00:25:44 UTC
Created attachment 499248 [details]
screenshot illustrating the misrendering

Comment 4 Adam Williamson 2011-05-17 01:06:17 UTC
well, contradicting myself again, it seems unpredictable. Since the last comment I've seen it launch with correct borders once, but also crash X twice. funny.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 5 Matěj Cepl 2011-05-17 11:27:27 UTC
(In reply to comment #1)
> could I get standard logs and version of the packages (rpm -q) for Xserver and
> QXL driver, please?

Adam, I would really need exact NVR of these packages, if I want to decipher that backtrace in comment 0 ever. /var/log/Xorg.0.log would be helpful as well.

Comment 6 Chris Mayo 2011-07-27 18:23:29 UTC
Created attachment 515576 [details]
Xorg.0.log from Fedora 15 LXDE Guest

I'm seeing the same problem repeatedly on a couple of different hosts.

It's easy to reproduce using the LiveCD itself, Fedora-15-x86_64-Live-LXDE.iso. Just start the terminal.

Xorg.0.log with backtrace near the end attached from disk installation of that iso. File versions:

xorg-x11-server-Xorg-1.10.1-14.fc15.x86_64
xorg-x11-drv-qxl-0.0.21-3.fc15.x86_64

Comment 7 Cole Robinson 2012-06-17 22:05:19 UTC
Given that F15 is end of life real soon, closing as WONTFIX. If anyone can still reproduce on F16+, please reopen this report.