<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=CS link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Hi,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>When I run the test suite of my project in multiple threads with cairo pdf (or ps) surface (image surface is ok, not sure about others) I often get assertion failure with stack like this:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>_cairo_hash_table_lookup_exact_key(_cairo_hash_table * hash_table=0x1065b6d0, _cairo_hash_entry * key=0x10ab80e8)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>_cairo_hash_table_remove(_cairo_hash_table * hash_table=0x1065b6d0, _cairo_hash_entry * key=0x10ab80e8)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>_cairo_scaled_glyph_page_destroy(void * closure=0x10ab7590)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>_cairo_cache_remove(_cairo_cache * cache=0x0c386dbc, _cairo_cache_entry * entry=0x10ab7590)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>_cairo_cache_remove_random(_cairo_cache * cache=0x0c386dbc)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>_cairo_cache_shrink_to_accommodate(_cairo_cache * cache=0x0c386dbc, unsigned long additional=0)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>_cairo_cache_thaw(_cairo_cache * cache=0x0c386dbc)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>_cairo_scaled_font_thaw_cache(_cairo_scaled_font * scaled_font=0x0dc3bb90)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>_cairo_scaled_font_glyph_device_extents(_cairo_scaled_font * scaled_font=0x0dc3bb90, const cairo_glyph_t * glyphs=0x0da290f8, int num_glyphs=5, _cairo_rectangle_int * extents=0x09a3e06c, int * overlap_out=0x09a3e0b0)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>_cairo_composite_rectangles_init_for_glyphs(_cairo_composite_rectangles * extents=0x09a3e05c, int surface_width=595, int surface_height=842, _cairo_operator op=CAIRO_OPERATOR_OVER, const _cairo_pattern * source=0x0dc6fa60, _cairo_scaled_font * scaled_font=0x0dc3bb90, cairo_glyph_t * glyphs=0x0da290f8, int num_glyphs=5, _cairo_clip * clip=0x00000000, int * overlap=0x09a3e0b0)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>_cairo_pdf_surface_show_text_glyphs(void * abstract_surface=0x108cbb40, _cairo_operator op=CAIRO_OPERATOR_OVER, const _cairo_pattern * source=0x0dc6fa60, const char * utf8=0x0db44dc0, int utf8_len=6, cairo_glyph_t * glyphs=0x0da290f8, int num_glyphs=5, const cairo_text_cluster_t * clusters=0x0cb1ce08, int num_clusters=5, _cairo_text_cluster_flags cluster_flags=0, _cairo_scaled_font * scaled_font=0x0dc3bb90, _cairo_clip * clip=0x00000000)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>_cairo_analysis_surface_show_text_glyphs(void * abstract_surface=0x105aac10, _cairo_operator op=CAIRO_OPERATOR_OVER, const _cairo_pattern * source=0x0dc6fa60, const char * utf8=0x0db44dc0, int utf8_len=6, cairo_glyph_t * glyphs=0x0da290f8, int num_glyphs=5, const cairo_text_cluster_t * clusters=0x0cb1ce08, int num_clusters=5, _cairo_text_cluster_flags cluster_flags=0, _cairo_scaled_font * scaled_font=0x0dc3bb90, _cairo_clip * clip=0x00000000)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>_cairo_surface_show_text_glyphs(_cairo_surface * surface=0x105aac10, _cairo_operator op=CAIRO_OPERATOR_OVER, const _cairo_pattern * source=0x0dc6fa60, const char * utf8=0x0db44dc0, int utf8_len=6, cairo_glyph_t * glyphs=0x0da290f8, int num_glyphs=5, const cairo_text_cluster_t * clusters=0x0cb1ce08, int num_clusters=5, _cairo_text_cluster_flags cluster_flags=0, _cairo_scaled_font * scaled_font=0x0dc3bb90, _cairo_clip * clip=0x00000000)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>_cairo_surface_wrapper_show_text_glyphs(_cairo_surface_wrapper * wrapper=0x09a3e400, _cairo_operator op=CAIRO_OPERATOR_OVER, const _cairo_pattern * source=0x0dc6fa60, const char * utf8=0x0db44dc0, int utf8_len=6, cairo_glyph_t * glyphs=0x0da290f8, int num_glyphs=5, const cairo_text_cluster_t * clusters=0x0cb1ce08, int num_clusters=5, _cairo_text_cluster_flags cluster_flags=0, _cairo_scaled_font * scaled_font=0x0dc3bb90, _cairo_clip * clip=0x00000000)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>_cairo_recording_surface_replay_internal(_cairo_surface * surface=0x0da17648, const _cairo_rectangle_int * surface_extents=0x00000000, _cairo_surface * target=0x105aac10, cairo_recording_replay_type_t type=CAIRO_RECORDING_CREATE_REGIONS, cairo_recording_region_type_t region=CAIRO_RECORDING_REGION_ALL)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>_cairo_recording_surface_replay_and_create_regions(_cairo_surface * surface=0x0da17648, _cairo_surface * target=0x105aac10)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>_paint_page(_cairo_paginated_surface * surface=0x0deeca98)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>_cairo_paginated_surface_show_page(void * abstract_surface=0x0deeca98)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>cairo_surface_show_page(_cairo_surface * surface=0x0deeca98)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>_cairo_gstate_show_page(_cairo_gstate * gstate=0x107b0078)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>cairo_show_page(_cairo * cr=0x107b0058)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>Tested with cairo 1.10 on both windows and linux. Any idea what might be wrong or what to try or where to look?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>/Vojtech<o:p></o:p></span></p></div></body></html>