[Wayland-bugs] [Bug 93750] Xwayland crashes with SIGBUS when processing PutImage

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 18 02:22:38 PST 2016


https://bugs.freedesktop.org/show_bug.cgi?id=93750

--- Comment #4 from Pekka Paalanen <ppaalanen at gmail.com> ---
(In reply to Jonas Ådahl from comment #2)
> 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.

I think this is the cause. For an explanation why a full fs causes a SIGBUS,
see:
http://cgit.freedesktop.org/wayland/wayland/commit/?id=011b6954031a25de8d9eb39631b6837553bb3cfb

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20160118/012dcf7a/attachment-0001.html>


More information about the wayland-bugs mailing list