SIGBUS on wl_shm clients (Re: Newest git version of Wayland is even worse)

Bill Spitzak spitzak at gmail.com
Sat Dec 8 12:09:08 PST 2012


On 12/08/2012 12:23 AM, Pekka Paalanen wrote:

> FWIW, I have seen a bus error (SIGBUS) before. One way to trigger
> it is to run out of space on the tmpfs, where your XDG_RUNTIME_DIR
> points to. Maybe you should check that?
>
> I think it needs at least 20-30 MB, to not run out too soon with
> shm clients, and the more the better. Of course depends quite a lot
> on whether toytoolkit is mainly using shm or EGL buffers. If
> you are still on proprietary drivers, it is definitely shm buffers.

Indeed that was it. I had XDG_RUNTIME_DIR set to /var/lock which only 
has 5M on it. Changing it to /var/tmp makes things work again.

simple-egl still fails but everything else works.

Thanks!




More information about the wayland-devel mailing list