13
0
livetrax/libs
Robin Gareus 3b9a253a84 Bind weak pointers to rt_slot events
This fixes a crash when deleting routes, while there are still
automation events queued for the route.

Specifically, SoloControl has a reference Soloable& _soloable; which
points to the parent route. A rt-event can still hold a valid shared
pointer to the SoloControl, even if the route is destroyed.
Calling SoloControl::actually_set_value is fine (the control still
exists due to the shared ptr), but then checking the parent route:
```
if (_soloable.is_safe() || !can_solo())
```
accesses the already deleted route, which causes a crash.

The solution implemented here is to not bind a shared_ptr to the
realtime event. However, since deletion of the route happens in the main
UI thread, there may or may not still be a race.
2022-12-16 00:12:48 +01:00
..
appleutility
ardour Bind weak pointers to rt_slot events 2022-12-16 00:12:48 +01:00
ardouralsautil
audiographer std::iterator is deprecated in C++17, use bidirectional_iterator_tag 2022-11-22 19:49:41 +01:00
auscan
backends ALSA: use dedicated device reservation for probing 2022-11-29 17:34:45 +01:00
canvas canvas: provide a means of blocking change notifications from Item propagating up the object tree 2022-12-10 13:37:16 -07:00
clearlooks-newer
ctrl-interface ctrl surfaces: add method to BasicUI to stop slots in a given trigger box 2022-12-10 10:33:24 -07:00
evoral Convert SMF track names to UTF-8 2022-12-15 00:30:18 +01:00
fluidsynth
fst Consolidate search/file-system paths (fixes vst builds) 2022-11-19 00:48:11 +01:00
gtkmm2ext Attempted fix for idle_drop_window random crashes (2/2) 2022-12-03 19:27:53 +01:00
hidapi
libltc
lua
midi++2
panners Surfaces and panners should not export headers 2022-11-19 01:11:53 +01:00
pbd Fix unused computed values 2022-12-11 11:54:03 -05:00
plugins
ptformat
qm-dsp Address some Wmissing-prototypes in qm-dsp 2022-11-26 16:23:52 +01:00
surfaces FP8: do not reset fader to unity on re-selecting 2022-12-13 18:01:27 +01:00
temporal temporal: fix ::get_grid() crash condition 2022-12-10 22:59:58 -07:00
vamp-plugins
vamp-pyin
vfork
vst3
waveview Remove cruft (unused CANVAS_COMPATIBILITY - 2/3) 2022-11-19 21:49:15 +01:00
widgets
zita-convolver
zita-resampler