Bug 696115
| Summary: | [Arrandale] X crashes when resizing imare in LibreOffice Impress | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vít Ondruch <vondruch> | ||||
| Component: | xorg-x11-drv-intel | Assignee: | Adam Jackson <ajax> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 15 | CC: | ajax, chorn, jburgess777, mcepl, rtguille, xgl-maint | ||||
| Target Milestone: | --- | Keywords: | Triaged | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-07-27 13:44:50 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Vít Ondruch
2011-04-13 10:35:59 UTC
$ rpm -q xorg-x11-server-Xorg xorg-x11-server-Xorg-1.10.0-7.fc15.x86_64 $ rpm -q xorg-x11-drv-intel xorg-x11-drv-intel-2.14.0-5.fc15.x86_64 bradford:~ $ eu-addr2line -e /usr/lib/debug/usr/bin/Xorg.debug 0x42eb41
/usr/src/debug/xorg-server-1.10.0/dix/dispatch.c:431
if (result > (maxBigRequestSize << 2))
result = BadLength;
else {
result = XaceHookDispatch(client, MAJOROP);
if (result == Success)
>>>>> result = (* client->requestVector[MAJOROP])(client);
XaceHookAuditEnd(client, result);
}
bradford:~ $ eu-addr2line -e /usr/lib/debug/usr/bin/Xorg.debug 0x4d494b
/usr/src/debug/xorg-server-1.10.0/render/render.c:783
ntraps /= sizeof (xTrapezoid);
if (ntraps)
>>>> CompositeTrapezoids (stuff->op, pSrc, pDst, pFormat,
stuff->xSrc, stuff->ySrc,
ntraps, (xTrapezoid *) &stuff[1]);
return Success;
bradford:~ $ eu-addr2line -e /usr/lib/debug/usr/lib64/xorg/modules/drivers/intel_drv.so.debug 0x2f459
/usr/src/debug/xf86-video-intel-2.14.0/uxa/uxa-render.c:1963
CompositePicture(op, src, mask, dst,
xRel, yRel,
0, 0,
bounds.x1, bounds.y1,
width, height);
>>> FreePicture(mask, 0);
bradford:~ $ eu-addr2line -e /usr/lib/debug/usr/bin/Xorg.debug 0x4d97ed
/usr/src/debug/xorg-server-1.10.0/miext/damage/damage.c:625
unwrap (pScrPriv, ps, Composite);
(*ps->Composite) (op,
pSrc,
pMask,
pDst,
xSrc,
ySrc,
xMask,
yMask,
xDst,
yDst,
width,
height);
>>> damageRegionProcessPending (pDst->pDrawable);
bradford:~ $ eu-addr2line -e /usr/lib/debug/usr/lib64/xorg/modules/drivers/intel_drv.so.debug 0x2e10f
/usr/src/debug/xf86-video-intel-2.14.0/uxa/uxa-render.c:1679
ret =
uxa_try_driver_composite(op, pSrc, pMask, pDst, xSrc, ySrc,
xMask, yMask, xDst, yDst, width,
height);
>>>> if (ret == 1)
goto done;
bradford:~ $ eu-addr2line -e /usr/lib/debug/usr/lib64/xorg/modules/drivers/intel_drv.so.debug 0xa759
/usr/src/debug/xf86-video-intel-2.14.0/uxa/uxa-render.c:1295
nbox = REGION_NUM_RECTS(®ion);
pbox = REGION_RECTS(®ion);
>>>> while (nbox--) {
(*uxa_screen->info->composite) (pDstPix,
pbox->x1 + xSrc,
pbox->y1 + ySrc,
pbox->x1 + xMask,
pbox->y1 + yMask,
pbox->x1 + dst_off_x,
pbox->y1 + dst_off_y,
pbox->x2 - pbox->x1,
pbox->y2 - pbox->y1);
pbox++;
}
bradford:~ $ eu-addr2line -e /usr/lib/debug/usr/lib64/xorg/modules/drivers/intel_drv.so.debug 0x2312d
/usr/src/debug/xf86-video-intel-2.14.0/src/intel_batchbuffer.h:120
static inline void
intel_batch_emit_reloc(intel_screen_private *intel,
dri_bo * bo,
uint32_t read_domains,
uint32_t write_domains, uint32_t delta, int needs_fence)
{
if (needs_fence)
drm_intel_bo_emit_reloc_fence(intel->batch_bo,
intel->batch_used * 4,
bo, delta,
read_domains, write_domains);
else
drm_intel_bo_emit_reloc(intel->batch_bo, intel->batch_used * 4,
bo, delta,
read_domains, write_domains);
>>> intel_batch_emit_dword(intel, bo->offset + delta);
}
Please attach * your X server config file (/etc/X11/xorg.conf, if available), and * X server log file (/var/log/Xorg.*.log) to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above. Thanks in advance. > 1. Resizing image in LibreOffice Impress
any format / size in special ?
i tried inserting (from the menu) a png and resized it without problems on a
blank presentation. (radeon/redwood)
Created attachment 492820 [details]
Xorg.0.log
I don't have the original log with crash report anymore. So this is my current log if it helps.
> * your X server config file (/etc/X11/xorg.conf, if available), and
Don't have such file.
(In reply to comment #4) > > 1. Resizing image in LibreOffice Impress > > any format / size in special ? > > i tried inserting (from the menu) a png and resized it without problems on a > blank presentation. (radeon/redwood) Nothing special. It was very probably JPEG. It does not happen everytime, just once in a while (I prepared presentation, almost 40 slides and it crashed twice as far as I remember). Moreover the resizing of the image is very sluggish, not a nice smooth experience. That backtrace looks suspiciously like the crash I have been seeing a couple of times per hour since upgrading to F15. It seems to have gone away after installing a custom xorg-x11-drv-intel built from the FDO git master branch. I have not seen any crash after a few hours of usage. I reckon that FDO bug 36319 is the culprit, having this fix: http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=c9fb69cb2502917dfb2828c90802de7766072899 I've also had what looks like the same issue when resizing xfce4 Terminal windows on F15. Dual head setup, Arrandale chipset (i5-940M). I agree that https://bugs.freedesktop.org/show_bug.cgi?id=36319 looks like the fault, however applying the single fix that Jon mentions above was insufficient for me. I applied: http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=c9fb69cb2502917dfb2828c90802de7766072899 http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=a51cd83d25f2f9f2107219d5671194f931601244 Everything seems OK to me now. Could these upstream fixes be pulled into Fedora? xorg-x11-drv-intel-2.15.0-4.fc15 pulls the patches I mentioned above and resolves these problems for me. I believe this bug can be closed as a duplicate of 717331. Reporter, do you agree with comment 10? Was this fixed in the indicated package? Thank you in advance for reply Well, I am not using F15 for long time already and it is EOL anyway, so I'm closing this issue as fixed. |