From 7b7f17085b0ac248b756fa8da141437f218e4b26 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 22 Jun 2022 22:22:52 +0200 Subject: [PATCH] Fix crash when using get_all_equivalent_regions wih VCAs in a session --- gtk2_ardour/editor_selection.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index 085cdfbadf..63a398d5dd 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -547,6 +547,11 @@ Editor::mapover_all_tracks_with_unique_playlists (sigc::slot (*i); + if (!v) { + /* Ignore VCAs */ + continue; + } + boost::shared_ptr t = v->track(); if (t) { if (playlists.insert (t->playlist()).second) {