Title: [211390] trunk/Source/WebKit2
Revision
211390
Author
ander...@apple.com
Date
2017-01-30 15:37:57 -0800 (Mon, 30 Jan 2017)

Log Message

Add some more crash reporter information to diagnose a failed mach_msg
https://bugs.webkit.org/show_bug.cgi?id=167610

Reviewed by Dean Jackson.

Include the receive port name as well.

* Platform/IPC/mac/ConnectionMac.mm:
(IPC::readFromMachPort):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (211389 => 211390)


--- trunk/Source/WebKit2/ChangeLog	2017-01-30 23:21:57 UTC (rev 211389)
+++ trunk/Source/WebKit2/ChangeLog	2017-01-30 23:37:57 UTC (rev 211390)
@@ -1,3 +1,15 @@
+2017-01-30  Anders Carlsson  <ander...@apple.com>
+
+        Add some more crash reporter information to diagnose a failed mach_msg
+        https://bugs.webkit.org/show_bug.cgi?id=167610
+
+        Reviewed by Dean Jackson.
+
+        Include the receive port name as well.
+
+        * Platform/IPC/mac/ConnectionMac.mm:
+        (IPC::readFromMachPort):
+
 2017-01-30  Simon Fraser  <simon.fra...@apple.com>
 
         [iOS] position:fixed inside touch-scrollable overflow is mispositioned

Modified: trunk/Source/WebKit2/Platform/IPC/mac/ConnectionMac.mm (211389 => 211390)


--- trunk/Source/WebKit2/Platform/IPC/mac/ConnectionMac.mm	2017-01-30 23:21:57 UTC (rev 211389)
+++ trunk/Source/WebKit2/Platform/IPC/mac/ConnectionMac.mm	2017-01-30 23:37:57 UTC (rev 211390)
@@ -498,7 +498,7 @@
 
     if (kr != MACH_MSG_SUCCESS) {
 #if !ASSERT_DISABLED
-        WKSetCrashReportApplicationSpecificInformation((CFStringRef)[NSString stringWithFormat:@"Unhandled error code %x from mach_msg", kr]);
+        WKSetCrashReportApplicationSpecificInformation((CFStringRef)[NSString stringWithFormat:@"Unhandled error code %x from mach_msg, receive port is %x", kr, machPort]);
 #endif
         ASSERT_NOT_REACHED();
         return 0;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to