Skip to content

patman based project without valid patch: will crash #8163

@anytizer

Description

@anytizer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions