Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(964)

Unified Diff: ipc/ipc_channel_posix.cc

Issue 462021: Add paranoid logging to ChannelImpl::ProcessOutgoingMessages() to help track down bug. (Closed)
Patch Set: Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_channel_posix.cc
diff --git a/ipc/ipc_channel_posix.cc b/ipc/ipc_channel_posix.cc
index 553e6266e7455419f5cb719a824a829a44e66134..cce2c0398430b78d2d889b7abe023b5ae6087ea1 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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698