IPC::Connection::sendMessage() should use CRASH_WITH_INFO() to encode kern_return_t error code and hash of message name. <rdar://problem/58058661>
Created attachment 386014 [details] Patch v1
Created attachment 386018 [details] Patch v2
Comment on attachment 386018 [details] Patch v2 View in context: https://bugs.webkit.org/attachment.cgi?id=386018&action=review > Source/WebKit/Platform/IPC/cocoa/ConnectionCocoa.mm:277 > + WebKit::setCrashReportApplicationSpecificInformation((__bridge CFStringRef)[NSString stringWithFormat:@"Unhandled error code %x, message '%s'", kr, messageName.data()]); nit: Might as well log messageName.hash() as well.
Created attachment 387113 [details] Patch for landing
Comment on attachment 386018 [details] Patch v2 View in context: https://bugs.webkit.org/attachment.cgi?id=386018&action=review >> Source/WebKit/Platform/IPC/cocoa/ConnectionCocoa.mm:277 >> + WebKit::setCrashReportApplicationSpecificInformation((__bridge CFStringRef)[NSString stringWithFormat:@"Unhandled error code %x, message '%s'", kr, messageName.data()]); > > nit: Might as well log messageName.hash() as well. Done. Thanks!
Comment on attachment 387113 [details] Patch for landing Clearing flags on attachment: 387113 Committed r254208: <https://trac.webkit.org/changeset/254208>
All reviewed patches have been landed. Closing bug.