Bug 896165

Summary: X.Org Segmentation Fault with SiS Driver
Product: [Fedora] Fedora Reporter: Assen Totin <assen>
Component: xorg-x11-drv-sisAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 18CC: djuran, jakobson, massi.ergosum, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-05 14:56:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Attachments:
Description Flags
X.log none

Description Assen Totin 2013-01-16 18:55:46 UTC
Description of problem:

During its initialization, X.Org crashes with SIGSEGV shortly after loading SiS driver. As Anaconda relies on X, this makes installation of F18 on machines with such video adapter impossible. (The alternative VESA driver results in only part of the screen visible.)

Version-Release number of selected component (if applicable):
xorg-x11-server-Xorg-1.13.0-11.fc18.i686
xorg-x11-drv-sis-0.10.7-2.fc18.i686

How reproducible:

Every time.

Steps to Reproduce:
1. Get F18 installation image (DVD, Live DVD, netinst...)
2. Create desired media (DVD, USB...)
3. Boot and chose to install F18
  
Actual results:

When Anaconda starts X.Org, the latter crashes with SIGSEGV.

Expected results:

Normal initialization of X.Org.

Additional info:

In F18 the SiS driver was updated from 0.10.4 to 0.10.7. F17 has 0.10.4 and the driver works correctly. 

Video adapter PCI ID from 'lspci' and 'lspci -n':
01:00.0 0300: 1039:6325
"VGA compatible controller" "Silicon Integrated Systems [SiS]" "65x/M650/740 PCI/AGP VGA Display Adapter" "ASUSTeK Computer Inc." "Device 8081"

Comment 1 Reartes Guillermo 2013-01-16 21:46:16 UTC
Created attachment 679853 [details]
X.log

I tested the F18 Release DVD on USB and:

Backtrace;: 
[    26.123] (**) Option "xkb_layout" "us"
[    41.869] (EE) 
[    41.869] (EE) Backtrace:
[    41.869] (EE) 0: Xorg (xorg_backtrace+0x36) [0x46c316]
[    41.869] (EE) 1: Xorg (0x400000+0x71c49) [0x471c49]
[    41.869] (EE) 2: /lib64/libpthread.so.0 (0x7f1e84062000+0xf000) [0x7f1e84071000]
[    41.869] (EE) 3: /lib64/libc.so.6 (0x7f1e82ab4000+0x8e88b) [0x7f1e82b4288b]
[    41.869] (EE) 4: /usr/lib64/xorg/modules/drivers/sis_drv.so (0x7f1e81a93000+0x2925c) [0x7f1e81abc25c]
[    41.869] (EE) 5: /usr/lib64/xorg/modules/libexa.so (0x7f1e80e3a000+0x5dcb) [0x7f1e80e3fdcb]
[    41.869] (EE) 6: /usr/lib64/xorg/modules/libexa.so (0x7f1e80e3a000+0x61a8) [0x7f1e80e401a8]
[    41.869] (EE) 7: /usr/lib64/xorg/modules/libexa.so (0x7f1e80e3a000+0x6d74) [0x7f1e80e40d74]
[    41.869] (EE) 8: /usr/lib64/xorg/modules/libexa.so (0x7f1e80e3a000+0x6e74) [0x7f1e80e40e74]
[    41.869] (EE) 9: /usr/lib64/xorg/modules/libexa.so (0x7f1e80e3a000+0x12898) [0x7f1e80e4c898]
[    41.869] (EE) 10: /usr/lib64/xorg/modules/libexa.so (0x7f1e80e3a000+0xf21c) [0x7f1e80e4921c]
[    41.869] (EE) 11: Xorg (0x400000+0x12a3c9) [0x52a3c9]
[    41.869] (EE) 12: Xorg (miGlyphs+0x403) [0x5190c3]
[    41.869] (EE) 13: /usr/lib64/xorg/modules/libexa.so (0x7f1e80e3a000+0x12d37) [0x7f1e80e4cd37]
[    41.870] (EE) 14: Xorg (0x400000+0x12a651) [0x52a651]
[    41.870] (EE) 15: Xorg (0x400000+0x123856) [0x523856]
[    41.870] (EE) 16: Xorg (0x400000+0x395ea) [0x4395ea]
[    41.870] (EE) 17: Xorg (0x400000+0x2805a) [0x42805a]
[    41.870] (EE) 18: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x7f1e82ad5a05]
[    41.870] (EE) 19: Xorg (0x400000+0x2839d) [0x42839d]
[    41.870] (EE) 
[    41.870] (EE) Segmentation fault at address 0x3c7d8
[    41.870] 
Fatal server error:
[    41.870] Caught signal 11 (Segmentation fault). Server aborting
[    41.870] 
[    41.870] (EE) 
Please consult the Fedora Project support 
	 at http://wiki.x.org

SiS VGA:
01:00.0 VGA compatible controller [0300]: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter [1039:6330] (rev 03)

Additional Info:
Booting in 'Basic Video' (VESA) does work for me. (The monitor max resolution is very low by today standards... a CRT 1024x768....).

Comment 2 Nils 2013-03-18 20:36:20 UTC
Possible Workaround

I have ran into this bug on CentOS 6.4 x86_64:

xorg-x11-server-Xorg-1.13.0-11.el6.centos.x86_64
xorg-x11-drv-sis-0.10.7-2.el6.x86_64

CentOS 6.4 is still GLIBC_2.12 (Fedora 18 is GLIBC_2.14) so drivers from Fedora will not work though obviously issue is not related to version of GLIBC (if that is helpful).

But it works if NoAccel option is enabled - add following line in Section "Device":

Option     "NoAccel"             "True"

It works, and detects resolution properly.
Hope it helps!

Comment 3 Assen Totin 2013-04-24 15:05:02 UTC
Looks like this bug is now part of CentOS 6.4. too :-) 

If you're bold enough, here is my guide how to get back a fully accelerated X server on Fedora 18 by compiling an older version of X.org manually. Also works on CentOS 6.4 (tried myself few days ago). 

http://www.zavedil.com/accelerated-x-server-for-sis-video-on-fedora-18/

WWell,

Comment 4 David Juran 2013-07-23 15:11:00 UTC
I've created bug 987519 for RHEL6 which might well be the same issue.

Comment 5 Fedora End Of Life 2013-12-21 10:25:50 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Fedora End Of Life 2014-02-05 14:57:00 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.