I'm a very simple program and it crash (with an assert) when i run it.
- g++ 4.1.2
- dbus version 1.0.0
10501: assertion failed "(functions->mask & ~DBUS_THREAD_FUNCTIONS_ALL_MASK) ==
0" file "dbus-threads.c" line 606 function dbus_threads_init
I think, I found the error : the value of DBUS_THREAD_FUNCTIONS_ALL_MASK on file
dbus/dbus-threads.h. Currently its value is (1 << 13) - 1 and I think, it is
wrong and it woud be (1 << 14) - 1.
changing the threads test to use the default threads instead of the debug
threads as this is a more realworld test.
fixed with testcase. Commited to HEAD and DBUS_1_0
The only trick there is that the debug threads stuff barfs on recursive thread
locking, and I was trying to keep things working without recursive locks...
I think it might be good to have a more thread-specific little test program,
too, just verifying the basic behavior of the thread primitives.