Compositor crashes when switching tty

adlo adloconwy at
Wed May 29 07:32:00 UTC 2019

> On 29 May 2019, at 03:53, Matteo Valdina <matteo.valdina at> wrote:
> As valgrind pointing out at shell.c line 982
> shell = zalloc (sizeof (shell));
> Here you are allocating the pointer size not the structure size. You probably want type Shell.

This reduces the amount of crashing, but does not completely eliminate it. My compositor still coredumps when switching vt multiple times, especially when also opening and closing windows on my compositor.

What else might I need to do?

Is this code enough to open a basic display on the DRM backend?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the wayland-devel mailing list