id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3481,Boost Testing doesn't work under Sun Solaris Containers,ranko.veselinovic@…,Gennadiy Rozental,"In the function under_debugger() (debug.ipp) the terminating condition for the while loop is pid != 0, which is for a normal solaris installation correct. But under a container the init-pid is zsched, which doesn't have the pid==1 and the ppid==0. So you have to test for ppid == pid. The following patch should fix the problem. $ diff -Nru boost/test/impl/debug.ipp.orig boost/test/impl/debug.ipp --- boost/test/impl/debug.ipp.orig 2009-09-21 15:36:06.442325869 +0200 +++ boost/test/impl/debug.ipp 2009-09-21 15:36:39.606341269 +0200 @@ -653,7 +653,7 @@ if( dbg_list.find( pi.binary_name() ) != const_string::npos ) return true; - pid = pi.parent_pid(); + pid = (pi.parent_pid() == pid ? 0 : pi.parent_pid()); } return false; Regards Ranko ",Bugs,closed,Boost 1.59.0,test,Boost 1.40.0,Showstopper,fixed,,