To reproduce the crash:
- Create an empty file, e.g. "test.aln".
- Open another alignment, e.g. "sub.aln".
- Select "Align > Align sequences to profile with MUSCLE" or "Align > Align profile to profile with MUSCLE" in the context menu.
- Select the empty file in the profile browsing dialog.
=> Crash occurs.
Automatic tests for both cases are required.