'malloc consolidate(): invalid chunk size

When I close the PYQT5 application, it gives the error of

malloc consolidate(): invalid chunk size
Aborted (Core Dumped)

on Linux Ubuntu 20.04. While the application is running, there was no problem. But when I clicked the close (X) button of application, the error occurs.

And sometimes it gives the another error which is

corrupted size  vs. prev_size
Aborted (Core Dumped)

What might be the problem?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source