diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-06-20 15:01:29 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-06-20 15:01:29 +0000 |
commit | 7c3efef8927e4f010a89159ecfd3d6aff3b0be72 (patch) | |
tree | dc12c5d91d4f75a4b805ed9d9810457ea6c5322e | |
parent | 70ed264f5a5f2436137ebf30d78ee17a29d13bc1 (diff) |
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
-rw-r--r-- | libs/pbd/pbd/abstract_ui.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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 <pbd/abstract_ui.h> #include <pbd/pthread_utils.h> #include <pbd/failed_constructor.h> +#include <pbd/stacktrace.h> #include "i18n.h" @@ -102,6 +103,7 @@ AbstractUI<RequestObject>::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; |