Compositor crashes when switching tty

adlo adloconwy at gmail.com
Tue May 28 07:26:52 UTC 2019


When switching tty, my compositor crashes with error messages such as

free (): invalid size Aborted (core dumped) 
or 
malloc (): invalid chunk size

when running on the DRM backend.

Here is my code:

https://github.com/adlocode/xfway/blob/master/src/main-wayland.c

https://github.com/adlocode/xfway/blob/master/src/main-wayland.c#L276

Interestingly, this issue first seemed to present itself in the last few commits when I added my desktop shell client, but as I think this still happens when removing this code, somehow I'm not sure that that actually caused it:

https://github.com/adlocode/xfway/blob/master/src/shell.c#L989

How can I resolve this issue?

Regards

adlo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20190528/0b78b005/attachment.html>


More information about the wayland-devel mailing list