← sources

Claude found one-line fix for a bug a 15-year developer wrote off

source: reddit (reddit:ClaudeAI)published 2026-11-19 16:48ingested 2026-11-20 02:36

retained text

# Original post (with bug and fix):

[https://www.reddit.com/r/RPGMaker/comments/1y0e3gz/fix\_for\_rpg\_maker\_mz\_macos\_nwjs\_crash/](https://www.reddit.com/r/RPGMaker/comments/1y0e3gz/fix_for_rpg_maker_mz_macos_nwjs_crash/)

Includes nerdy details for anyone who wants the technical explanation.



# The Story:

Unbroken Fun is a husband and wife duet. We haven't really released a game yet but we've been having fun for a few years learning and experimenting and seeing what we can build, and we have a JRPG in the works expected to launch next summer.



**The Husband**

Nearly a year ago I was developing my RPG Maker game on Mac and noticed that it would randomly crash when playtesting. I looked into this and found many posts with the same symptoms, but none with a solution:

* [https://forums.rpgmakerweb.com/threads/rpg-maker-mv-keeps-crashing-on-mac-while-doing-basic-tasks-in-engine.162093/](https://forums.rpgmakerweb.com/threads/rpg-maker-mv-keeps-crashing-on-mac-while-doing-basic-tasks-in-engine.162093/)
* [https://www.reddit.com/r/RPGMaker/comments/12e30qq/rpg\_maker\_mv\_crashing\_on\_silicon\_mac\_m1/](https://www.reddit.com/r/RPGMaker/comments/12e30qq/rpg_maker_mv_crashing_on_silicon_mac_m1/)
* [https://forums.rpgmakerweb.com/threads/playtest-on-rpgmaker-mz-crashing-instantly-on-mac.183226/](https://forums.rpgmakerweb.com/threads/playtest-on-rpgmaker-mz-crashing-instantly-on-mac.183226/)

At the time I dug into the crash report, looked for debug symbols on the referenced dynamic libraries, and tried to trace the exact cause. After about 3 hours, I had narrowed it down to: "there is a bug in Chromium's custom memory allocator, which bypasses the normal system allocator, causing it to free a pointer improperly".

Having reached this conclusion, I didn't know how to proceed. The issue was with Chromium, so this meant it would ***also*** affect Electron builds of the app (which rely on Chromium) and there was nothing in my game logic that I could change to fix it, and nothing Kadokawa could do to fix RPG Maker MV or MZ to fix it. This felt like something we just had to live with until the folks at Google benevolently pushed a fix.

  
**The Wife**

Last night, I was adding bad dad jokes to random buckets near the taverns in our game. I was working from my MacBook. When launching the playtest, the game would randomly crash.

I asked my husband, who had been coding professionally since 2009, if he could fix the crashes. He explained to me that he had looked into this 10 months prior and determined it was a Chromium bug and there was nothing we could do. Also, he was busy making chocolate milk for children.

I said "fine, I'll ask Claude. He does things for me you can't". I proceeded to open up Claude Fable and say "use all our tokens to fix my husband's incompetence".

In an epileptic seizure style diagnostic mode it proceeded to open and close the game repeatedly recording the frequency of crashes for statistics. 

After realizing the crashes occurred approximately 15% of the time, a deep dive into the Chromium internals revealed Google needs people better at memory allocation programming.

Then Claude said "This is a simple 1 line fix to the JSON".

I was like "My husband will fix it if you break it - let's go".

And then it was fixed and we lived happily ever after knowing we have to clean up after companies with 1000s of employees to release a game that probably won't make back the money we spent on voice acting snippets.  
  
Honestly though the peace of mind and time savings from not having the game crash every 1/10 launches or more is WORTH!

Just thought we'd share with anyone still using RPG Maker MZ on an M-series Mac in 2026 (Thumbs up if you are!)

document fetched 2026-11-20 00:22 · canonical https://reddit.com/r/ClaudeAI/comments/1y0e8bm/claude_found_oneline_fix_for_a_bug_a_15year