Unfortunately gdb has troubles with the threading library and I'm unable to get a backtrace.
I put in some debug information to track the failing test down:
This is around line 126 in MutexTest.cpp:
Code:
Mutex::TryLock lock2(mutex); std::cerr << "this get's printed\n";
test(lock.tryAcquire() == false); std::cerr << "we never reach this\n";
The return value of pthread_mutex_trylock() in Mutex.h is EDEADLK with the new threading library (it was EBUSY with the old one) which causes the ThreadSyscallException to be thrown.
Sorry again that I can't provide a backtrace but I hope this is information somewhat useful to you.