<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Xorg SIGSEGV in sna_do_copy() for 2.99.905"
href="https://bugs.freedesktop.org/show_bug.cgi?id=71415#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Xorg SIGSEGV in sna_do_copy() for 2.99.905"
href="https://bugs.freedesktop.org/show_bug.cgi?id=71415">bug 71415</a>
from <span class="vcard"><a class="email" href="mailto:michael.meeks@collabora.com" title="Michael Meeks <michael.meeks@collabora.com>"> <span class="fn">Michael Meeks</span></a>
</span></b>
<pre>I attached gdb before starting LibreOffice; and got to:
(gdb) b sna_accel.c:14950
Breakpoint 2 at 0xb6beada9: file sna_accel.c, line 14950.
(gdb) c
Breakpoint 2, sna_validate_gc (gc=0x96c0158, changes=917504,
drawable=0x969ec50) at sna_accel.c:14950
14950 sna_gc(gc)->changes |= changes;
(gdb) condition 2 gc->pCompositeClip == 0
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0xb6bee678 in sna_do_copy (src=src@entry=0x96b5ec8, dst=dst@entry=0x9c72868,
gc=gc@entry=0xa016e70, sx=sx@entry=0, sy=sy@entry=0,
width=width@entry=300, height=height@entry=213, dx=dx@entry=5,
dy=dy@entry=-115, copy=0xb6c08fe0 <sna_copy_boxes>,
bitPlane=bitPlane@entry=0, closure=closure@entry=0x0) at sna_accel.c:6158
6158 if (gc->pCompositeClip->data)
(gdb) p *gc
$1 = {pScreen = 0x9346738, depth = 24 '\030', alu = 3 '\003', lineWidth = 0,
dashOffset = 0, numInDashList = 2,
dash = 0x8262bc8 <DefaultDash> "\004\004", lineStyle = 0, capStyle = 1,
joinStyle = 0, fillStyle = 0, fillRule = 0, arcMode = 1,
subWindowMode = 0, graphicsExposures = 0, clientClipType = 0, miTranslate =
1, tileIsPixel = 1, fExpose = 1, freeCompClip = 1,
scratch_inuse = 0, unused = 0, planemask = 4294967295, fgPixel = 0, bgPixel =
1, tile = {pixmap = 0x0, pixel = 0}, stipple = 0x9383990,
patOrg = {x = 0, y = 0}, font = 0x9384340, clipOrg = {x = 0, y = 0},
clientClip = 0x0, stateChanges = 0, serialNumber = 2802969, funcs = 0x0,
ops = 0xb6d1aa20 <sna_gc_ops>, devPrivates = 0xa016ec4, pRotatedPixmap = 0x0,
pCompositeClip = 0x0}
(gdb) bt
#0 0xb6bee678 in sna_do_copy (src=src@entry=0x96b5ec8,
dst=dst@entry=0x9c72868, gc=gc@entry=0xa016e70, sx=sx@entry=0, sy=sy@entry=0,
width=width@entry=300, height=height@entry=213, dx=dx@entry=5,
dy=dy@entry=-115, copy=0xb6c08fe0 <sna_copy_boxes>,
bitPlane=bitPlane@entry=0, closure=closure@entry=0x0) at sna_accel.c:6158
#1 0xb6bee9f6 in sna_copy_area (src=0x96b5ec8, dst=0x9c72868, gc=0xa016e70,
src_x=0, src_y=0, width=300, height=213, dst_x=5, dst_y=-115)
at sna_accel.c:6247
#2 0x0807ac7f in ProcCopyArea (client=0xa01c390) at dispatch.c:1626
#3 0x0807eecd in Dispatch () at dispatch.c:432
#4 0x0806cf6a in main (argc=12, argv=0xbfb15404, envp=0xbfb15438) at
main.c:298
of course gdb lieth through it's teeth - but (presumably) if correct, that
points to the sna_validate_gc not getting called for this gc (somehow) (?)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>