<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:uzytkownik2@gmail.com" title="Maciej Piechotka <uzytkownik2@gmail.com>"> <span class="fn">Maciej Piechotka</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - BadMatch is shm extention"
href="https://bugs.freedesktop.org/show_bug.cgi?id=78224">bug 78224</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEEDINFO
</td>
<td>NEW
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - BadMatch is shm extention"
href="https://bugs.freedesktop.org/show_bug.cgi?id=78224#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - BadMatch is shm extention"
href="https://bugs.freedesktop.org/show_bug.cgi?id=78224">bug 78224</a>
from <span class="vcard"><a class="email" href="mailto:uzytkownik2@gmail.com" title="Maciej Piechotka <uzytkownik2@gmail.com>"> <span class="fn">Maciej Piechotka</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=78224#c1">comment #1</a>)
<span class="quote">> Sorry, but that backtrace doesn't help. Errors in X11 are reported
> asynchronously. When sending a request, Xlib doesn't wait for a "there was
> no error"-reply from the server. Only randomly later does it receive errors,
> if one occurs. So the backtrace in that case is just "randomly later".
> </span >
I know. Backtrace from a breakpoint in gdk_x_error with GDK_SYNCHRONIZE=1 so
that's covered.
<span class="quote">> What is the error message that is printed on stderr?
> Why is this bug titled "BadMatch is shm extention"? Did you guess that SHM
> is involved just from the backtrace?</span >
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 795449 error_code 8 request_code 62 (core protocol)
minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
And name of the functions are
_cairo_xlib_surface_update_shm/_cairo_xlib_surface_get_shm etc.
PS. I got another repro after running some time. I'll get a better stacktrace
soon.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>