It works fine on Windows but when I try to compile under Debian 10 x64 i get:
malloc(): invalid size (unsorted)
I could put in some print statement to find the culprit but I would like to take this opportunity to learn something new.
Is there a better way to debug this?
It's not a small game either.
I compile with: fbc -w all -exx
All my other smaller games compile successfully tough.