<div>Hello, I may have noticed a bug in the loading of SVG files. Here is what I&#39;ve done :</div>
<div>I browse a folder containing images only (it&#39;s the &quot;openclipart&quot; package).</div>
<div>Each second I launch a thread that basically creates a context from a GtkWindow, creates a surface from the current image&#39;s path and this context, destroy the context and quite the thread. Nothing more, I don&#39;t even free the surface after, it&#39;s just for testing.</div>

<div>When there are only PNG in the folder there is no problem, even with big images like screenshots.</div>
<div>but when I load SVG, for some images it systematicaly crashes with a &quot;Xlib error : asynchronous reply&quot;. It only and always happens on the same files, even if I browse the folder randomy. I&#39;ve opened these files with inkscape, they have nothing special, they are not heavy to load in terms of SVG.</div>

<div>If I run the program with ddd it stops nowhere, but the last call is in &quot;xcb&quot;. I wonder why there is a need to make a request to X to load a SVG image, and especially why xcb ? because of the context ? but if I create a context as a global variable before running the loop and use it in the thread, the result is the same.</div>

<div>I&#39;ve made the tests with libcairo 1.6.0 on an Ubuntu 8.04, many other users have confirmed the crash.</div>
<div>Thanks in advance for your help !</div>