Summary: | composite crash in Polyline. | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Jim Gettys <jg> | ||||
Component: | Server/General | Assignee: | Eric Anholt <eric> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | critical | ||||||
Priority: | high | CC: | ajax, keithp | ||||
Version: | git | ||||||
Hardware: | x86 (IA32) | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 351 | ||||||
Attachments: |
|
Description
Jim Gettys
2004-08-19 13:48:58 UTC
Eric asked for this. Created attachment 693 [details] [review] cw-wrapfuncs.diff This bug was caused by a path where when cwPolylines called down, somebody (probably mi) called ChangeGC/ValidateGC on the same GC before doing some setspans. Because the cw ops didn't unwrap funcs, this hit cwValidateGC, which re-wrapped the ops, causing a loop. As far as I understand, the "somebody" is violating the current rules as described in bug #1045. However, given the late time in the release cycle we're at, the attached patch to unwrap/rewrap funcs in the ops will fix the problem. reproducible here. eric's patch makes the pain go away. it breaks composite though. Committed a patch that actually works. Apologies to those who tested the previous patch, which was obviously broken. |
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.