Boost Testing :
From: Boris Gubenko (Boris.Gubenko_at_[hidden])
Date: 2007-11-29 18:29:35
This is what I got so far:
<http://tinyurl.com/32exwz> describes condition_test failure. The
test fails the same way on Tru64 and HP-UX: it hangs on the call to
pthread_cond_wait() function in interprocess_mutex::lock() function
in boost/interprocess/sync/posix/interprocess_mutex.hpp. I verified
it with the debugger on both systems and, also, by adding some
diagnostics to the source. Eventually, the test gets killed by bjam:
the -lx option.
inline void interprocess_mutex::lock()
int res = 0;
res = pthread_mutex_lock(&m_mut);
assert(res == 0);
res = pthread_cond_wait(&m_cond, &m_mut); <<<< hangs
assert(res == 0);
I did not spend any time investigating the hang because I figured
you may just know what might be causing it and why only these two
Unix systems are affected (some configuration problem?) The compiler
does not seem to be the factor: it is gcc on HP-UX and cxx on Tru64
(cxx is EDG-based compiler).
Please let me know how you want to proceed. If it is unclear to you
what might be causing the hang, I'll investigate and report back.
----- Original Message -----
From: "Ion Gaztañaga" <igaztanaga_at_[hidden]>
To: <boost_at_[hidden]>; "Boost Testing List"
Sent: Monday, November 12, 2007 3:25 PM
Subject: [Boost-testing] [interprocess] HP-UX_ia64_gcc test failing due
> Interprocess tests for HP-UX_ia64_gcc are failing with the following
> error (http://tinyurl.com/yop39r):
> Run [2007-11-12 04:56:15 UTC]: fail
> terminate called after throwing an instance of
> what(): Permission denied
> I think this means that the tests have no permission to create shared
> memory segment (or maybe memory mapped files?). I would be really
> grateful if the tester could give some additional information so I can
> solve the issue.
> Boost-Testing mailing list