diff options
author | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-03 13:35:46 +0000 |
---|---|---|
committer | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-03 13:35:46 +0000 |
commit | 780ae94178769a226f9e73f3776412edea60f850 (patch) | |
tree | bca69452c5ffa7f7cfedd6901957fae82cf17ad3 /ipc/ipc_channel_posix.cc | |
parent | 069908e0d2b7755feb1b0e935082c46a25ea65f1 (diff) | |
download | chromium_src-780ae94178769a226f9e73f3776412edea60f850.zip chromium_src-780ae94178769a226f9e73f3776412edea60f850.tar.gz chromium_src-780ae94178769a226f9e73f3776412edea60f850.tar.bz2 |
Add paranoid logging to ChannelImpl::ProcessOutgoingMessages() to help track down bug.
BUG=29225
TEST=none
Review URL: http://codereview.chromium.org/462021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33677 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel_posix.cc')
-rw-r--r-- | ipc/ipc_channel_posix.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/ipc/ipc_channel_posix.cc b/ipc/ipc_channel_posix.cc index 553e626..cce2c03 100644 --- a/ipc/ipc_channel_posix.cc +++ b/ipc/ipc_channel_posix.cc @@ -825,7 +825,16 @@ bool Channel::ChannelImpl::ProcessOutgoingMessages() { Close(); return false; } - PLOG(ERROR) << "pipe error on " << fd_written; + PLOG(ERROR) << "pipe error on " + << fd_written + << " Currently writing message of size:" + << msg->size() + << " msgh.msg_iovlen:" + << msgh.msg_iovlen + << " amt_to_write: " + << amt_to_write + << " num FDs to send:" + << msg->file_descriptor_set()->size(); return false; } |