You are viewing a single thread.
View all comments View context
4 points

Do you think address or thread sanitizer would have been able to catch this? It sounds like it would.

permalink
report
parent
reply
4 points

Hm… not sure it would have. Something simple like overwriting freed memory with an identifiable pattern wouldn’t have helped, because by the time the crash happened, the actor’s memory had been reallocated and was being used for something else.

This was on the Wii, which had some pretty bare-bones development tools, so it wouldn’t have been real easy to try to use something like valgrind to do more sophisticated memory debugging or anything. It was basically single-threaded, too, BTW (I think audio and input were based on interrupt handlers), and I made it more so with the repeatable build.

permalink
report
parent
reply

Game Development

!gamedev@programming.dev

Create post

Welcome to the game development community! This is a place to talk about and post anything related to the field of game development.

Community Wiki

Community stats

  • 231

    Monthly active users

  • 332

    Posts

  • 920

    Comments