--- dbus-1.2.16/dbus/dbus-connection.c.orig	2009-07-14 20:40:31.000000000 +0100
+++ dbus-1.2.16/dbus/dbus-connection.c	2011-03-14 15:30:34.164138747 +0000
@@ -3228,6 +3228,8 @@ dbus_connection_send_with_reply (DBusCon
 
    if (!_dbus_connection_get_is_connected_unlocked (connection))
     {
+      _dbus_warn("dbus_connection_send_with_reply: _dbus_connection_get_is_connected_unlocked failed\n");
+
       CONNECTION_UNLOCK (connection);
 
       return TRUE;
@@ -3239,6 +3241,8 @@ dbus_connection_send_with_reply (DBusCon
 
   if (pending == NULL)
     {
+      _dbus_warn("dbus_connection_send_with_reply: _dbus_pending_call_new_unlocked failed\n");
+
       CONNECTION_UNLOCK (connection);
       return FALSE;
     }
@@ -3252,7 +3256,10 @@ dbus_connection_send_with_reply (DBusCon
     }
 
   if (!_dbus_pending_call_set_timeout_error_unlocked (pending, message, serial))
-    goto error;
+    {
+      _dbus_warn("dbus_connection_send_with_reply: _dbus_pending_call_set_timeout_error_unlocked failed\n");
+      goto error;
+    }
     
   /* Insert the serial in the pending replies hash;
    * hash takes a refcount on DBusPendingCall.
@@ -3260,10 +3267,14 @@ dbus_connection_send_with_reply (DBusCon
    */
   if (!_dbus_connection_attach_pending_call_unlocked (connection,
 						      pending))
-    goto error;
+    {
+      _dbus_warn("dbus_connection_send_with_reply: _dbus_connection_attach_pending_call_unlocked failed\n");
+      goto error;
+    }
  
   if (!_dbus_connection_send_unlocked_no_update (connection, message, NULL))
     {
+      _dbus_warn("dbus_connection_send_with_reply: _dbus_connection_send_unlocked_no_update failed\n");
       _dbus_connection_detach_pending_call_and_unlock (connection,
 						       pending);
       goto error_unlocked;
@@ -3293,6 +3304,7 @@ dbus_connection_send_with_reply (DBusCon
   CONNECTION_UNLOCK (connection);
  error_unlocked:
   dbus_pending_call_unref (pending);
+  _dbus_warn("dbus_connection_send_with_reply failed\n");
   return FALSE;
 }
 
