Bug 133989 - vga driver crash
Summary: vga driver crash
Status: RESOLVED FIXED
: 133988 (view as bug list)
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Alpha 3
Hardware: Other Other
: P2 - High : Normal (vote)
Target Milestone: ---
Assignee: Egbert Eich
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-16 13:53 UTC by Andreas Schwab
Modified: 2005-11-29 09:05 UTC (History)
2 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
SaX log file (46.60 KB, text/plain)
2005-11-16 13:53 UTC, Andreas Schwab
Details
Fix (1.32 KB, patch)
2005-11-28 18:27 UTC, Egbert Eich
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schwab 2005-11-16 13:53:14 UTC
Program received signal SIGSEGV, Segmentation fault.
0x40000000002f2dc0 in AllocatePicturePrivate (pScreen=<value optimized out>, 
    index2=0, amount=0) at picture.c:78
78          if (index2 >= ps->PicturePrivateLen)
(gdb) p index2
$1 = 0
(gdb) p ps
$2 = (PictureScreenPtr) 0x51
(gdb) up
#1  0x40000000002d3810 in miInitializeCompositeWrapper (
    pScreen=0x60000000001bc720) at cw.c:641
641         if (!AllocatePicturePrivate(pScreen, cwPictureIndex, 0))
(gdb) p pScreen
$4 = (ScreenPtr) 0x60000000001bc720
(gdb) p $.devPrivates
$6 = (DevUnion *) 0x60000000001bbd20
(gdb) p PictureScreenPrivateIndex
$7 = -1
Comment 1 Andreas Schwab 2005-11-16 13:53:51 UTC
Created attachment 57499 [details]
SaX log file
Comment 2 Andreas Schwab 2005-11-16 13:57:07 UTC
*** Bug 133988 has been marked as a duplicate of this bug. ***
Comment 3 Andreas Schwab 2005-11-16 13:57:54 UTC
PictureInit is never called before.
Comment 4 Stefan Dirsch 2005-11-16 15:05:51 UTC
I remember seing a problem with X.Org 6.9 vga driver yesterday on x86_64 as well ...
Comment 5 Stefan Dirsch 2005-11-17 10:33:35 UTC
I can reproduce this on i386 (Alpha 3 / X.Org RC2).
Comment 6 Egbert Eich 2005-11-24 17:02:30 UTC
I'll take this.
Comment 7 Stefan Dirsch 2005-11-24 17:06:00 UTC
Thanks!
Comment 8 Egbert Eich 2005-11-28 18:27:57 UTC
Created attachment 58856 [details]
Fix

This patch should fix the problem. The patch for picture.c is a little questionable - but to preserve the semantics I saw no other option.
Comment 9 Stefan Dirsch 2005-11-29 09:05:49 UTC
Thanks! xorg-x11 packages submitted for STABLE (fixed for Alpha4).