A subtle crash

Recently we had a high volume crash in Sourcetree with a limited user count. Roughly 4 crashes a week per user in an onscreen notifications helper.

The posting object was alive along with all parameters. The code hadn’t changed in years. What could be the culprit?

After much staring and noodling (no pun intended) I realized that Asiatic languages reordered parameters without positional notation. Hint: 0x000008 means your integer was read via %@ in a format string.

#DebuggingStories

Brian Ganninger @bgannin