Bug 12482 - segfault on Xorg startup at miSpriteInitialize
Summary: segfault on Xorg startup at miSpriteInitialize
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: * Other (show other bugs)
Version: git
Hardware: Other All
: medium critical
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-18 17:12 UTC by Sami Farin
Modified: 2008-04-03 06:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xorg log / crash in miSpriteInitialize (19.07 KB, text/plain)
2007-09-18 17:13 UTC, Sami Farin
no flags Details

Description Sami Farin 2007-09-18 17:12:44 UTC
xorg-server-1.3.99.0-269-g547ad21 / x86_64
xf86-video-intel-2.1.0-88-gbda3c69

the same software version works in 32bit mode.

when I hacked around and did this, 64bit Xorg starts up:

index 0b402fa..f15f233 100644
--- a/mi/misprite.c
+++ b/mi/misprite.c
@@ -181,7 +181,7 @@ miSpriteInitialize (pScreen, cursorFuncs, screenFuncs)
        return FALSE;
     }
     for (pVisual = pScreen->visuals;
-        pVisual->vid != pScreen->rootVisual;
+        pVisual && pVisual->vid && pVisual->vid != pScreen->rootVisual;
         pVisual++)
        ;
     pScreenPriv->pVisual = pVisual;
Comment 1 Sami Farin 2007-09-18 17:13:39 UTC
Created attachment 11628 [details]
xorg log / crash in miSpriteInitialize
Comment 2 Adam Jackson 2008-02-29 13:51:03 UTC
No, I don't believe this.  If your screen has no visuals, something else is seriously wrong.


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.