Bug 601713

Summary: Crash on VT switch resume with radeon and Option "SWcursor" true
Product: [Fedora] Fedora Reporter: Dr. Tilmann Bubeck <tilmann>
Component: xorg-x11-drv-atiAssignee: Jérôme Glisse <jglisse>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: mcepl, xgl-maint
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-16 06:29:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Xorg log file
none
Stdout,err of X server none

Description Dr. Tilmann Bubeck 2010-06-08 13:58:33 UTC
Created attachment 422209 [details]
Xorg log file

Description of problem:
Starting X and switching with CTRL-ALT-F2 to a text console works fine. When returning to X with ALT-F1 then X crashes. This crash only occurs when SWcursor is ON. If it is turned OFF (=HW cursor), then everything works fine.

Version-Release number of selected component (if applicable):
xorg-x11-drv-ati-6.13.0-1.fc13.i686
xorg-x11-server-Xorg-1.8.0-12.fc13.i686

How reproducible:
 always

Steps to Reproduce:
1. Enter into xorg.conf:
   Option "SWcursor" "true"
2. startx
3. CTRL-ALT-F2
4. CTRL-ALT-F1 or F7

Actual results:
crash of X

Expected results:
no crash

Additional info:
Please find attached the stderr/out of X and Xorg.0.log

Comment 1 Dr. Tilmann Bubeck 2010-06-08 13:59:25 UTC
Created attachment 422210 [details]
Stdout,err of X server

Comment 2 Dr. Tilmann Bubeck 2010-06-08 14:01:07 UTC
This is the interesting part of Xorg.0.log:

[   961.223] (II) AIGLX: Suspending AIGLX clients for VT switch
[   963.892] (II) AIGLX: Resuming AIGLX clients after VT switch
[   963.893] 
Backtrace:
[   963.893] 0: /usr/bin/X (xorg_backtrace+0x3c) [0x80e51dc]
[   963.894] 1: /usr/bin/X (0x8047000+0x5e176) [0x80a5176]
[   963.894] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0x94540c]
[   963.894] 3: /usr/bin/X (xf86_reload_cursors+0x51) [0x8186001]
[   963.894] 4: /usr/lib/xorg/modules/drivers/radeon_drv.so (0x41d000+0xd6605) [0x4f3605]
[   963.894] 5: /usr/lib/xorg/modules/drivers/radeon_drv.so (0x41d000+0xd60f2) [0x4f30f2]
[   963.894] 6: /usr/lib/xorg/modules/drivers/radeon_drv.so (0x41d000+0xd21d9) [0x4ef1d9]
[   963.894] 7: /usr/bin/X (0x8047000+0x135ad2) [0x817cad2]
[   963.894] 8: /usr/bin/X (0x8047000+0x8a3fe) [0x80d13fe]
[   963.894] 9: /usr/lib/xorg/modules/extensions/libglx.so (0x133000+0x425f5) [0x1755f5]
[   963.894] 10: /usr/bin/X (xf86Wakeup+0x513) [0x80b1263]
[   963.895] 11: /usr/bin/X (WakeupHandler+0x52) [0x80734b2]
[   963.895] 12: /usr/bin/X (WaitForSomething+0x1a2) [0x809f4a2]
[   963.895] 13: /usr/bin/X (0x8047000+0x26c70) [0x806dc70]
[   963.895] 14: /usr/bin/X (0x8047000+0x1b675) [0x8062675]
[   963.895] 15: /lib/libc.so.6 (__libc_start_main+0xe6) [0x1dfcc6]
[   963.895] 16: /usr/bin/X (0x8047000+0x1b261) [0x8062261]
[   963.895] Segmentation fault at address 0x4
[   963.895] 
Fatal server error:
[   963.895] Caught signal 11 (Segmentation fault). Server aborting
[   963.895]

Comment 4 Jérôme Glisse 2010-07-15 21:24:42 UTC
Till can you confirm that following xorg-x11-drv-ati build fix the issue for you too :

http://koji.fedoraproject.org/koji/taskinfo?taskID=2323074

Comment 5 Dr. Tilmann Bubeck 2010-07-16 06:29:09 UTC
Yes and no. :-)

The bug is gone but not because of your xorg-x11-drv-ati-6.13.0-3.fc13.i686 but because of xorg-x11-server-Xorg-1.8.2-1.fc13.

I checked all of the following combinations:

xorg-x11-drv-ati-6.13.0-1.fc13.i686
xorg-x11-server-Xorg-1.8.0-12.fc13.i686
= CRASH

xorg-x11-drv-ati-6.13.0-3.fc13.i686
xorg-x11-server-Xorg-1.8.0-12.fc13.i686
= CRASH

xorg-x11-drv-ati-6.13.0-1.fc13.i686
xorg-x11-server-Xorg-1.8.2-1.fc13
= OK

xorg-x11-drv-ati-6.13.0-3.fc13.i686
xorg-x11-server-Xorg-1.8.2-1.fc13
= OK

Thanks for taking a look!