4db1c02bd1a0e4da9efd725cd8fb098ba7c4abe5
Region positions were updated in the GUI, before the playlist was catching up. The butler thread reads a region using the region's new position, but the playlist's old range. Thread 1 (GUI) ``` #22 ARDOUR::Playlist::notify_layering_changed() #26 ARDOUR::AudioPlaylist::region_changed #27 ARDOUR::Playlist::region_changed_proxy #35 ARDOUR::Region::send_change #36 ARDOUR::Region::set_position #37 RegionRippleDrag::remove_unselected_from_views #38 RegionRippleDrag::finished ``` LayeringChanged() also triggers DiskIOProcessor::playlist_modified which schedules a pending-override and summons the butler. Note that when moving only a few regions the butler starts after all updates have been completed. Butler thread: ``` #4 ARDOUR::AudioRegion::read_at #5 ARDOUR::AudioPlaylist::read #6 ARDOUR::DiskReader::audio_read #7 ARDOUR::DiskReader::overwrite_existing_audio #8 ARDOUR::DiskReader::overwrite_existing_buffers #9 ARDOUR::Track::overwrite_existing_buffers #10 ARDOUR::Session::non_realtime_overwrite ``` Region read fails: ``` libs/ardour/audioregion.cc:503 assert (position >= _position); (gdb) p position $1 = 1312000 (gdb) p _position $2 = {<PBD::PropertyTemplate<long>> = {_have_old = true, _current = 1336000, _old = 1312000} } ```
Please see the Ardour web site at https://ardour.org/ for all documentation..
For information on building ardour:
https://ardour.org/development.html
Description
Languages
C++
56.5%
C
39.6%
JavaScript
1.3%
Lua
0.9%
Python
0.6%
Other
0.9%