System Profile:
Network Service: Ethernet, Ethernet, en0
Thunderbolt Bus: Mac mini, Apple Inc., 23.4
Boot Volume File System Type: apfs
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x85F7, 0x483634353155363447313630304700000000
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x85F7, 0x483634353155363447313630304700000000
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Hub
USB Device: IR Receiver
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: USB 3.0 Bus
USB Device: G-DRIVE mini5
USB Device: Keyspan USA-28Xb
Serial ATA Device: OWC Mercury EXTREME Pro 6G SSD, 480.1 GB
Model: Macmini6,1, BootROM MM61.010B.B00, 2 processors, Intel Core i5, 2.5 GHz, 8 GB, SMC 2.7f0
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x10E), Broadcom BCM43xx 1.0 (7.21.190.16.1a2)
Bluetooth: Version 6.0.2f2, 3 services, 27 devices, 1 incoming serial ports
Very rarely, but more than once, I'm getting an EXC_BAD_ACCESS crash in the hostAddressFamily{} method.
I believe that self.hostAddress is the culprit:
(sa_family_t)hostAddressFamily { sa_family_t result;
result = AF_UNSPEC; if ((self.hostAddress != nil) && (self.hostAddress.length >= sizeof(struct sockaddr)) ) { result = ((const struct sockaddr *) self.hostAddress.bytes)->sa_family; // crash here ***, EXC_BAD_ACCESS, KERN_INVALID_ADDRESS at 0x0000000000000001 } return result; }
Excerpts from the crash report -----------------
Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: redacted [28472] User ID: 501
Date/Time: 2018-02-04 22:38:48.506 -0700 OS Version: Mac OS X 10.13.3 (17D47) Report Version: 12 Anonymous UUID: 9291B4DF-41B5-508A-2146-09CB031378C5
Time Awake Since Boot: 370000 seconds
System Integrity Protection: disabled
Crashed Thread: 8 listenThread
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000001 Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [0]
System Profile: Network Service: Ethernet, Ethernet, en0 Thunderbolt Bus: Mac mini, Apple Inc., 23.4 Boot Volume File System Type: apfs Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x85F7, 0x483634353155363447313630304700000000 Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x85F7, 0x483634353155363447313630304700000000 USB Device: USB 2.0 Bus USB Device: Hub USB Device: Hub USB Device: IR Receiver USB Device: BRCM20702 Hub USB Device: Bluetooth USB Host Controller USB Device: USB 2.0 Bus USB Device: Hub USB Device: USB 3.0 Bus USB Device: G-DRIVE mini5 USB Device: Keyspan USA-28Xb Serial ATA Device: OWC Mercury EXTREME Pro 6G SSD, 480.1 GB Model: Macmini6,1, BootROM MM61.010B.B00, 2 processors, Intel Core i5, 2.5 GHz, 8 GB, SMC 2.7f0 Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x10E), Broadcom BCM43xx 1.0 (7.21.190.16.1a2) Bluetooth: Version 6.0.2f2, 3 services, 27 devices, 1 incoming serial ports