Silent exit on windows, heap corruption error
-
Hi all, I could use some help.
The project is python3.9 / pyside6 based running on windows, quite a busy application with alot of moving parts on screen and several qthreads maintaining some if the dynamic parts.
We get a heap corruption error seemingly at random, the app will run for days without issues but sometimes will exit 10 times in one day of development. There is no stack trace, it's a low level exit somewhere in the underlying c++, I believe.
The error: Windows fatal exception: code 0xc0000374
Running with python's faulthandler enabled we see that all the qthreads are often asleep, only qt's run() is actually doing anything which makes me think that the error occurs within qt code. We may have made something that's causes a corruption or access after free situation.
How should I start? Any guidance would be amazing.
Thanks
-
Hi and welcome to devnet,
You would likely need to go the hard way and build PySide6 yourself in debug mode so you may retrieve more information.
-