sysprog21 / mado

A window system for resource-constrained devices
MIT License
40 stars 15 forks source link

Double free or corruption error when running demo-fbdev #75

Open p96114175 opened 4 hours ago

p96114175 commented 4 hours ago

When I attempt to run the demo-fbdev binary on my Raspberry Pi, the program crashes with a double free or corruption (fasttop) error. Below is the output from the terminal:

$ sudo ./demo-fbdev 
22:21:32 INFO  backend/fbdev.c:199: Environment variable $FRAMEBUFFER not set, use /dev/fb0 by default
double free or corruption (fasttop)
Aborted

Steps to Reproduce

Step 1: Run the command:

make clean config

Step 2: Navigate to Demo Applications.

image

Step 3: Enable the Build spline demo option and save the configuration.

image image

Step 4: Run the following command:

sudo ./demo-fbdev

Step 5: Follow the mouse movement shown in the linked video by continuously moving the mouse to the far left, right, or front. This will reproduce the issue.

Video for illustrating

jserv commented 4 hours ago

You can try to get the backtrace via GDB. See