<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Xwayland crashes with SIGBUS when processing PutImage"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93750#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Xwayland crashes with SIGBUS when processing PutImage"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93750">bug 93750</a>
from <span class="vcard"><a class="email" href="mailto:ppaalanen@gmail.com" title="Pekka Paalanen <ppaalanen@gmail.com>"> <span class="fn">Pekka Paalanen</span></a>
</span></b>
<pre>(In reply to Jonas Ådahl from <a href="show_bug.cgi?id=93750#c2">comment #2</a>)
<span class="quote">> One thing I noticed was that /run/user/1000/ was 100% full when SIGBUS was
> hit, but I couldn't see any error messages about failed allocation, but not
> sure that has anything to do with it.</span >
I think this is the cause. For an explanation why a full fs causes a SIGBUS,
see:
<a href="http://cgit.freedesktop.org/wayland/wayland/commit/?id=011b6954031a25de8d9eb39631b6837553bb3cfb">http://cgit.freedesktop.org/wayland/wayland/commit/?id=011b6954031a25de8d9eb39631b6837553bb3cfb</a>
Can you somehow check if the target memory is indeed mmapped from that fs and
if so, how does the file get created? This would allow a graceful failure at
least.
I think the next question would be whether the mmap is of the expected size,
and should something throttle/reclaim somewhere to avoid filling the fs.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>