LMMS / LMMS/lmms

Crash when ctrl-dragging VST track with more than one clip to pattern editor

Open
#8,496 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
10.4k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
7

Description

### System Information

Windows 10

### LMMS Version(s)

Version 1.3.0-alpha.1.1021+795d39d (win32/x86_64, Qt 5.15.18, GCC 15.2.0)

### Most Recent Working Version

_No response_

### Bug Summary

When ctrl-dragging a Vestige track loaded with a VST from the song editor to the pattern editor, LMMS will crash if that track has more than one clip in it.

### Expected Behaviour

LMMS should not crash.

### Steps To Reproduce

- Create a Vestige track in the song editor
- Load a VST into it
- Add two or more clips to it
- Ctrl-drag the track to the pattern editor

### Logs

_No response_

### Screenshots / Minimum Reproducible Project

_No response_

### Please search the issue tracker for existing bug reports before submitting your own.

- [x] I have searched all existing issues and confirmed that this is not a duplicate.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the crash in LMMS by loading a VST into a Vestige track, adding multiple clips, and ctrl-dragging it from the song editor to the pattern editor. Trace the drag-handling path between those editors; done means the same action no longer crashes when the track contains more than one clip.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.