Changeset 211390 in webkit


Ignore:
Timestamp:
Jan 30, 2017 3:37:57 PM (7 years ago)
Author:
andersca@apple.com
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):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r211387 r211390  
     12017-01-30  Anders Carlsson  <andersca@apple.com>
     2
     3        Add some more crash reporter information to diagnose a failed mach_msg
     4        https://bugs.webkit.org/show_bug.cgi?id=167610
     5
     6        Reviewed by Dean Jackson.
     7
     8        Include the receive port name as well.
     9
     10        * Platform/IPC/mac/ConnectionMac.mm:
     11        (IPC::readFromMachPort):
     12
    1132017-01-30  Simon Fraser  <simon.fraser@apple.com>
    214
  • trunk/Source/WebKit2/Platform/IPC/mac/ConnectionMac.mm

    r210892 r211390  
    499499    if (kr != MACH_MSG_SUCCESS) {
    500500#if !ASSERT_DISABLED
    501         WKSetCrashReportApplicationSpecificInformation((CFStringRef)[NSString stringWithFormat:@"Unhandled error code %x from mach_msg", kr]);
     501        WKSetCrashReportApplicationSpecificInformation((CFStringRef)[NSString stringWithFormat:@"Unhandled error code %x from mach_msg, receive port is %x", kr, machPort]);
    502502#endif
    503503        ASSERT_NOT_REACHED();
Note: See TracChangeset for help on using the changeset viewer.