(gdb) thread apply all bt
Thread 7 (Thread 1124096336 (LWP 27917)):
#0 0x00002b3643303626 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00002b3642fa38e9 in paludis::Implementation<paludis::ActionQueue>::thread_func (this=0x2aaaac2a1520) at action_queue.cc:64
#2 0x00002b3642fcc3ed in paludis::Thread::thread_func (r=<value optimized out>) at thread.cc:52
#3 0x00002b36432ff0d5 in start_thread () from /lib/libpthread.so.0
#4 0x00002b3643a672ed in clone () from /lib/libc.so.6
Thread 6 (Thread 1115703632 (LWP 27916)):
#0 0x00002b3643303626 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00002b3642fa38e9 in paludis::Implementation<paludis::ActionQueue>::thread_func (this=0x2aaaac2a1520) at action_queue.cc:64
#2 0x00002b3642fcc3ed in paludis::Thread::thread_func (r=<value optimized out>) at thread.cc:52
#3 0x00002b36432ff0d5 in start_thread () from /lib/libpthread.so.0
#4 0x00002b3643a672ed in clone () from /lib/libc.so.6
Thread 5 (Thread 1107310928 (LWP 27915)):
#0 0x00002b3643303626 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00002b3642fa38e9 in paludis::Implementation<paludis::ActionQueue>::thread_func (this=0x2aaaac2a1520) at action_queue.cc:64
#2 0x00002b3642fcc3ed in paludis::Thread::thread_func (r=<value optimized out>) at thread.cc:52
#3 0x00002b36432ff0d5 in start_thread () from /lib/libpthread.so.0
#4 0x00002b3643a672ed in clone () from /lib/libc.so.6
Thread 4 (Thread 1098918224 (LWP 27914)):
#0 0x00002b3643303626 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00002b3642fa38e9 in paludis::Implementation<paludis::ActionQueue>::thread_func (this=0x2aaaac2a1520) at action_queue.cc:64
#2 0x00002b3642fcc3ed in paludis::Thread::thread_func (r=<value optimized out>) at thread.cc:52
#3 0x00002b36432ff0d5 in start_thread () from /lib/libpthread.so.0
#4 0x00002b3643a672ed in clone () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
Thread 3 (Thread 1090525520 (LWP 27913)):
#0 0x00002b3643303626 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00002b3642fa38e9 in paludis::Implementation<paludis::ActionQueue>::thread_func (this=0x2aaaac2a1520) at action_queue.cc:64
#2 0x00002b3642fcc3ed in paludis::Thread::thread_func (r=<value optimized out>) at thread.cc:52
#3 0x00002b36432ff0d5 in start_thread () from /lib/libpthread.so.0
#4 0x00002b3643a672ed in clone () from /lib/libc.so.6
Thread 2 (Thread 1082132816 (LWP 27892)):
#0 0x00002b3643303626 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00002b3642fa38e9 in paludis::Implementation<paludis::ActionQueue>::thread_func (this=0x5d22f0) at action_queue.cc:64
#2 0x00002b3642fcc3ed in paludis::Thread::thread_func (r=<value optimized out>) at thread.cc:52
#3 0x00002b36432ff0d5 in start_thread () from /lib/libpthread.so.0
#4 0x00002b3643a672ed in clone () from /lib/libc.so.6
Thread 1 (Thread 47512064791472 (LWP 27888)):
#0 0x00002b36433068b0 in wait () from /lib/libpthread.so.0
#1 0x00002b3642fc9590 in paludis::run_command (cmd=@0x7fff683de920) at system.cc:354
#2 0x00002b3642c35c98 in (anonymous namespace)::BashHookFile::run (this=0x2aaab0a152c0, hook=@0x7fff683dfaf0) at hooker.cc:178
#3 0x00002b3642c39177 in paludis::Hooker::perform_hook (this=0x2aaab87d0300, hook=@0x7fff683dfaf0) at hooker.cc:526
#4 0x00002aaaaab07648 in paludis::PaludisEnvironment::perform_hook (this=0x5dfc10, hook=@0x7fff683dfaf0) at paludis_environment.cc:290
#5 0x00002b3642803acf in paludis::InstallTask::perform_hook (this=<value optimized out>, hook=@0x7fff683dfaf0) at install_task.cc:607
#6 0x00000000004507ed in (anonymous namespace)::OurInstallTask::perform_hook (this=0x7fff683e0ff0, hook=@0x7fff683e0290) at install.cc:249
#7 0x00002b364280922d in paludis::InstallTask::execute (this=0x7fff683e0ff0) at install_task.cc:336
#8 0x000000000044afd1 in do_install (env=@0x7fff683e1770) at install.cc:567
#9 0x0000000000469b61 in main (argc=<value optimized out>, argv=0x7fff683e20e8) at paludis.cc:379