Open josephgarnier opened 4 years ago
@josephgarnier If this is still a problem you're running into, could you please attach the complete source code of the program you're using to reproduce this issue?
Tiled repository has numerous applications that are loading maps and I'm not aware of any of them crashing on exit. Having a complete example should help to quickly find out what's causing this.
My code is inside a big project but ok I quite understand. I'll create a new project and prepare a use case for you 👍
TiledMap Editor work very nice, but I get an Segmentation fault when I work with libtiled library to read a tmx file for my personnal project. Until now I was working with version 1.0.3 and it worked fine, but when I upgraded to version 1.3.4 then 1.3.5, I got the error. The map can be loaded but seg fault happens when I quit the application, so when the QMainWindow destructor is called.
To fix it, without success, I try with a very simple map (with one layer, one tileset with one brush) and I just put this code in a QMainWindow :
Error:
Call Stack:
My config: