View Single Post
Old 03-28-12, 09:26 AM   #3
james-p
Registered User
 
Join Date: Jun 2010
Posts: 13
Default Re: Xorg crash on centos5 with 295.20 and Quadro 2000

Had another crash early today - this time I had enabled core dumps, so can possibly obtain more info - although, I'm not really sure what I'm looking for as the crash is happening somewhere in nvidia_drv.so

The backtrace for today starts with:

Program received signal SIGSEGV, Segmentation fault.
0x00002b30f7b6ea8c in ?? () from /usr/lib64/xorg/modules/drivers/nvidia_drv.so
#0 0x00002b30f7b6ea8c in ?? ()
from /usr/lib64/xorg/modules/drivers/nvidia_drv.so
No symbol table info available.
#1 0x00002b30f7b6f350 in ?? ()
from /usr/lib64/xorg/modules/drivers/nvidia_drv.so
No symbol table info available.
#2 0x00002b30f7b79b76 in ?? ()
from /usr/lib64/xorg/modules/drivers/nvidia_drv.so
No symbol table info available.
#3 0x00002b30f7b6fa74 in ?? ()
from /usr/lib64/xorg/modules/drivers/nvidia_drv.so
No symbol table info available.
#4 0x00000000004dde1c in miPolyText16 (pDraw=0x1c887910, pGC=0x1b57e6b0,
x=436, y=8, count=<value optimized out>, chars=<value optimized out>)
at mipolytext.c:136
n = 4
i = <value optimized out>
w = 0
charinfo = {0x1bd00a10, 0x1bd00a10, 0x1bd00a10, 0x1bd00a10,

The source for miPolyText16() is:

118 _X_EXPORT int
119 miPolyText16(pDraw, pGC, x, y, count, chars)
120 DrawablePtr pDraw;
121 GCPtr pGC;
122 int x, y;
123 int count;
124 unsigned short *chars;
125 {
126 unsigned long n, i;
127 int w;
128 CharInfoPtr charinfo[255]; /* encoding only has 1 byte for count */
129
130 GetGlyphs(pGC->font, (unsigned long)count, (unsigned char *)chars,
131 (FONTLASTROW(pGC->font) == 0) ? Linear16Bit : TwoD16Bit,
132 &n, charinfo);
133 w = 0;
134 for (i=0; i < n; i++) w += charinfo[i]->metrics.characterWidth;
135 if (n != 0)
136 (*pGC->ops->PolyGlyphBlt)(
137 pDraw, pGC, x, y, n, charinfo, FONTGLYPHS(pGC->font));
138 return x+w;
139 }

It is crashing somewhere in the routine at line 136

gdb gives the the values of w=0, count=4, n=4, x=436, y=8 and the first 4 elements of charinfo are all:

{metrics = {leftSideBearing = 0, rightSideBearing = 0,
characterWidth = 0, ascent = 0, descent = 0, attributes = 0}, bits = 0x0}

and pGC->font contains:

{refcnt = 2, info = {firstCol = 0, lastCol = 255, firstRow = 0,
lastRow = 255, defaultCh = 0, noOverlap = 1, terminalFont = 1,
constantMetrics = 1, constantWidth = 1, inkInside = 1, inkMetrics = 0,
allExist = 0, drawDirection = 0, cachable = 1, anamorphic = 0,
maxOverlap = 0, pad = 0, maxbounds = {leftSideBearing = 0,
rightSideBearing = 10, characterWidth = 10, ascent = 8, descent = 2,
attributes = 1000}, minbounds = {leftSideBearing = 0,
rightSideBearing = 10, characterWidth = 10, ascent = 8, descent = 2,
attributes = 1000}, ink_maxbounds = {leftSideBearing = 0,
rightSideBearing = 10, characterWidth = 10, ascent = 8, descent = 2,
attributes = 1000}, ink_minbounds = {leftSideBearing = 0,
rightSideBearing = 10, characterWidth = 10, ascent = 8, descent = 2,
attributes = 1000}, fontAscent = 8, fontDescent = 2, nprops = 36,
props = 0x1b728e90,
isStringProp = 0x1b7290d0 "\001\001\001\001\001\001\001"}, bit = 0 '\000',
byte = 0 '\000', glyph = 4 '\004', scan = 1 '\001', format = 512,
get_glyphs = 0x3a14e34950 <_fs_get_glyphs>, get_metrics = 0x3a14e34650,
unload_font = 0x3a14e348e0 <_fs_unload_font>, unload_glyphs = 0,
fpe = 0x1b309110, svrPrivate = 0x0, fontPrivate = 0x1fee7f80,
fpePrivate = 0x1fee7fa0, maxPrivate = 0, devPrivates = 0x1ec62ec8}


Unfortunately, I have no idea what all the above means ... and whether it is significant or not

Can anyone tell if this is an Nvidia driver problem or Xorg issue - and any idea what I can do next to get to the bottom of this ???

Thanks
james-p is offline   Reply With Quote