Re-iterate the process. Run valgrind, read the log, search for bugs. Until valgrind run smoothly.
Best On Wed, May 29, 2019, 02:32 adlo <[email protected]> wrote: > On 29 May 2019, at 03:53, Matteo Valdina <[email protected]> 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? > > > https://github.com/adlocode/xfway/blob/9a676ddd9eecc7f8e23915d5c79f57c6368d6fc7/src/main-wayland.c#L276 > > Regards > > adlo >
_______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
