Boost C++ Libraries: Ticket #3493: Boost::Test enters endless loop when running in vserver environment https://svn.boost.org/trac10/ticket/3493 <p> Boost::Test tries to find out if a debugger is attached by iterating through the process tree until ppid 0 is reached. Some vserver kernel emulate the init process in a way that ppid of process 1 is 1. This lets the debugger search function go into an endless loop. </p> <p> Since pid 1 is unlikely to be a debugger, we can safely ignore pid 1 and just quit searching when we reach pid 1 instead of 0. The attached patch implements this. </p> <p> We observed this bug with standard Debian Lenny vserver host running Debian Lenny guest and Centos 5 guest. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3493 Trac 1.4.3 Eduard Hein <eduard_hein@…> Tue, 29 Sep 2009 07:41:35 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3493#comment:1 https://svn.boost.org/trac10/ticket/3493#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">duplicate</span> </li> </ul> <p> note to self: don't tamper with browser history... duplicate of 3495 </p> Ticket