malloc_consolidate(): unaligned fastbin chunk detected
-
@aha_1980
Sorry, first of all I have a Linux system, the version of qt is 5.19, I created a small project and it is correct. Now that this problem occurs, I suspect that I may have implemented a singleton mode (created a local static variable) and called "instance" from outside. But I am not sure where is the problem -
Hi @JoseLpd,
the version of qt is 5.19
Really? The latest one is 5.15.x...
Now that this problem occurs, I suspect that I may have implemented a singleton mode (created a local static variable) and called "instance" from outside. But I am not sure where is the problem
If it works with a minimal project, but not with your full app, then you can either remove functions from your full app, or integrate more functions into the minimal app until you see that problem.
You can also try to run your app in valgrind, that often gives good hints what's going wrong with the memory.
Regards
-