[cairo-bugs] [Bug 11734] XRender crashes due to NULL pointer from Cairo on SGI O2

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 16 17:51:02 PDT 2007


http://bugs.freedesktop.org/show_bug.cgi?id=11734





------- Comment #2 from macallan at netbsd.org  2007-09-16 17:51 PST -------
Here's a stack trace of gtk-demo trying to open its window on an O2:
program received signal SIGSEGV, Segmentation fault.
0x000000004390551c in XRenderCreatePicture () from /usr/pkg/lib/libXrender.so.1
(gdb) bt
#0  0x000000004390551c in XRenderCreatePicture ()
   from /usr/pkg/lib/libXrender.so.1
#1  0x0000000042b48524 in _cairo_xlib_surface_ensure_dst_picture ()
   from /usr/pkg/lib/libcairo.so.2
#2  0x0000000042b499c0 in _cairo_xlib_surface_fill_rectangles ()
   from /usr/pkg/lib/libcairo.so.2
#3  0x0000000042b24b54 in _cairo_surface_fill_rectangles ()
   from /usr/pkg/lib/libcairo.so.2
#4  0x0000000042b24d48 in _cairo_surface_fill_region ()
   from /usr/pkg/lib/libcairo.so.2
#5  0x0000000042b2793c in _clip_and_composite_trapezoids ()
   from /usr/pkg/lib/libcairo.so.2
#6  0x0000000042b27b00 in _cairo_surface_fallback_fill ()
   from /usr/pkg/lib/libcairo.so.2
#7  0x0000000042b25574 in _cairo_surface_fill ()
   from /usr/pkg/lib/libcairo.so.2
#8  0x0000000042b180dc in _cairo_gstate_fill () from /usr/pkg/lib/libcairo.so.2
#9  0x0000000042b10f04 in cairo_fill_preserve ()
   from /usr/pkg/lib/libcairo.so.2
#10 0x0000000042b10f2c in cairo_fill () from /usr/pkg/lib/libcairo.so.2
#11 0x000000004073ffcc in gdk_window_set_user_data ()
   from /usr/pkg/lib/libgdk-x11-2.0.so.0
#12 0x0000000040741644 in gdk_window_begin_paint_region ()
   from /usr/pkg/lib/libgdk-x11-2.0.so.0
#13 0x0000000040ab8904 in gtk_main_do_event ()
   from /usr/pkg/lib/libgtk-x11-2.0.so.0
#14 0x0000000040741aa4 in gdk_window_is_viewable ()
   from /usr/pkg/lib/libgdk-x11-2.0.so.0
#15 0x0000000040741d48 in gdk_window_process_all_updates ()
   from /usr/pkg/lib/libgdk-x11-2.0.so.0
#16 0x0000000040a22204 in gtk_container_check_resize ()
   from /usr/pkg/lib/libgtk-x11-2.0.so.0
#17 0x000000004273c3d4 in g_source_is_destroyed ()
   from /usr/pkg/lib/libglib-2.0.so.0
#18 0x000000004273c3d4 in g_source_is_destroyed ()
   from /usr/pkg/lib/libglib-2.0.so.0

As I said, the problem isn't XRender - other applications like WindowMaker or
anything KDE don't have this problem. The SEGFAULT comes from trying to read
the pixel format which is a NULL pointer.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list