diff --git a/libs/pbd/pool.cc b/libs/pbd/pool.cc index 28981c5dd2..8f6b030a4b 100644 --- a/libs/pbd/pool.cc +++ b/libs/pbd/pool.cc @@ -25,7 +25,7 @@ #include "pbd/pool.h" #include "pbd/pthread_utils.h" -#include "pbd/stacktrace.h" + #include "pbd/error.h" #include "pbd/debug.h" #include "pbd/compose.h" @@ -184,8 +184,7 @@ PerThreadPool::per_thread_pool () { CrossThreadPool* p = _key.get(); if (!p) { - PBD::stacktrace(std::cout, 100); - fatal << "programming error: no per-thread pool \"" << _name << "\" for thread " << pthread_name() << endmsg; + fatal << "programming error: no per-thread pool \"" << _name << "\" for thread " << pthread_name() << endmsg; /*NOTREACHED*/ } return p;