From b82900858ffeb93021e7e31373857cca3a010496 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 13 Nov 2022 02:55:15 +0100 Subject: [PATCH] Do not limit stack-size when freezing tracks This fixes an issue with plugin state save/restore. Some require excessive stack to do that (looking at you b.oops.lv2). The main GUI thread has no stack limit, so this is only an issue when calling state save/restore from background threads. --- gtk2_ardour/editor_ops.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 6686bb70cb..fd19b53478 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -4116,7 +4116,7 @@ Editor::freeze_route () InterthreadProgressWindow ipw (current_interthread_info, _("Freeze"), _("Cancel Freeze")); - pthread_create_and_store (X_("freezer"), &itt.thread, _freeze_thread, this); + pthread_create_and_store (X_("freezer"), &itt.thread, _freeze_thread, this, 0); CursorContext::Handle cursor_ctx = CursorContext::create(*this, _cursors->wait);