Summary: | [bisected] cairo-perf-trace crashes on xcb backend with some traces | ||
---|---|---|---|
Product: | cairo | Reporter: | meng <mengmeng.meng> |
Component: | xcb backend | Assignee: | Uli Schlachter <psychon> |
Status: | VERIFIED FIXED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | bo.b.wang |
Version: | 1.10.3 | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
The head 5000 for xtrace test
The tail 5000 for xtrace test |
Description
meng
2011-06-19 19:31:14 UTC
Can't reproduce with cairo 441f9c5037dd32464bd87e21108b702c0a3c508a on current debian testing. However, printf tells me that surface->precision is never initialized and while we are at it, this should use the XCB_RENDER_POLY_MODE_{IM,}PRECISE defines. Could you perhaps get an xtrace of the test? (http://xtrace.alioth.debian.org) (In reply to comment #1) Test cairo 441f9c on HuronRiver,the problem still exists. Because of the xtrace of the test is too big,I head -5000 and tail -5000 for the xtrace. Created attachment 48368 [details]
The head 5000 for xtrace test
Created attachment 48369 [details]
The tail 5000 for xtrace test
Ouch. Not only surface->precision is uninitialized (which isn't that bad), connection->force_precision isn't initialized either. I guess I were just lucky that that field contained 0 while you were hit by a value of 0x60. Could you test if this commit fixes the problem? Thanks for finding and reporting. commit 144c912860af6e60e1bdbeee31fe686c9c5e550d Author: Uli Schlachter <psychon@znc.in> Date: Fri Jun 24 15:52:59 2011 +0200 xcb: Initialize the new precision fields In 63bdae27a83, new fields were added to cairo_xcb_connection_t and cairo_xcb_surface_t. The same change was done in the xlib backend. However, in the xlib backend these new fields were properly initialized. This was forgotten in the xcb backend. Hopefully-Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=38482 Signed-off-by: Uli Schlachter <psychon@znc.in> Test with commit 144c912860af6e60e1bdbeee31fe686c9c5e550d,it works fine. Verified with cairo(master)ea645913ba8739377ee2e2b51480310befc19b76, it works fine. |
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.