View Single Post
Old July 20, 2017, 04:59   #6
Join Date: May 2017
Location: Russia
Posts: 26
AndreyB is on a distinguished road
Anyway. I showed what (I think) was causing the crash. I don't know the codebase well enough to suggest a correct way to fix this. The only fix I came up with will probably cause weird graphical glitches, will definitely leak memory and might even cause more crashes. I did all I could for this bug.
I like valgrind. it's the biggest timesaver people invented since the invention of the wheel.
UBSan&ASan are even better (no noticeable initialization delay on my machine).
I'm now playing with it on. WARNING: with UBSan&ASan panic saves don't seam to work.
AndreyB is offline   Reply With Quote