I don't even know how to describe this error, but I need urgent help please!
My application has a series of menus with games selection, right now, there's only 2 games available which I'll call game A and game B for now. If I start game B on the list, play it, then go back to the main menu and play game A, it crashes right after I select the difficulty level. It doesn't crash if it's the first game to be played. It also doesn't crash if I play game A first when I start the application, then play game B and then play again game A, only in the previous situation. I'm using ncurses and coding on Linux.
Here's the error:
I can't really post any code cause the whole code is very large at the moment and that is not even a specific error and I don't know where to start debugging... Any hints trying to find where the error is are very appreciated.