Threading problems in (Win)DBus
Christian Grigis
glove at grigri.org
Sat Jul 7 09:06:30 PDT 2007
Hello again,
Some more info:
I did not have threading properly enabled everywhere in my test before,
so the previous traces are probably irrelevant.
With this fixed, I can no longer reproduce the problem on Linux with
DBUS_VERBOSE=1, but I can with DBUS_VERBOSE=0 and asserts enabled:
-----------%<-------------------%<--------------------------------
6659: assertion failed "!(connection)->have_connection_lock" file
"dbus-connection.c" line 937 function free_pending_call_on_hash_removal
/usr/local/lib/libdbus-1.so.3 [0xb7f0d828]
/usr/local/lib/libdbus-1.so.3 [0xb7f088af]
/usr/local/lib/libdbus-1.so.3 [0xb7efb044]
/usr/local/lib/libdbus-1.so.3 [0xb7ec746c]
/usr/local/lib/libdbus-1.so.3 [0xb7ef8b54]
/usr/local/lib/libdbus-1.so.3 [0xb7ef8b7a]
/usr/local/lib/libdbus-1.so.3 [0xb7ef8d1f]
/usr/local/lib/libdbus-1.so.3 [0xb7ef9e9b]
/usr/local/lib/libdbus-1.so.3 [0xb7ec74fd]
/usr/local/lib/libdbus-1.so.3 [0xb7ec9dbe]
/usr/local/lib/libdbus-1.so.3 [0xb7ec9e52]
/usr/local/lib/libdbus-1.so.3 [0xb7eca1b0]
/usr/local/lib/libdbus-1.so.3(dbus_pending_call_block+0x96)
[0xb7eeac35]
/usr/local/lib/libdbus-1.so.3(dbus_connection_send_with_reply_and_block+0x2bf)
[0xb7eccb98]
/usr/local/lib/libdbus-c++-1.so.0(_ZN4DBus10Connection13send_blockingERNS_7MessageEi+0x5e)
[0xb7f4823e]
/usr/local/lib/libdbus-c++-1.so.0(_ZN4DBus11ObjectProxy14_invoke_methodERNS_11CallMessageE+0x5c)
[0xb7f37ffc]
/usr/local/lib/libdbus-c++-1.so.0(_ZN4DBus14InterfaceProxy13invoke_methodERKNS_11CallMessageE+0x47)
[0xb7f33a27]
./SandBoxDBusPosix [0x804d02c]
./SandBoxDBusPosix [0x804cacf]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xdc) [0xb7c60ebc]
./SandBoxDBusPosix(__gxx_personality_v0+0x69) [0x804a0e1]
Aborted
-----------%<-------------------%<--------------------------------
6687: assertion failed "connection->io_path_acquired" file
"dbus-connection.c" line 1084 function _dbus_connection_release_io_path
/usr/local/lib/libdbus-1.so.3 [0xb7eaf828]
/usr/local/lib/libdbus-1.so.3 [0xb7eaa8af]
/usr/local/lib/libdbus-1.so.3 [0xb7e9d044]
/usr/local/lib/libdbus-1.so.3 [0xb7e69978]
/usr/local/lib/libdbus-1.so.3 [0xb7e6a327]
/usr/local/lib/libdbus-1.so.3(dbus_watch_handle+0x127) [0xb7e99d73]
/usr/local/lib/libdbus-c++-1.so.0(_ZN4DBus5Watch6handleEi+0x27)
[0xb7eede37]
/usr/local/lib/libdbus-c++-1.so.0(_ZN4DBus13BusDispatcher11watch_readyERNS_10EepleWatchE+0x8c)
[0xb7ee2ccc]
/usr/local/lib/libdbus-c++-1.so.0(_ZNK4DBus8CallbackINS_13BusDispatcherEvRNS_10EepleWatchEE4callES3_+0x2e)
[0xb7ee492e]
/usr/local/lib/libdbus-c++-1.so.0(_ZN4DBus13EepleMainLoop8dispatchEv+0x1c3)
[0xb7ee2f83]
/usr/local/lib/libdbus-c++-1.so.0(_ZN4DBus13BusDispatcher12do_iterationEv+0x2e)
[0xb7ee2c2e]
/usr/local/lib/libdbus-c++-1.so.0(_ZN4DBus13BusDispatcher5enterEv+0x38)
[0xb7ee2ad8]
./SandBoxDBusPosix [0x804cb9e]
/lib/i686/cmov/libpthread.so.0 [0xb7bdb31b]
/lib/i686/cmov/libc.so.6(clone+0x5e) [0xb7cbd8ee]
Aborted
-----------%<-------------------%<--------------------------------
6716: assertion failed "!(connection)->have_connection_lock" file
"dbus-connection.c" line 1060 function _dbus_connection_acquire_io_path
/usr/local/lib/libdbus-1.so.3 [0xb7f73828]
/usr/local/lib/libdbus-1.so.3 [0xb7f6e8af]
/usr/local/lib/libdbus-1.so.3 [0xb7f61044]
/usr/local/lib/libdbus-1.so.3 [0xb7f2d865]
/usr/local/lib/libdbus-1.so.3 [0xb7f2e2c0]
/usr/local/lib/libdbus-1.so.3(dbus_watch_handle+0x127) [0xb7f5dd73]
/usr/local/lib/libdbus-c++-1.so.0(_ZN4DBus5Watch6handleEi+0x27)
[0xb7fb1e37]
/usr/local/lib/libdbus-c++-1.so.0(_ZN4DBus13BusDispatcher11watch_readyERNS_10EepleWatchE+0x8c)
[0xb7fa6ccc]
/usr/local/lib/libdbus-c++-1.so.0(_ZNK4DBus8CallbackINS_13BusDispatcherEvRNS_10EepleWatchEE4callES3_+0x2e)
[0xb7fa892e]
/usr/local/lib/libdbus-c++-1.so.0(_ZN4DBus13EepleMainLoop8dispatchEv+0x1c3)
[0xb7fa6f83]
/usr/local/lib/libdbus-c++-1.so.0(_ZN4DBus13BusDispatcher12do_iterationEv+0x2e)
[0xb7fa6c2e]
/usr/local/lib/libdbus-c++-1.so.0(_ZN4DBus13BusDispatcher5enterEv+0x38)
[0xb7fa6ad8]
./SandBoxDBusPosix [0x804cb9e]
/lib/i686/cmov/libpthread.so.0 [0xb7c9f31b]
/lib/i686/cmov/libc.so.6(clone+0x5e) [0xb7d818ee]
Aborted
-----------%<-------------------%<--------------------------------
Thanks!
Best regards,
-Christian
More information about the dbus
mailing list