[Openchrome-devel] Please test KMS branch
Xavier Bachelot
xavier
Tue Jan 11 16:04:47 PST 2011
On 01/11/2011 10:10 PM, Julien Viard de Galbert wrote:
> On Tue, Jan 11, 2011 at 09:43:54PM +0100, Xavier Bachelot wrote:
>> On 01/11/2011 04:51 PM, James Simmons wrote:
>>>
>>> Hi!
>>>
>>> I just finished the KMS/UMS reordering. Please test my branch to
>>> make sure their are no regressions. Currently no really KMS code has been
>>> added just yet. Minus any regressions this wraps up phase one.
>>>
>> Quickly tested this on a VX800 laptop as well as a VX900 laptop. X
>> starts but crashes near the end of KDE startup. Additionnaly, after 2
>> such crashes, VT switching locked up the VX900. Nothing in the X server
>> logs. Will try to get a backtrace asap.
>
> Sorry to interfere, but did the KDE startup run with the main branch ?
>
> Just asking because of the mesa bug #340:
> http://www.openchrome.org/trac/ticket/340
> https://bugs.freedesktop.org/show_bug.cgi?id=26999
>
No, that's not this bug, this is a Chrome9, so it's using the software
rasterizer. And it's running fine with trunk.
Switching to software cursor doesn't help. Here's the backtrace :
Program received signal SIGSEGV, Segmentation fault.
0x00000000004d4dcb in damageRegionProcessPending (pDrawable=0x16a4370)
at damage.c:392
392 (*pDamage->damageMarker) (pDrawable, pDamage,
&pDamage->backupDamage, &pDamage->pendingDamage, pDamage->closure);
(gdb) bt
#0 0x00000000004d4dcb in damageRegionProcessPending
(pDrawable=0x16a4370) at damage.c:392
#1 0x00000000004d651b in damageComposite (op=3 '\003', pSrc=0x1d4fb10,
pMask=0x0, pDst=0x1843210, xSrc=0, ySrc=0, xMask=0, yMask=0, xDst=673,
yDst=369, width=24, height=24) at damage.c:652
#2 0x00007f5e89743343 in XAAComposite (op=3 '\003', pSrc=0x1d4fb10,
pMask=0x0, pDst=0x1843210, xSrc=0, ySrc=0, xMask=0, yMask=0, xDst=673,
yDst=369, width=24, height=24) at xaaPict.c:557
#3 0x00007f5e89763a9a in cwComposite (op=<value optimized out>,
pSrcPicture=<value optimized out>, pMskPicture=0x0,
pDstPicture=0x1843210, xSrc=0, ySrc=0, xMsk=0, yMsk=0, xDst=673,
yDst=369, width=24, height=24) at cw_render.c:272
#4 0x00000000005483e3 in miDCPutUpCursor (pDev=<value optimized out>,
pScreen=<value optimized out>, pCursor=0x1e29bf0, x=673, y=<value
optimized out>, source=0, mask=16777215) at midispcur.c:427
#5 0x000000000055689c in miSpriteRestoreCursor (pDev=0x16a92b0,
pScreen=0x165a930) at misprite.c:978
#6 0x0000000000458f52 in miPointerUpdateSprite (pDev=0x16a92b0) at
mipointer.c:395
#7 0x00000000004591ad in miPointerDisplayCursor (pDev=0x16a92b0,
pScreen=0x165a930, pCursor=0x1e29bf0) at mipointer.c:199
#8 0x00000000004a53db in CursorDisplayCursor (pDev=0x16a92b0,
pScreen=0x165a930, pCursor=0x1e29bf0) at cursor.c:152
#9 0x00000000005641d7 in AnimCurDisplayCursor (pDev=0x16a92b0,
pScreen=0x165a930, pCursor=0x1e29bf0) at animcur.c:230
#10 0x0000000000434f69 in ChangeToCursor (pDev=0x16a92b0,
cursor=0x1e29bf0) at events.c:946
#11 0x0000000000435d79 in WindowHasNewCursor (pWin=<value optimized
out>) at events.c:3103
#12 0x0000000000455afd in ChangeWindowAttributes (pWin=<value optimized
out>, vmask=16384, vlist=<value optimized out>, client=0x22fcc30) at
window.c:1392
#13 0x0000000000427758 in ProcChangeWindowAttributes (client=0x22fcc30)
at dispatch.c:693
#14 0x000000000042d4d1 in Dispatch () at dispatch.c:432
#15 0x000000000042152e in main (argc=8, argv=<value optimized out>,
envp=<value optimized out>) at main.c:291
(gdb) list
387
388 for (; pDamage != NULL; pDamage = pDamage->pNext)
389 {
390 /* submit damage marker whenever possible. */
391 if (pDamage->damageMarker)
392 (*pDamage->damageMarker) (pDrawable, pDamage,
&pDamage->backupDamage, &pDamage->pendingDamage, pDamage->closure);
393 if (pDamage->reportAfter) {
394 /* It's possible that there is only interest in
postRendering reporting. */
395 if (pDamage->damageReport)
396 damageReportDamage (pDamage,
&pDamage->pendingDamage);
(gdb) bt full
#0 0x00000000004d4dcb in damageRegionProcessPending
(pDrawable=0x16a4370) at damage.c:392
pDamage = 0x1fec550
#1 0x00000000004d651b in damageComposite (op=3 '\003', pSrc=0x1d4fb10,
pMask=0x0, pDst=0x1843210, xSrc=0, ySrc=0, xMask=0, yMask=0, xDst=673,
yDst=369, width=24, height=24) at damage.c:652
pScreen = <value optimized out>
ps = 0x165b5d0
pScrPriv = 0x165b940
#2 0x00007f5e89743343 in XAAComposite (op=3 '\003', pSrc=0x1d4fb10,
pMask=0x0, pDst=0x1843210, xSrc=0, ySrc=0, xMask=0, yMask=0, xDst=673,
yDst=369, width=24, height=24) at xaaPict.c:557
pScreen = 0x165a930
infoRec = <value optimized out>
#3 0x00007f5e89763a9a in cwComposite (op=<value optimized out>,
pSrcPicture=<value optimized out>, pMskPicture=0x0,
pDstPicture=0x1843210, xSrc=0, ySrc=0, xMsk=0, yMsk=0, xDst=673,
yDst=369, width=24, height=24) at cw_render.c:272
pScreen = <value optimized out>
ps = 0x165b5d0
pCwScreen = 0x1679140
pBackingSrcPicture = 0x1d4fb10
msk_picture_x_off = 0
msk_picture_y_off = 0
pBackingMskPicture = 0x0
pBackingDstPicture = <value optimized out>
#4 0x00000000005483e3 in miDCPutUpCursor (pDev=<value optimized out>,
pScreen=<value optimized out>, pCursor=0x1e29bf0, x=673, y=<value
optimized out>, source=0, mask=16777215) at midispcur.c:427
pPriv = 0x1eee8b0
pBuffer = 0x16aa850
pWin = 0x16a4370
#5 0x000000000055689c in miSpriteRestoreCursor (pDev=0x16a92b0,
pScreen=0x165a930) at misprite.c:978
pScreenPriv = 0x165ba20
x = 673
y = <value optimized out>
pCursor = 0x1e29bf0
pCursorInfo = 0x16aa810
#6 0x0000000000458f52 in miPointerUpdateSprite (pDev=0x16a92b0) at
mipointer.c:395
pScreen = 0x165a930
pCursor = <value optimized out>
x = 684
y = 380
devx = <value optimized out>
devy = <value optimized out>
pPointer = 0x16aa7c0
#7 0x00000000004591ad in miPointerDisplayCursor (pDev=0x16a92b0,
pScreen=0x165a930, pCursor=0x1e29bf0) at mipointer.c:199
pPointer = <value optimized out>
#8 0x00000000004a53db in CursorDisplayCursor (pDev=0x16a92b0,
pScreen=0x165a930, pCursor=0x1e29bf0) at cursor.c:152
cs = 0x168b740
ret = <value optimized out>
backupProc = 0x4a5250 <CursorDisplayCursor>
#9 0x00000000005641d7 in AnimCurDisplayCursor (pDev=0x16a92b0,
pScreen=0x165a930, pCursor=0x1e29bf0) at animcur.c:230
as = 0x168c880
ret = <value optimized out>
#10 0x0000000000434f69 in ChangeToCursor (pDev=0x16a92b0,
cursor=0x1e29bf0) at events.c:946
pSprite = 0x172d3a0
pScreen = <value optimized out>
#11 0x0000000000435d79 in WindowHasNewCursor (pWin=<value optimized
out>) at events.c:3103
pDev = 0x16a92b0
#12 0x0000000000455afd in ChangeWindowAttributes (pWin=<value optimized
out>, vmask=16384, vlist=<value optimized out>, client=0x22fcc30) at
window.c:1392
pVlist = 0x1d35570
pPixmap = 0x0
pixID = <value optimized out>
pCursor = 0x1e29bf0
pOldCursor = <value optimized out>
cursorID = <value optimized out>
pChild = 0x0
cmap = <value optimized out>
pCmap = 0x0
xE = {u = {u = {type = 5 '\005', detail = 0 '\000',
sequenceNumber = 0}, keyButtonPointer = {pad00 = 5, time = 0, root =
8273520, event = 0, child = 3980, rootX = 0, rootY = 0, eventX = -27712,
eventY = 124, state = 0,
sameScreen = 0 '\000', pad1 = 0 '\000'}, enterLeave =
{pad00 = 5, time = 0, root = 8273520, event = 0, child = 3980, rootX =
0, rootY = 0, eventX = -27712, eventY = 124, state = 0, mode = 0 '\000',
flags = 0 '\000'},
---Type <return> to continue, or q <return> to quit---
focus = {pad00 = 5, window = 0, mode = 112 'p', pad1 = 62
'>', pad2 = 126 '~', pad3 = 0 '\000'}, expose = {pad00 = 5, window = 0,
x = 15984, y = 126, width = 0, height = 0, count = 3980, pad2 = 0},
graphicsExposure = {
pad00 = 5, drawable = 0, x = 15984, y = 126, width = 0,
height = 0, minorEvent = 3980, count = 0, majorEvent = 0 '\000', pad1 =
0 '\000', pad2 = 0 '\000', pad3 = 0 '\000'}, noExposure = {pad00 = 5,
drawable = 0,
minorEvent = 15984, majorEvent = 126 '~', bpad = 0
'\000'}, visibility = {pad00 = 5, window = 0, state = 112 'p', pad1 = 62
'>', pad2 = 126 '~', pad3 = 0 '\000'}, createNotify = {pad00 = 5, parent
= 0, window = 8273520,
x = 0, y = 0, width = 3980, height = 0, borderWidth = 0,
override = 0 '\000', bpad = 0 '\000'}, destroyNotify = {pad00 = 5, event
= 0, window = 8273520}, unmapNotify = {pad00 = 5, event = 0, window =
8273520,
fromConfigure = 0 '\000', pad1 = 0 '\000', pad2 = 0
'\000', pad3 = 0 '\000'}, mapNotify = {pad00 = 5, event = 0, window =
8273520, override = 0 '\000', pad1 = 0 '\000', pad2 = 0 '\000', pad3 = 0
'\000'}, mapRequest = {
pad00 = 5, parent = 0, window = 8273520}, reparent =
{pad00 = 5, event = 0, window = 8273520, parent = 0, x = 3980, y = 0,
override = 0 '\000', pad1 = 0 '\000', pad2 = 0 '\000', pad3 = 0 '\000'},
configureNotify = {
pad00 = 5, event = 0, window = 8273520, aboveSibling = 0,
x = 3980, y = 0, width = 0, height = 0, borderWidth = 37824, override =
124 '|', bpad = 0 '\000'}, configureRequest = {pad00 = 5, parent = 0,
window = 8273520,
sibling = 0, x = 3980, y = 0, width = 0, height = 0,
borderWidth = 37824, valueMask = 124, pad1 = 0}, gravity = {pad00 = 5,
event = 0, window = 8273520, x = 0, y = 0, pad1 = 3980, pad2 = 0, pad3 =
8164288, pad4 = 0},
resizeRequest = {pad00 = 5, window = 0, width = 15984,
height = 126}, circulate = {pad00 = 5, event = 0, window = 8273520,
parent = 0, place = 140 '\214', pad1 = 15 '\017', pad2 = 0 '\000', pad3
= 0 '\000'}, property = {
pad00 = 5, window = 0, atom = 8273520, time = 0, state =
140 '\214', pad1 = 15 '\017', pad2 = 0}, selectionClear = {pad00 = 5,
time = 0, window = 8273520, atom = 0}, selectionRequest = {pad00 = 5,
time = 0,
owner = 8273520, requestor = 0, selection = 3980, target =
0, property = 8164288}, selectionNotify = {pad00 = 5, time = 0,
requestor = 8273520, selection = 0, target = 3980, property = 0},
colormap = {pad00 = 5,
window = 0, colormap = 8273520, new = 0 '\000', state = 0
'\000', pad1 = 0 '\000', pad2 = 0 '\000'}, mappingNotify = {pad00 = 5,
request = 0 '\000', firstKeyCode = 0 '\000', count = 0 '\000', pad1 = 0
'\000'},
clientMessage = {pad00 = 5, window = 0, u = {l = {type =
8273520, longs0 = 0, longs1 = 3980, longs2 = 0, longs3 = 8164288, longs4
= 0}, s = {type = 8273520, shorts0 = 0, shorts1 = 0, shorts2 = 3980,
shorts3 = 0,
shorts4 = 0, shorts5 = 0, shorts6 = -27712, shorts7 =
124, shorts8 = 0, shorts9 = 0}, b = {type = 8273520, bytes =
"\000\000\000\000\214\017\000\000\000\000\000\000\300\223|\000\000\000\000"}}}}}
error = 0
rc = <value optimized out>
pScreen = 0x165a930
index2 = 16384
tmask = <value optimized out>
vmaskCopy = <value optimized out>
val = <value optimized out>
checkOptional = 0
borderRelative = <value optimized out>
#13 0x0000000000427758 in ProcChangeWindowAttributes (client=0x22fcc30)
at dispatch.c:693
pWin = 0x2fa3e90
stuff = 0x1d35560
len = 1
rc = <value optimized out>
access_mode = <value optimized out>
#14 0x000000000042d4d1 in Dispatch () at dispatch.c:432
clientReady = 0x1846090
result = <value optimized out>
client = 0x22fcc30
nready = 0
icheck = 0x7e3e90
start_tick = 3980
#15 0x000000000042152e in main (argc=8, argv=<value optimized out>,
envp=<value optimized out>) at main.c:291
i = <value optimized out>
alwaysCheckForInput = {0, 1}
Regards,
Xavier
More information about the Openchrome-devel
mailing list