Now, atk-adaptor called dbus_connection_send_with_reply_and_block to register itself. This could cause deadlock if the application is gnome-session. When gnome-session is trying to register itself, at-spi2-registryd is also calling gnome-session through D-Bus for session management. But since gnome-session is blocked by dbus_connection_send_with_reply_and_block, deadlock happened.
The fix should avoid the "block" call.
Created attachment 34995 [details]
I didn't use the reentry function in dbind because:
1. atk-adaptor is not link to dbind now.
2. warning messages may need to be printed during demarshal
This looks fine.
It looks like this patch has already been applied to the code a couple months ago. Can this be closed?
Yes, I think so.
(In reply to comment #5)
> Yes, I think so.
Yes; this is committed. Closing.