There's no place like 127.0.0.1.

Debugging an Audacity Crash on Windows: From Bluetooth Headset to Open Source Bug Report

A few weeks ago, Audacity 4.0.0 started crashing on my Windows machine.

Not occasionally. Not after doing something weird inside the application.

It crashed every single time I launched it while my Philips TAH6509 Bluetooth headset was connected.

Turn the headset off, Audacity starts normally.

Turn it on, launch Audacity, wait a few seconds, crash.

That was enough to make me curious.

Instead of just working around the problem, I decided to find out what was actually happening.