Bug 12482 - segfault on Xorg startup at miSpriteInitialize
Summary: segfault on Xorg startup at miSpriteInitialize
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
Depends on:
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:

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

Note You need to log in before you can comment on or make changes to this bug.
Description Sami Farin 2007-09-18 17:12:44 UTC
xorg-server- / x86_64

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;
     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.