Bug 71482 - crash under LibreOffice impress ...
Summary: crash under LibreOffice impress ...
Status: RESOLVED DUPLICATE of bug 71415
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.6 (2010.12)
Hardware: Other All
: medium critical
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-11 10:20 UTC by Michael Meeks
Modified: 2013-12-28 23:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Michael Meeks 2013-11-11 10:20:49 UTC
Just using LibreOffice to edit some slides, I got 3x in a row (I now have it
running under gdb) over the course of 30minutes editing some slides. Drat -
I've lost the Xorg.0.log.old as well, but nevertheless this is a pretty
annoying one ... I have an openSUSE 13.1 with xf86-video-intel-2.99.905-1.1.i586

Program received signal SIGSEGV, Segmentation fault.
#0  sna_do_copy (src=src@entry=0xb751dc0, dst=dst@entry=0xb357808,
gc=gc@entry=0xb34f318, sx=sx@entry=0, sy=sy@entry=0, width=width@entry=300, hei
    bitPlane=bitPlane@entry=0, closure=closure@entry=0x0) at sna_accel.c:6097
#1  0xb6c209f6 in sna_copy_area (src=0xb751dc0, dst=0xb357808, gc=0xb34f318,
src_x=0, src_y=0, width=300, height=213, dst_x=5, dst_y=-115) at sna_
#2  0x0807ab3f in ProcCopyArea (client=0xac8e7e8) at dispatch.c:1626
#3  0x0807ed8d in Dispatch () at dispatch.c:432
#4  0x0806ce2a in main (argc=12, argv=0xbffacf64, envp=0xbffacf98) at
main.c:298

Suggested patch is:

--- xf86-video-intel-2.99.905/src/sna_accel.c
+++ xf86-video-intel-2.99.905/src/sna_accel.c
@@ -6094,7 +6094,7 @@
 	     region.extents.x1, region.extents.y1,
 	     region.extents.x2, region.extents.y2));
 
-	if (!box_intersect(&region.extents, &gc->pCompositeClip->extents)) {
+	if (gc->pCompositeClip && !box_intersect(&region.extents, &gc->pCompositeClip->extents)) {
 		DBG(("%s: dst clipped out\n", __FUNCTION__));
 		return NULL;
 	}

The gc's pCompositeClip is NULL when using my slide deck under the 'master view' on this hardware.

HTH !
Comment 1 Chris Wilson 2013-11-11 10:30:41 UTC
Except that gc->pCompositeClip is not allowed to be NULL there...

*** This bug has been marked as a duplicate of bug 71415 ***


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.