patman based project without valid patch: will crash
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 1.3k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 7
Description
If a project is linked to a missing patch file; it terminates LMMS when it is just about to play that first note.
Ways to reproduce:
1. create project with valid pat with some notes
2. Save the mmpz file.
3. Rename, delete, unlink or move away that patch file.
4. Play the project.
Another way:
1. `touch xyz.pat` (create a random, invalid pat file, without its headers).
2. Load that .pat into the instrument.
It terminates the application.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the crash with a project whose pat file was moved or deleted, and with an invalid xyz.pat created using touch. Trace the patman loading and first-note playback path; done means LMMS remains running for both missing and invalid patch files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100