Skip to content
Permalink
Browse files
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):

Canonical link: https://commits.webkit.org/184631@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@211390 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Anders Carlsson committed Jan 30, 2017
1 parent 21e93da commit 02c4109bc0d2db2e002a3b08a3405418c699d88e
Showing with 13 additions and 1 deletion.
  1. +12 −0 Source/WebKit2/ChangeLog
  2. +1 −1 Source/WebKit2/Platform/IPC/mac/ConnectionMac.mm
@@ -1,3 +1,15 @@
2017-01-30 Anders Carlsson <andersca@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.fraser@apple.com>

[iOS] position:fixed inside touch-scrollable overflow is mispositioned
@@ -498,7 +498,7 @@ static dispatch_source_t createReceiveSource(mach_port_t receivePort, WorkQueue&

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;

0 comments on commit 02c4109

Please sign in to comment.