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.
Best
Matteo
On Tue, May 28, 2019 at 9:36 PM adlo wrote:
> On Tue, 2019-05-28 at 13:38 -0400, Adam Jackson wrote:
> > On
On Tue, 2019-05-28 at 13:38 -0400, Adam Jackson wrote:
> On Tue, 2019-05-28 at 08:26 +0100, adlo wrote:
> > When switching tty, my compositor crashes with error messages such
> > as
> >
> > free (): invalid size Aborted (core dumped)
> > or
> > malloc (): invalid chunk size
>
> This means somet
On Tue, 2019-05-28 at 08:26 +0100, adlo wrote:
> When switching tty, my compositor crashes with error messages such as
>
> free (): invalid size Aborted (core dumped)
> or
> malloc (): invalid chunk size
This means something is corrupting the malloc arena metadata. Run your
compositor under val
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/xf