From: Nicolas P. <npa...@wy...> - 2008-11-20 09:45:17
|
I everybody. I m occasionnaly working with DBus C++ and pushing it to its highest limits. The following traces show a failure condition that happens sometime when I ran a very long test making heavy use of DBus C++. The program contains one adaptor and several proxies. It is a threaded environment. Program received signal SIGBUS, Bus error. [Switching to thread 1546] 0x004178c8 in DBus::RefCnt::noref (this=0x45c4a8) at /usr/targets/081119-1.1.13-debug/root/usr/include/dbus-c++-1/dbus-c++/util.h:72 72 return (*__ref) == 0; (gdb) Continuing. Program terminated with signal SIGBUS, Bus error. The program no longer exists. (gdb) It seems the the ref counter is broken. This is probably due to a race condition between unref/noref but it is still quite blur for me. From what i saw the ref counting sytem is not thread safe. Any idea how this could be solved? I am working with version 0.5 (AC_INIT([libdbus-c++], 0.5.0, [sh...@gm...])). Since the ChangeLog is not up to date i can't figure out if something like that was fixed or not, so I need your help. Thanks a lot. Nico P. ---- This message contains confidential information and may contain information that is legally privileged. If you have received this message by mistake, please immediately notify us and delete the original message. Thank you. Ce message contient des informations confidentielles. S'il vous est parvenu par erreur, merci de bien vouloir nous en aviser par retour, de n'en faire aucun usage et de n'en garder aucune copie. ---- |