Audacity 4 Alpha 2 Crashes on the Splash-Screen due to Internal Resource Load Failures
- Dominant language
- C++
- Stars
- 18.4k
- Forks
- 2.7k
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 87
Description
### Bug description
The moment after I launch the alpha, the splash screen appears for up to about 3 seconds. While the splash screen is up, I see the process appear in the Background Processes section of Task Manager, till both the splash screen and process disappear together silently. I was able to shrink the log size by about 5 kilobytes by installing microsoft visual studio redist, and also ffmpeg for audacity (which these should be warned as not present if required and not included with A4, it makes user troubleshooting easier, but really they should be automatically included/fetched). I have reinstalled several times, removed all versions of audacity and all audacity AppData for a fresh start, ran as administrator in case there is a permission issue, but the log continues to provide a wall of sadness as it fails to read the needed components.
### Steps to reproduce
Step 1: install the .msi file
Step 2: try to launch the audacity executable
Step 3: observe the splash-screen crash and burn
### Expected behavior
- It should not crash
- I shouldn't have to manually install visual studio redist and ffmpeg for audacity, as audacity 3.7 works without doing this. If the new Qt-based app needs these components to be added by the user, it should tell me so in a dialogue box- but I'm assuming something went wrong during installation and these were meant to be added?
- A crash should not be silent. As-is the app just dies without so much as an error message with an OK button
- The app should be able to read its resource files? It is perplexing to me why it can't. Maybe the fault of my PC's hardware & software combination?
### Actual behavior
- The app crashes without fail
- The .msi appears to not fetch visual studio redist
- Audacity doesn't silently grab ffmpeg, or it isn't included
- Even with these last two solved on my end, the app can't seem to read its resource files
### Audacity Version
4.0.0, build: 253031630
### Operating system
Windows
### Additional context
Installer I used: Audacity-4.0.0.253031630.f3e3e3b.-x86_64.msi (from your website)
OS: Windows 11 25H2 64-bit (installed 2 days ago, fresh)
CPU: Intel Xeon(R) W-2235
Log file: [Audacity_251212_004411.log](https://github.com/user-attachments/files/24124510/Audacity_251212_004411.log)
If it is helpful, the latest audacity 3 release installs flawlessly and works perfectly as far as my experience went, so if the rebuild is meant to function identically in terms of installing and having the needed components, it hasn't for me in this alpha build.
Contributor guide
Research direction
Start by reviewing the attached Audacity log and reproducing the failure from the listed Windows MSI on Windows 11. Trace the startup resource-load failures and compare the installation behavior with Audacity 3.7. Done means the alpha launches successfully or reports missing dependencies and resource errors clearly instead of exiting silently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100