The Flagship http://ardour.org
Go to file
Robin Gareus 58641d2a35
Fix crash when session-load fails while creating Routes
When loading the state of a Route fails (here
"unknown enumerator SurroundMaster in PBD::EnumWriter"), the
routes which have already been loaded are not added to the
Session's routelist.

Already existing routes that have an InternalSend or have
a circular reference:

The Send's `_send_from` holds a shared pointer
`<Route>(shared_from_this())` to the Route, and the
Route's ProcessorList contains the InternalSend.

This leads to various
"SessionHandleRef exists across session deletion" of
IO, Ports, GraphNode, Graph, etc
which causes issues when loading another session.

Session::destroy() cleans calls drop_references for
each route in the RouteList, which breaks the circular
dependency (InternalSend drops reference to Route).
But here the RouteList is empty.

Crash fixed:
 * Load a session that fails to load a Route
  (here a session created on with the vapor branch, on master)
 * Then load another session without restarting Ardour.
2024-01-06 04:19:24 +01:00
doc short doc on drawing cairo single pixel lines 2023-07-17 16:46:54 -06:00
gtk2_ardour Tweak translatable strings 2023-12-17 20:58:11 +01:00
headless wscript: drop str() on VERSION 2023-10-15 10:47:16 -06:00
libs Fix crash when session-load fails while creating Routes 2024-01-06 04:19:24 +01:00
luasession wscript: sanitize strings from fetch_*_revision_date early instead of applying str() all over 2023-10-15 10:47:16 -06:00
msvc_extra_headers
MSVCardour3 remove midi_scroomer.h from MSVC project file 2023-09-10 18:20:35 -06:00
MSVCMixbus3
MSVCvst_scan
session_utils AAF Import CLI: fix media location, use new libAAF API 2023-12-26 14:36:44 +01:00
share Add Lua script to reverse MIDI 2023-12-12 18:14:36 +01:00
tools Prepare libAAF update 2023-12-26 14:34:11 +01:00
.dir-locals.el
.gitattributes
.gitignore Ignore clangd cached index files 2023-12-13 19:12:30 +01:00
ardour.1 Update tracker/reference URLs to prefer HTTPs 2022-10-24 04:59:20 +02:00
COPYING add plugin clarification to COPYING 2023-04-26 13:28:29 -06:00
nutempo-todo
PACKAGER_README
README
README-GITHUB.txt Update tracker/reference URLs to prefer HTTPs 2022-10-24 04:59:20 +02:00
system_config
TRANSLATORS Update translation howto 2023-09-24 19:58:25 +02:00
waf upgrade waf to 2.0.26 (includes new autowaf.py version) 2023-09-23 12:09:52 -06:00
wscript Compile and install libAAF 2023-11-27 23:25:04 +01:00

Please see the Ardour web site at https://ardour.org/ for all documentation..

For information on building ardour: 
      
     https://ardour.org/development.html