Add detection for corrupt MMPZ files
Posted: Tue Feb 27, 2024 9:10 pm
by Jim
Proposal
When opening a project, LMMS should be able to detect errors in project files without crashing or hanging. Upon detecting a corrupt MMPZ file, LMMS should report the bad file and -- after the user has acknowledged the problem -- open a new default project.
Background
I recently spent lots of time on this issue. LMMS crashed while saving a project file and, in the process, corrupted the MMPZ file it was saving. I had previously configured LMMS to automatically open the most recent project at startup, so whenever I subsequently tried to run LMMS, it would choke on the corrupt MMPZ file and hang. LMMS offered no clues about why it would not start normally.
Re: Add detection for corrupt MMPZ files
Posted: Wed Feb 28, 2024 6:01 pm
by musikbear
Jim wrote: ↑Tue Feb 27, 2024 9:10 pm
Proposal
When opening a project, LMMS should be able to detect errors in project files without crashing or hanging. Upon detecting a corrupt MMPZ file, LMMS should report the bad file and -- after the user has acknowledged the problem -- open a new default project.
Background
I recently spent lots of time on this issue. LMMS crashed while saving a project file and, in the process, corrupted the MMPZ file it was saving. I had previously configured LMMS to automatically open the most recent project at startup, so whenever I subsequently tried to run LMMS, it would choke on the corrupt MMPZ file and hang. LMMS offered no clues about why it would not start normally.
Agree, will make a hub-ticket for the issue.
Re: Add detection for corrupt MMPZ files
Posted: Fri Sep 05, 2025 3:39 am
by acoustic_deepu
Jim wrote: ↑Tue Feb 27, 2024 9:10 pm
Proposal
When opening a project, LMMS should be able to detect errors in project files without crashing or hanging. Upon detecting a corrupt MMPZ file, LMMS should report the bad file and -- after the user has acknowledged the problem -- open a new default project.
Background
I recently spent lots of time on this issue. LMMS crashed while saving a project file and, in the process, corrupted the MMPZ file it was saving. I had previously configured LMMS to automatically open the most recent project at startup, so whenever I subsequently tried to run LMMS, it would choke on the corrupt MMPZ file and hang. LMMS offered no clues about why it would not start normally.
Re: Add detection for corrupt MMPZ files
Posted: Fri Sep 05, 2025 4:19 pm
by musikbear
Your post only contain the quotes. Do you have a question?