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
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to