Bug 15308 - Segfault with tdfx on Sparc (xserver 1.5 rc1)
Summary: Segfault with tdfx on Sparc (xserver 1.5 rc1)
Status: RESOLVED WORKSFORME
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/tdfx (show other bugs)
Version: unspecified
Hardware: SPARC Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL: http://bugs.debian.org/472839
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-01 11:14 UTC by Julien Cristau
Modified: 2011-10-09 18:54 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg log (7.80 KB, text/plain)
2008-04-01 11:14 UTC, Julien Cristau
no flags Details

Description Julien Cristau 2008-04-01 11:14:59 UTC
Created attachment 15610 [details]
Xorg log

This was reported by Goneri Le Bouder <goneri@rulezlan.org> on the
Debian BTS, using xserver 1.4.99.901 and xf86-video-tdfx-1.4.0:

When I try to start Xorg from the 2:1.4.99.901-2 packag on my Ultra Sparc 60,
I get a segfault. I've just one Banshee PCI card.

0000:00:00.0 Host bridge: Sun Microsystems Computer Corp. Psycho PCI Bus Module
0000:00:01.0 Bridge: Sun Microsystems Computer Corp. EBUS (rev 01)
0000:00:01.1 Ethernet controller: Sun Microsystems Computer Corp. Happy Meal (rev 01)
0000:00:02.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
0000:00:02.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
0000:00:02.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)
0000:00:03.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 14)
0000:00:03.1 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 14)
0000:00:04.0 RAID bus controller: Silicon Image, Inc. SiI 3112 [SATALink/SATARaid] Serial ATA Controller (rev 01)
0000:00:05.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo Banshee (rev 03)
0001:00:00.0 Host bridge: Sun Microsystems Computer Corp. Psycho PCI Bus Module
0001:80:01.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)


(gdb) run
Starting program: /usr/bin/Xorg
[Thread debugging using libthread_db enabled]
[New process 13424]

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.4.99.901 (1.5.0 RC 1)
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.99.901-2)
Current Operating System: Linux gloria 2.6.22-3-sparc64-smp #1 SMP Mon Nov 12 12:48:41 UTC 2007 sparc64
Build Date: 23 March 2008  02:04:09AM

        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 26 20:01:55 2008
(==) Using config file: "/etc/X11/xorg.conf"
[New Thread -134846800 (LWP 13424)]
[tcsetpgrp failed in terminal_inferior: Operation not permitted]
(EE) Failed to load module "glx" (module does not exist, 0)
(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "mouse" (module does not exist, 0)
(EE) Failed to load module "kbd" (module does not exist, 0)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -134846800 (LWP 13424)]
0xf78ce020 in inl (port=33624092) at /usr/include/xorg/compiler.h:627
warning: Source file is more recent than executable.
627             __asm__ __volatile__("lda [%1] %2, %0"
(gdb) bt full
#0  0xf78a2020 in inl (port=33624092) at /usr/include/xorg/compiler.h:627
        ret = 0
#1  0xf78a2000 in TDFXReadChipLongPIO (pTDFX=0x1e9fa0, chip=0, addr=28) at ../../src/tdfx_io.c:64
No locals.
#2  0xf78a2090 in TDFXReadLongPIO (pTDFX=0x1e9fa0, addr=28) at ../../src/tdfx_io.c:72
No locals.
#3  0xf789b05c in TDFXCountRam (pScrn=0x1e9b28) at ../../src/tdfx_driver.c:590
        partSize = 660464
        banks = 6
        dramInit0_strap = 1640512
        dramInit1 = 5
        miscInit1 = 4287238616
        nChips = 5
        dramInit1_strap = 6
        pTDFX = (TDFXPtr) 0x1e9fa0
        vmemSize = 0
        vmemType = 0
#4  0xf789c97c in TDFXPreInit (pScrn=0x1e9b28, flags=0) at ../../src/tdfx_driver.c:1109
        pTDFX = (TDFXPtr) 0x1e9fa0
        clockRanges = (ClockRangePtr) 0x1e4268
        pMon = (xf86MonPtr) 0x0
        i = 1
        from = X_PROBED
        flags24 = 11
        defaultWeight = {red = 0, green = 0, blue = 0}
        match = (struct pci_device *) 0x1e4268
        availableMem = 2005440
#5  0x000722cc in InitOutput (pScreenInfo=0x1db1e8, argc=1, argv=0xff8a14a4) at ../../../../hw/xfree86/common/xf86Init.c:749
        configured_device = <value optimized out>
        i = 0
        j = 0
        k = <value optimized out>
        modulelist = (char **) 0x0
        optionlist = (pointer *) 0x1e4878
        layout = <value optimized out>
        screenpix24 = <value optimized out>
        pix24 = <value optimized out>
        pix24From = <value optimized out>
        autoconfig = <value optimized out>
#6  0x00039918 in main (argc=1, argv=0xff8a14a4, envp=0xff8a14ac) at ../../dix/main.c:358
        i = <value optimized out>
        error = -134756368
        alwaysCheckForInput = {0, 1}
(gdb)
Comment 1 Jeremy Huddleston Sequoia 2011-10-09 18:54:44 UTC
See my comment in #7967


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.