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

darxus at chaosreigns.com darxus at chaosreigns.com
Sat Dec 8 14:52:46 PST 2012


On 12/08, Bill Spitzak wrote:
> 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.

Is there a way to get a better error message for that?  Or maybe throw a
warning at startup?

-- 
"If you would be a real seeker after truth, it is necessary that at
least once in your life you doubt, as far as possible, all things."
- Rene Descartes
http://www.ChaosReigns.com


More information about the wayland-devel mailing list