libxd icon indicating copy to clipboard operation
libxd copied to clipboard

Segmentation fault

Open zslwyuan opened this issue 3 years ago • 0 comments

Thanks, @bernhardfritz for your excellent work!

I recent encounter problems when trying the examples. The canvas works fine but when I exit the window, there will be a segmentation fault. When I debug with GDB, it seems the problem is related to the destructor function of the classes, such as ~Texture(). I am not sure how to deal with these situations. Do you have any advice?

Example:

~/Downloads/test/libxd/build$ ./examples/image/sketch 
Segmentation fault (core dumped)

zslwyuan avatar Oct 20 '22 06:10 zslwyuan