ardour/libs
Robin Gareus e33d131174
Fix deadlock when creating VCAs
VCAManager::create_vca sets PI::order while holding the
VCAManager:lock mutex. PI order changes emit a "changed" signal
which in turn can result in querying a list of all strips
(reassign_track_numbers) which requires the VCA mutex:

See also 729ff35faf

```
#2  Glib::Threads::Mutex::Lock::Lock(Glib::Threads::Mutex&) (this=0x7fffffffb070, mutex=...) at /usr/include/glibmm-2.4/glibmm/threads.h:687
#3  ARDOUR::VCAManager::vcas[abi:cxx11]() const (this=0x5555599b6d10) at ../libs/ardour/vca_manager.cc:77
#4  ARDOUR::Session::get_stripables(std::__cxx11::list<boost::shared_ptr<ARDOUR::Stripable>, std::allocator<boost::shared_ptr<ARDOUR::Stripable> > >&, ARDOUR::PresentationInfo::Flag) const (this=0x55555bf03910, sl=std::__cxx11::list = {...}, fl=127) at ../libs/ardour/session.cc:3949
#5  ARDOUR::Session::ensure_stripable_sort_order() (this=0x55555bf03910) at ../libs/ardour/session.cc:2634
#6  ARDOUR::Session::notify_presentation_info_change(PBD::PropertyChange const&) (this=0x55555bf03910, what_changed=...) at ../libs/ardour/session.cc:7016
[ .. connect same thread ..]
#13 ARDOUR::PresentationInfo::send_static_change(PBD::PropertyChange const&) (what_changed=...) at ../libs/ardour/presentation_info.cc:113
#14 ARDOUR::PresentationInfo::set_order(unsigned int) (this=0x5555619ceca0, order=5) at ../libs/ardour/presentation_info.cc:288
#15 ARDOUR::Stripable::set_presentation_order(unsigned int) (this=0x5555619ce8a0, order=5) at ../libs/ardour/stripable.cc:55
#16 ARDOUR::VCAManager::create_vca(unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
    (this=0x5555599b6d10, howmany=1, name_template="VCA %n") at ../libs/ardour/vca_manager.cc:105
```
2022-03-03 17:43:37 +01:00
..
appleutility wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
ardour Fix deadlock when creating VCAs 2022-03-03 17:43:37 +01:00
ardouralsautil wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
audiographer Amend f322c4ded7, clean up includes, fix visibility 2022-01-28 02:29:11 +01:00
auscan wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
backends wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
canvas Remove 18 month old debug messages 2022-02-01 22:01:41 +01:00
clearlooks-newer wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
evoral smf_source: implement SMF::UsedChannels as a bitset; move midi screening into load_model() 2022-03-01 10:11:14 -06:00
fluidsynth wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
fst wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
gtkmm2ext Replace Glib::Threads with PBD::Thread (2/2) 2022-03-01 01:34:35 +01:00
hidapi wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
libltc wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
lua Add API to modify Lua Metatable and set Metamethods 2022-01-24 06:23:16 +01:00
midi++2 wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
panners wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
pbd Fix BaseUI x-thread signal vs thread-start race 2022-03-02 21:19:12 +01:00
plugins wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
ptformat wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
qm-dsp wscript: improve configure messages slightly 2022-01-22 22:19:07 +01:00
surfaces fix accidental insertion of "x1" 2022-02-09 10:08:01 -07:00
temporal temporal: add some basic BBT time tests 2022-02-21 11:55:44 -07:00
vamp-plugins wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
vamp-pyin wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
vfork wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
vst3 Backport VST3 diagnostic pragma 2021-03-01 22:14:38 +01:00
waveview Replace Glib::Threads with PBD::Thread (1/2) 2022-03-01 01:33:49 +01:00
widgets Dim text rendered with ShadedPlusSign 2022-01-31 01:58:42 +01:00
zita-convolver wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
zita-resampler wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00