[cairo-bugs] [Bug 100432] Program terminates with SIGBUS if running in Docker

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 18 07:41:07 UTC 2018


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

Luka Napotnik <luka.napotnik at visionect.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #8 from Luka Napotnik <luka.napotnik at visionect.com> ---
The problem is in the shared memory device (/dev/shm) that is mounted inside
the Docker container. By default, docker mounts it as a 64 MB (correct me if
I'm wrong) filesystem, which might be too small for some applications.

The solution is to specify --shm-size when running the container and increase
the size. Or by sharing the system /dev/shm by adding it as a volume. The
crashes vanished after resizing /dev/shm in the container.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20180118/498120ce/attachment.html>


More information about the cairo-bugs mailing list