From 7c3efef8927e4f010a89159ecfd3d6aff3b0be72 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 20 Jun 2012 15:01:29 +0000 Subject: [PATCH] print out a stacktrace if there is no room to send a request to the UI thread git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12797 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/pbd/pbd/abstract_ui.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/pbd/pbd/abstract_ui.cc b/libs/pbd/pbd/abstract_ui.cc index 02b5a234f2..132343682e 100644 --- a/libs/pbd/pbd/abstract_ui.cc +++ b/libs/pbd/pbd/abstract_ui.cc @@ -4,6 +4,7 @@ #include #include #include +#include #include "i18n.h" @@ -102,6 +103,7 @@ AbstractUI::get_request (RequestType rt) if (vec.len[1] == 0) { cerr << string_compose ("no space in %1-UI request buffer for thread %2", name(), pthread_name()) << endl; + PBD::stacktrace (std::cerr, 20); return 0; } else { vec.buf[1]->type = rt;