id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 4484,bug in boost.thread on freebsd 8.0,shubin_evgeniy@…,Anthony Williams,"I use boost1.43 on FreeBSD 8.0-RELEASE-p3 amd64, installed from ports. Here is a simple program that causes an assertion: Assertion failed: (!pthread_cond_wait(&cond,m.mutex()->native_handle())), function wait, file ./boost/thread/pthread/condition_variable.hpp, line 20. during execution. {{{ #include #include using namespace std; void ThreadFun(int number) { sleep(5); } int main(int argc, char** argv) { if (argc > 1) { pid_t pid = fork(); if (pid < 0) { return EXIT_FAILURE; } else if (pid > 0) { return EXIT_SUCCESS; } } boost::thread th1(boost::bind(&ThreadFun, 1)); th1.join(); return EXIT_SUCCESS; } }}} Error occurs only when I execute program with command line arguments(when the process forks) and only on freebsd 8.0 (on ubuntu 10.04 x64 and on freebsd 7.3 amd 64 it works correct).",Bugs,closed,Boost 1.44.0,thread,Boost 1.43.0,Regression,invalid,thread freebsd,viboes