How to analyze mac os crash report? - macos

I am using mac os mountain lion (10.8.2) . My machine getting frequently restarting when using eclipse . After restart a popup shows send report . How to troubleshoot the problem using the crash report? .
Interval Since Last Panic Report: 46171 sec
Panics Since Last Report: 5
Anonymous UUID: 2797EFBF-B052-1A79-D68C-97060E7AC0F4
Thu Dec 13 16:24:32 2012
panic(cpu 4 caller 0xffffff800fcb7e75): Kernel trap at 0xffffff7f9275a439, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x0000000000000800, CR3: 0x0000000023b0b018, CR4: 0x00000000001606e0
RAX: 0x0000000000000000, RBX: 0xffffff8101a2d000, RCX: 0xffffff8101a2d7e8, RDX: 0x0000000000000200
RSP: 0xffffff8101ac3d00, RBP: 0xffffff8101ac3d60, RSI: 0x000000008003f000, RDI: 0xffffff8101a2d000
R8: 0xffffff8101ac3c20, R9: 0x0000000000001000, R10: 0xffffff8036a965b0, R11: 0xffffff8036a96580
R12: 0xffffff8101a2d000, R13: 0x000000008003f000, R14: 0xffffff8101a2d000, R15: 0xffffff8101a2d7e8
RFL: 0x0000000000010246, RIP: 0xffffff7f9275a439, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x0000000000000800, Error code: 0x0000000000000000, Fault CPU: 0x4
Backtrace (CPU 4), Frame : Return Address
0xffffff8101ac39a0 : 0xffffff800fc1d626
0xffffff8101ac3a10 : 0xffffff800fcb7e75
0xffffff8101ac3be0 : 0xffffff800fccd3bd
0xffffff8101ac3c00 : 0xffffff7f9275a439
0xffffff8101ac3d60 : 0xffffff7f9275a7f8
0xffffff8101ac3e10 : 0xffffff7f92755428
0xffffff8101ac3e50 : 0xffffff800ff505a0
0xffffff8101ac3ea0 : 0xffffff800ff9a0ae
0xffffff8101ac3f00 : 0xffffff800ffa0595
0xffffff8101ac3f60 : 0xffffff800ffe0313
0xffffff8101ac3fb0 : 0xffffff800fccd8ed
Kernel Extensions in backtrace:
com.kaspersky.kext.kimul.42(42.0)[658C1759-7925-7346-A10D-B468C1BD7A1D]#0xffffff7f92753000->0xffffff7f9275cfff
BSD process name corresponding to current thread: kav
Mac OS version:
12C3012
Kernel version:
Darwin Kernel Version 12.2.1: Thu Oct 18 16:32:48 PDT 2012; root:xnu-2050.20.9~2/RELEASE_X86_64
Kernel UUID: 0AFA55FD-872F-3BBE-8630-214EB586A16D
Kernel slide: 0x000000000fa00000
Kernel text base: 0xffffff800fc00000
System model name: MacBookPro9,1 (Mac-4B7AC7E43945597E)
System uptime in nanoseconds: 52214192380474
last loaded kext at 35527368584903: com.apple.driver.AppleUSBCDC 4.1.22 (addr 0xffffff7f9275d000, size 16384)
last unloaded kext at 35660574175525: com.apple.driver.AppleUSBCDC 4.1.22 (addr 0xffffff7f9275d000, size 12288)
loaded kexts:
com.kaspersky.kext.kimul.42 42
com.kaspersky.kext.klif 2.2.1d19
com.apple.filesystems.smbfs 1.8
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.driver.AudioAUUC 1.60
com.apple.driver.AGPM 100.12.81
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.driver.X86PlatformShim 1.0.0
com.apple.driver.AppleHDA 2.3.5fc10
com.apple.filesystems.autofs 3.0
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.driver.AppleMikeyDriver 2.3.5fc10
com.apple.iokit.IOBluetoothSerialManager 4.1.2f9
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AppleSMCLMU 2.0.3d0
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport 4.1.2f9
com.apple.driver.AppleMuxControl 3.2.13
com.apple.driver.ApplePolicyControl 3.2.13
com.apple.driver.SMCMotionSensor 3.0.3d1
com.apple.driver.AppleIntelHD4000Graphics 8.0.6
com.apple.GeForce 8.0.6
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.driver.AppleUpstreamUserClient 3.5.10
com.apple.driver.AppleMCCSControl 1.1.11
com.apple.driver.AppleLPC 1.6.0
com.apple.driver.AppleIntelFramebufferCapri 8.0.6
com.apple.driver.AppleUSBTCButtons 237.1
com.apple.driver.AppleUSBTCKeyboard 237.1
com.apple.driver.AppleIRController 320.15
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 34
com.apple.iokit.SCSITaskUserClient 3.5.5
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.3.1
com.apple.driver.AppleUSBHub 5.5.0
com.apple.driver.AppleSDXC 1.4.0
com.apple.iokit.AppleBCM5701Ethernet 3.5.0b9
com.apple.driver.AirPort.Brcm4331 612.20.14
com.apple.driver.AppleFWOHCI 4.9.6
com.apple.driver.AppleAHCIPort 2.5.1
com.apple.driver.AppleUSBEHCI 5.5.0
com.apple.driver.AppleUSBXHCI 1.5.1
com.apple.driver.AppleEFINVRAM 1.7
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleACPIButtons 1.7
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.7
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 196.0.0
com.apple.nke.applicationfirewall 4.0.39
com.apple.security.quarantine 2
com.apple.driver.AppleIntelCPUPowerManagement 196.0.0
com.apple.driver.DspFuncLib 2.3.5fc10
com.apple.iokit.IOAudioFamily 1.8.9fc11
com.apple.kext.OSvKernDSPLib 1.6
com.apple.kext.triggers 1.0
com.apple.iokit.IOSurface 86.0.3
com.apple.iokit.IOSerialFamily 10.0.6
com.apple.iokit.IOBluetoothFamily 4.1.2f9
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport 4.1.2f9
com.apple.driver.AppleSMBusPCI 1.0.11d0
com.apple.driver.X86PlatformPlugin 1.0.0
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.driver.AppleGraphicsControl 3.2.13
com.apple.nvidia.nvGK100hal 8.0.6
com.apple.driver.AppleSMC 3.1.4d2
com.apple.driver.AppleHDAController 2.3.5fc10
com.apple.iokit.IOHDAFamily 2.3.5fc10
com.apple.driver.AppleSMBusController 1.0.11d0
com.apple.NVDAResman 8.0.6
com.apple.iokit.IONDRVSupport 2.3.6
com.apple.driver.IOPlatformPluginFamily 5.3.0d47
com.apple.iokit.IOGraphicsFamily 2.3.6
com.apple.iokit.IOFireWireIP 2.2.5
com.apple.driver.AppleUSBMultitouch 237.3
com.apple.iokit.IOUSBHIDDriver 5.2.5
com.apple.driver.AppleThunderboltDPInAdapter 1.8.9
com.apple.driver.AppleThunderboltDPAdapterFamily 1.8.9
com.apple.driver.AppleThunderboltPCIDownAdapter 1.2.6
com.apple.driver.AppleUSBMergeNub 5.5.0
com.apple.driver.AppleUSBComposite 5.2.5
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.5.5
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.iokit.IOAHCISerialATAPI 2.5.1
com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.5
com.apple.driver.AppleThunderboltNHI 1.6.3
com.apple.iokit.IOThunderboltFamily 2.1.8
com.apple.iokit.IOEthernetAVBController 1.0.2b1
com.apple.iokit.IO80211Family 510.4
com.apple.iokit.IONetworkingFamily 3.0
com.apple.iokit.IOUSBUserClient 5.5.0
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IOAHCIFamily 2.3.1
com.apple.iokit.IOUSBFamily 5.5.0
com.apple.driver.AppleEFIRuntime 1.7
com.apple.iokit.IOHIDFamily 1.8.1
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 220
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 344
com.apple.iokit.IOStorageFamily 1.8
com.apple.driver.AppleKeyStore 28.21
com.apple.driver.AppleACPIPlatform 1.7
com.apple.iokit.IOPCIFamily 2.7.3
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
Model: MacBookPro9,1, BootROM MBP91.00D3.B08, 4 processors, Intel Core i7, 2.3 GHz, 8 GB, SMC 2.1f173
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 384 MB
Graphics: NVIDIA GeForce GT 650M, NVIDIA GeForce GT 650M, PCIe, 512 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533643465238432D50422020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533643465238432D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF5), Broadcom BCM43xx 1.0 (5.106.98.100.14)
Bluetooth: Version 4.1.2f9 11046, 2 service, 18 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: APPLE HDD HTS547550A9E384, 500.11 GB
Serial ATA Device: MATSHITADVD-R UJ-8A8
USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1d100000 / 2
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0x1d180000 / 3
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x1d182000 / 6
USB Device: BRCM20702 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x1d181000 / 5
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821d, 0x1d181300 / 7
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0252, 0x1d183000 / 4
USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1a100000 / 2
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0x1a110000 / 3
USB Device: USB Optical Mouse, 0x0461 (Primax Electronics), 0x4d81, 0x14200000 / 1

Kernel Extensions in backtrace:
com.kaspersky.kext.kimul
This is probably the offending kext, you'll probably want to remove it
BSD process name corresponding to current thread: kav
This stands for "Kaspersky AntiVirus"; you should probably uninstall it
The rest of the stuff, like the register contents and stuff, only are useful if you know what their hexadecimal contents mean (which I don't... sorry)

Related

GateKeeper refues to allow execution of notarized and stapled app on MacOS

We have developed a small test .app with C code that loads (dlopen()) a simple one function dylib library (the dylib file is included in the app Contents under /Contents/Frameworks/), which printf's two text lines to a text file in /tmp/ using xcode 12.
The app (and dylib inside) was signed using provisioning profile that is tied with Developer ID based certificate. App's runtime is hardened, signed, notarized and stapled correctly for Developer ID (to be published on our website) by Xcode archiving/exporting tool's UI.
We verified that it works on our build machine by placing it under /Applications/loadtest.app and executing it by double click ( /tmp/loadtest.log is created and entries are printed correctly. )
Once we download it on another macbook (running with osx 11.4), it will not exeute (getting "You do not have permission to open the application" message from the GateKeeper), and will crash with "Termination Reason: Namespace CODESIGNING, Code 0x1" (see full crash dump below).
Checking with spctl on the new macbook:
spctl -a -t exec -v /Applications/loadtest.app:
"/Applications/loadtest.app: accepted
source=Notarized Developer ID"
We have tried changing the permissions and attributes of the app (found few hints for this on the internet), but it does not help. Someone suggested to restart the machine (to allow it to re-concile Apple's notarization services and download the latest stapling "tickets"), which also didn't help.
If we disable SIP on that test MacBook, the application now runs, not before we get a warning about "unknown publisher" from the gatekeeper and allowing it, but we need our apps to run with SIP enabled.
Does anyone have any hint or suggestion? We contacted Apple, but havn't recieved any answer from them since.
...
Crash dump:
rocess: loadtest [582]
Path: /Applications/loadtest.app/Contents/MacOS/loadtest
Identifier: loadtest
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: loadtest [582]
User ID: 501
Date/Time: 2021-07-15 12:56:09.913 +0300
OS Version: macOS 11.4 (20F71)
Report Version: 12
Bridge OS Version: 5.4 (18P4663)
Anonymous UUID: FD00A5BA-5166-EC7D-B051-E28BDEE29E95
Time Awake Since Boot: 110 seconds
System Integrity Protection: enabled
Crashed Thread: Unknown
Exception Type: EXC_CRASH (Code Signature Invalid)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace CODESIGNING, Code 0x1
kernel messages:
VM Regions Near 0 (cr2):
-->
mapped file 104a09000-104a0d000 [ 16K] r-x/r-x SM=COW Object_id=a7cdfe2f
Backtrace not available
Unknown thread crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x00007ffeeb1f6a88
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
rip: 0x000000010ee38000 rfl: 0x0000000000000200 cr2: 0x0000000000000000
Logical CPU: 0
Error Code: 0x00000000
Trap Number: 0
Unknown thread instruction stream not available.
Unknown thread last branch register state not available.
Binary images description not available
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
VM Region Summary:
Writable regions: Total=8400K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8400K(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
STACK GUARD 56.0M 1
Stack 8192K 1
VM_ALLOCATE 8K 2
VM_ALLOCATE (reserved) 232K 3 reserved VM address space (unallocated)
mapped file 968K 7
=========== ======= =======
TOTAL 65.2M 14
TOTAL, minus reserved VM space 65.0M 14
Model: MacBookPro16,1, BootROM 1554.120.19.0.0 (iBridge: 18.16.14663.0.0,0), 6 processors, 6-Core Intel Core i7, 2.6 GHz, 16 GB, SMC
Graphics: kHW_IntelUHDGraphics630Item, Intel UHD Graphics 630, spdisplays_builtin
Graphics: kHW_AMDRadeonPro5300MItem, AMD Radeon Pro 5300M, spdisplays_pcie_device, 4 GB
Memory Module: BANK 0/ChannelA-DIMM0, 8 GB, DDR4, 2667 MHz, Micron, 8ATF1G64HZ-2G6E1
Memory Module: BANK 2/ChannelB-DIMM0, 8 GB, DDR4, 2667 MHz, Micron, 8ATF1G64HZ-2G6E1
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x7BF), wl0: Feb 16 2021 03:05:58 version 9.30.444.10.32.5.67 FWID 01-3d719d60
Bluetooth: Version 8.0.5d7, 3 services, 25 devices, 1 incoming serial ports
Network Service: USB 10/100/1000 LAN, Ethernet, en7
USB Device: USB3.0 Hub
USB Device: USB 10/100/1000 LAN
USB Device: USB 3.1 Bus
USB Device: USB2.0 Hub
USB Device: Microsoft® Nano Transceiver v1.0
USB Device: USB 2.0 BILLBOARD
USB Device: Apple T2 Bus
USB Device: Composite Device
USB Device: Touch Bar Backlight
USB Device: Touch Bar Display
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Headset
USB Device: Ambient Light Sensor
USB Device: FaceTime HD Camera (Built-in)
USB Device: Apple T2 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 63.5
Thunderbolt Bus: MacBook Pro, Apple Inc., 63.5
...

Atom editor not working after reboot / OSX

I'm not sure if it's the correct stack platform but since some time my Atom Editor don't start after I restart or boot my Mac.
I need to reinstall the app. I also uninstall the hole application with AppCleaner and install it new without success. After the reboot I've got this error message:
Process: Atom [916]
Path: /Applications/Atom.app/Contents/MacOS/Atom
Identifier: com.github.atom
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Atom [916]
User ID: 501
Date/Time: 2019-09-26 22:42:03.502 +0200
OS Version: Mac OS X 10.14.6 (18G95)
Report Version: 12
Anonymous UUID: 67A52C69-B8B4-FB36-FAF9-2F2D5A429F99
Time Awake Since Boot: 65 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (Code Signature Invalid)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace CODESIGNING, Code 0x1
kernel messages:
VM Regions Near 0 (cr2):
-->
__TEXT 000000010f3a4000-000000010f3a5000 [ 4K] r-x/rwx SM=COW
Thread 0 Crashed:
0 0x0000000119caa000 _dyld_start + 0
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x00007ffee085bc30
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
rip: 0x0000000119caa000 rfl: 0x0000000000000200 cr2: 0x0000000000000000
Logical CPU: 0
Error Code: 0x00000000
Trap Number: 0
Binary Images:
0x10f3a4000 - 0x10f3a4ff3 + (0) <4FAD2A7B-B418-358C-949F-1104B0620579>
0x119ca9000 - 0x119d1370f + (655.1.1) <DFC3C4AF-6F97-3B34-B18D-7DCB23F2A83A>
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 1564
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=608K resident=0K(0%) swapped_out_or_unallocated=608K(100%)
Writable regions: Total=8400K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8400K(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
STACK GUARD 56.0M 1
Stack 8192K 1
__DATA 232K 3
__LINKEDIT 176K 2
__TEXT 432K 2
shared memory 8K 2
=========== ======= =======
TOTAL 64.8M 11
Model: MacBookPro10,1, BootROM 257.0.0.0.0, 4 processors, Intel Core i7, 2,3 GHz, 8 GB, SMC 2.3f36
Graphics: kHW_IntelHD4000Item, Intel HD Graphics 4000, spdisplays_builtin
Graphics: kHW_NVidiaGeForceGT650MItem, NVIDIA GeForce GT 650M, spdisplays_pcie_device, 1 GB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533642465238432D50422020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533642465238432D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xEF), Broadcom BCM43xx 1.0 (7.21.190.33 AirPortDriverBrcm4360-1325.2)
Bluetooth: Version 6.0.14d3, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM256E, 251 GB
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: FaceTime HD Camera (Built-in)
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Hub
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB 3.0 Bus
USB Device: USB3.0 Hub
USB Device: USB2.0 Hub
USB Device: Keyboard Hub
USB Device: Apple Keyboard
USB Device: Game Mouse
Thunderbolt Bus: MacBook Pro, Apple Inc., 23.4
OSX is on 10.14.6
Atom 1.40.1
Updated:
with atom --safe I’ve got this message in the terminal:
LSOpenURLsWithRole() failed for the application /Applications/Atom.app with error -10810.
with atom -f this error:
/usr/local/bin/atom: line 192: 2506 Killed: 9 "$ATOM_PATH/$ATOM_APP_NAME/Contents/MacOS/$ATOM_EXECUTABLE_NAME" --executed-from="$(pwd)" --pid=$$ "$#"
Update2
it works till version 1.38.2. since 1.39 the app chrashed
You could try resigning with Jonathan Levin's jtool
jtool --sign /Applications/Atom.app/Contents/MacOS/Atom
backup original Atom executable
And replace /Applications/Atom.app/Contents/MacOS/Atom with resulting out.bin (i.e. rename out.bin to /Applications/Atom.app/Contents/MacOS/Atom)
I was facing a similar problem in my Mac wherein Atom kept crashing after I had 'Force Quit' it some time back in the day. I deleted the ~/.atom folder as mentioned here and then it worked like a breeze.

OS X crashed when usb unplug

I am searching for a long time on net. But no use. Please help or try to give some ideas how to achieve this,thanks very much!
here is my system info:
OS X EI Capitan
version:10.11.6
android studio version:
Android Studio 2.2.3
Build #AI-145.3537739, built on December 2, 2016
JRE: 1.8.0_112-release-b05 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
here is my crash step:
step 1:open Android Studio;
step 2:connect Android mobile phone,like this;
[adb connect][1]: https://i.stack.imgur.com/hVi7j.png
step 3:sometimes usb offline like this
[adb disconnected][2]: https://i.stack.imgur.com/Y3V8W.png
then unplug the usb,and mac crashed, and get this error message:
Anonymous UUID: 5FE85A00-83F5-8F1E-0806-0EEB1FDD7638
Thu Jan 12 14:52:11 2017
*** Panic Report ***
panic(cpu 0 caller 0xffffff80123bf2fe): Preemption level underflow, possible cause unlocking an unlocked mutex or spinlock
Backtrace (CPU 0), Frame : Return Address
0xffffff911f5fbc30 : 0xffffff80122d7b92
0xffffff911f5fbcb0 : 0xffffff80123bf2fe
0xffffff911f5fbcc0 : 0xffffff80123bf01f
0xffffff911f5fbcd0 : 0xffffff801288869b
0xffffff911f5fbd20 : 0xffffff8012892180
0xffffff911f5fbd70 : 0xffffff80128dc149
0xffffff911f5fbde0 : 0xffffff8012394b81
0xffffff911f5fbe30 : 0xffffff80122dc303
0xffffff911f5fbe60 : 0xffffff80122bf938
0xffffff911f5fbea0 : 0xffffff80122cf6e5
0xffffff911f5fbf10 : 0xffffff80123b625a
0xffffff911f5fbfb0 : 0xffffff80123ea3c6
BSD process name corresponding to current thread: adb
Mac OS version:
15G1212
Kernel version:
Darwin Kernel Version 15.6.0: Wed Nov 2 20:30:56 PDT 2016; root:xnu-3248.60.11.1.2~2/RELEASE_X86_64
Kernel UUID: 865631CA-FB7C-31CA-9B7F-5CBFF3C38E0C
Kernel slide: 0x0000000012000000
Kernel text base: 0xffffff8012200000
__HIB text base: 0xffffff8012100000
System model name: MacBookPro12,1 (Mac-E43C1C25D4880AD6)
System uptime in nanoseconds: 2002335759820
last loaded kext at 698166579884: com.apple.driver.AppleXsanScheme 3 (addr 0xffffff7f94e96000, size 32768)
last unloaded kext at 716207499513: org.virtualbox.kext.VBoxDrv 5.1.12 (addr 0xffffff7f94dc4000, size 397312)
loaded kexts:
com.intel.kext.intelhaxm 6.0.1
com.apple.filesystems.smbfs 3.0.1
com.apple.filesystems.autofs 3.0
com.apple.driver.AudioAUUC 1.70
com.apple.driver.AGPM 110.22.0
com.apple.driver.ApplePlatformEnabler 2.6.0d0
com.apple.driver.X86PlatformShim 1.0.0
com.apple.driver.AppleOSXWatchdog 1
com.apple.driver.AppleGraphicsDevicePolicy 3.12.7
com.apple.driver.AppleUpstreamUserClient 3.6.1
com.apple.driver.AppleHDA 274.12
com.apple.driver.AppleIntelBDWGraphics 10.1.4
com.apple.driver.pmtelemetry 1
com.apple.iokit.IOUserEthernet 1.0.1
com.apple.driver.AppleLPC 3.1
com.apple.iokit.IOBluetoothSerialManager 4.4.6f1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AppleHV 1
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.4.6f1
com.apple.driver.AppleThunderboltIP 3.0.8
com.apple.driver.AppleSMCLMU 208
com.apple.driver.AppleCameraInterface 5.46.0
com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0
com.apple.driver.AppleIntelBDWGraphicsFramebuffer 10.1.4
com.apple.driver.AppleBacklight 170.8.9
com.apple.driver.AppleMCCSControl 1.2.13
com.apple.driver.AppleUSBCardReader 3.7.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
com.apple.BootCache 38
com.apple.iokit.IOAHCIBlockStorage 2.8.5
com.apple.driver.AppleAHCIPort 3.1.8
com.apple.driver.AppleTopCaseHIDEventDriver 86
com.apple.driver.AirPort.Brcm4360 1040.1.1a6
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleRTC 2.0
com.apple.driver.AppleACPIButtons 4.0
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleSMBIOS 2.1
com.apple.driver.AppleACPIEC 4.0
com.apple.driver.AppleAPIC 1.7
com.apple.nke.applicationfirewall 163
com.apple.security.quarantine 3
com.apple.security.TMSafetyNet 8
com.apple.driver.AppleXsanScheme 3
com.apple.driver.AppleBluetoothHIDKeyboard 181
com.apple.driver.IOBluetoothHIDDriver 4.4.6f1
com.apple.iokit.IOUSBUserClient 900.4.1
com.apple.kext.triggers 1.0
com.apple.driver.DspFuncLib 274.12
com.apple.kext.OSvKernDSPLib 525
com.apple.driver.X86PlatformPlugin 1.0.0
com.apple.driver.IOPlatformPluginFamily 6.0.0d7
com.apple.iokit.IOSurface 108.2.3
com.apple.driver.CoreCaptureResponder 1
com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.4.6f1
com.apple.iokit.IOBluetoothFamily 4.4.6f1
com.apple.driver.AppleHDAController 274.12
com.apple.iokit.IOHDAFamily 274.12
com.apple.iokit.IOAudioFamily 204.4
com.apple.vecLib.kext 1.2.0
com.apple.driver.AppleGraphicsControl 3.12.9
com.apple.driver.AppleIntelLpssUARTCommon 2.0.60
com.apple.iokit.IOSerialFamily 11
com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0
com.apple.AppleGraphicsDeviceControl 3.12.9
com.apple.iokit.IOAcceleratorFamily2 205.11
com.apple.driver.AppleBacklightExpert 1.1.0
com.apple.iokit.IONDRVSupport 2.4.1
com.apple.driver.AppleSMC 3.1.9
com.apple.driver.AppleSMBusController 1.0.14d1
com.apple.iokit.IOGraphicsFamily 2.4.1
com.apple.iokit.IOSCSIBlockCommandsDevice 3.7.7
com.apple.iokit.IOUSBMassStorageDriver 1.0.0
com.apple.iokit.IOSCSIArchitectureModelFamily 3.7.7
com.apple.driver.usb.IOUSBHostHIDDevice 1.0.1
com.apple.driver.usb.cdc 5.0.0
com.apple.driver.usb.networking 5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice 1.0.1
com.apple.driver.CoreStorage 517.50.1
com.apple.driver.AppleThunderboltPCIDownAdapter 2.0.2
com.apple.driver.AppleThunderboltDPInAdapter 4.1.3
com.apple.driver.AppleThunderboltDPAdapterFamily 4.1.3
com.apple.iokit.IOAHCIFamily 2.8.1
com.apple.driver.AppleHIDKeyboard 181
com.apple.driver.AppleMultitouchDriver 304.12
com.apple.driver.AppleHIDTransport 5
com.apple.driver.AppleHSSPIHIDDriver 43
com.apple.driver.AppleThunderboltNHI 4.0.4
com.apple.iokit.IOThunderboltFamily 6.0.2
com.apple.iokit.IO80211Family 1110.26
com.apple.driver.mDNSOffloadUserClient 1.0.1b8
com.apple.iokit.IONetworkingFamily 3.2
com.apple.driver.corecapture 1.0.4
com.apple.driver.AppleHSSPISupport 43
com.apple.driver.AppleIntelLpssSpiController 2.0.60
com.apple.driver.AppleIntelLpssDmac 2.0.60
com.apple.driver.AppleIntelLpssGspi 2.0.60
com.apple.driver.usb.AppleUSBXHCIPCI 1.0.1
com.apple.driver.usb.AppleUSBXHCI 1.0.1
com.apple.iokit.IOUSBFamily 900.4.1
com.apple.iokit.IOUSBHostFamily 1.0.1
com.apple.driver.AppleUSBHostMergeProperties 1.0.1
com.apple.driver.AppleEFINVRAM 2.0
com.apple.driver.AppleEFIRuntime 2.0
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 300.0
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.AppleKeyStore 2
com.apple.driver.AppleMobileFileIntegrity 1.0.5
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.DiskImages 417.4
com.apple.iokit.IOStorageFamily 2.1
com.apple.iokit.IOReportFamily 31
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleACPIPlatform 4.0
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.Libm 1
com.apple.kec.pthread 1
com.apple.kec.corecrypto 1.0
Model: MacBookPro12,1, BootROM MBP121.0167.B17, 2 processors, Intel Core i5, 2.7 GHz, 8 GB, SMC 2.28f7
Graphics: Intel Iris Graphics 6100, Intel Iris Graphics 6100, Built-In
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1867 MHz, 0x80CE, 0x4B3445364533303445452D45474346000000
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1867 MHz, 0x80CE, 0x4B3445364533303445452D45474346000000
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x133), Broadcom BCM43xx 1.0 (7.21.95.175.1a6)
Bluetooth: Version 4.4.6f1 17910, 3 services, 27 devices, 1 incoming serial ports
Serial ATA Device: APPLE SSD SM0128G, 121.33 GB
USB Device: USB 3.0 Bus
USB Device: Card Reader
USB Device: Bluetooth USB Host Controller
USB Device: MI Wireless Mouse
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1

Xcode Scene Editor Memory Leak Crashing Computer

I am having the same issue as seen here: https://forums.developer.apple.com/thread/38432 Basically if the scene editor is open for a few minutes, my computer reboots with that memory leak error. Nobody seems to have come up with a solution there, so I am curious if anyone here has a solution. I have also reported this bug to Apple. Here is the crash log:
*** Panic Report ***
panic(cpu 0 caller 0xffffff8026b1f634): "zalloc: zone map exhausted while allocating from zone kalloc.8192, likely due to memory leak in zone kalloc.8192 (1123926016 total bytes, 137198 elements allocated)"#/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3248.60.10/osfmk/kern/zalloc.c:2628
Backtrace (CPU 0), Frame : Return Address
0xffffff90c53e38a0 : 0xffffff8026adab52
0xffffff90c53e3920 : 0xffffff8026b1f634
0xffffff90c53e3a50 : 0xffffff8027039a9b
0xffffff90c53e3a70 : 0xffffff7fa929f8d3
0xffffff90c53e3a90 : 0xffffff7fa92233fc
0xffffff90c53e3ac0 : 0xffffff7fa920ef71
0xffffff90c53e3b40 : 0xffffff7fa9214228
0xffffff90c53e3ba0 : 0xffffff7fa9215268
0xffffff90c53e3be0 : 0xffffff80270dfed7
0xffffff90c53e3d20 : 0xffffff8026b97f90
0xffffff90c53e3e30 : 0xffffff8026adf2c3
0xffffff90c53e3e60 : 0xffffff8026ac28f8
0xffffff90c53e3ea0 : 0xffffff8026ad26a5
0xffffff90c53e3f10 : 0xffffff8026bb8eca
0xffffff90c53e3fb0 : 0xffffff8026becd86
Kernel Extensions in backtrace:
com.apple.iokit.IOAcceleratorFamily2(205.11)[AE224148-CFD1-3A17-943F-E42B98EB06DC]#0xffffff7fa91ff000->0xffffff7fa926afff
dependency: com.apple.iokit.IOPCIFamily(2.9)[F51AA3D6-EC2F-3AD3-A043-06DB79027AA2]#0xffffff7fa7401000
dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[A360453D-2050-3C49-A549-AC0DD5E87917]#0xffffff7fa7f9c000
com.apple.driver.AppleIntelHD4000Graphics(10.1.4)[6EBBF243-AAF9-3765-8E08-50CA36DA5F27]#0xffffff7fa9279000->0xffffff7fa92e1fff
dependency: com.apple.iokit.IOSurface(108.2.3)[354FC780-7EA4-3C3F-A9E1-2658F63663A9]#0xffffff7fa7e20000
dependency: com.apple.iokit.IOPCIFamily(2.9)[F51AA3D6-EC2F-3AD3-A043-06DB79027AA2]#0xffffff7fa7401000
dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[A360453D-2050-3C49-A549-AC0DD5E87917]#0xffffff7fa7f9c000
dependency: com.apple.iokit.IOAcceleratorFamily2(205.11)[AE224148-CFD1-3A17-943F-E42B98EB06DC]#0xffffff7fa91ff000
BSD process name corresponding to current thread: Xcode
Mac OS version:
15G31
Kernel version:
Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34 PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64
Kernel UUID: B5AA8E3E-65B6-3D0E-867B-8DCCF81E536C
Kernel slide: 0x0000000026800000
Kernel text base: 0xffffff8026a00000
__HIB text base: 0xffffff8026900000
System model name: MacBookPro9,2 (Mac-6F01561E16C75D06)
System uptime in nanoseconds: 2566458908068
Zone Name Cur Size Free Size
vm objects 49098720 1920
vm object hash entri 7436000 2640
VM map entries 13414400 5200
pv_list 26222592 4992
vm pages 64320704 13568
kalloc.16 9301824 1120
kalloc.32 1290240 400192
kalloc.48 21938112 912
kalloc.64 21740544 3776
kalloc.96 1871328 649824
kalloc.128 71966720 896
kalloc.160 3003200 1760
kalloc.256 108310528 768
kalloc.512 12038144 465408
kalloc.1024 3780608 4096
kalloc.2048 3350528 2048
kalloc.4096 3428352 0
kalloc.8192 1123926016 0
mem_obj_control 2975616 2272
ipc ports 24267840 4480
threads 1345536 381936
vnodes 15977280 2880
namecache 6813600 4128
HFS node 21840864 231896
HFS fork 6062080 31360
ubc_info zone 4165656 49544
vnode pager structur 1892000 21040
compressor_pager 8896512 64
compressor_segment 7856128 1024
Kernel Stacks 2752512
PageTables 108298240
Kalloc.Large 47181331
Backtrace suspected of leaking: (outstanding bytes: 696320)
0xffffff8026b1fa6f
0xffffff8027039a9b
0xffffff7fa929f8d3
0xffffff7fa92233fc
0xffffff7fa920ef71
0xffffff7fa9214228
0xffffff7fa9215268
0xffffff80270dfed7
0xffffff8026b97f90
0xffffff8026adf2c3
0xffffff8026ac28f8
0xffffff8026ad26a5
0xffffff8026bb8eca
Kernel Extensions in backtrace:
com.apple.iokit.IOAcceleratorFamily2(205.11)[AE224148-CFD1-3A17-943F-E42B98EB06DC]#0xffffff7fa91ff000->0xffffff7fa926afff
dependency: com.apple.iokit.IOPCIFamily(2.9)[F51AA3D6-EC2F-3AD3-A043-06DB79027AA2]#0xffffff7fa7401000
dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[A360453D-2050-3C49-A549-AC0DD5E87917]#0xffffff7fa7f9c000
com.apple.driver.AppleIntelHD4000Graphics(10.1.4)[6EBBF243-AAF9-3765-8E08-50CA36DA5F27]#0xffffff7fa9279000->0xffffff7fa92e1fff
dependency: com.apple.iokit.IOSurface(108.2.3)[354FC780-7EA4-3C3F-A9E1-2658F63663A9]#0xffffff7fa7e20000
dependency: com.apple.iokit.IOPCIFamily(2.9)[F51AA3D6-EC2F-3AD3-A043-06DB79027AA2]#0xffffff7fa7401000
dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[A360453D-2050-3C49-A549-AC0DD5E87917]#0xffffff7fa7f9c000
dependency: com.apple.iokit.IOAcceleratorFamily2(205.11)[AE224148-CFD1-3A17-943F-E42B98EB06DC]#0xffffff7fa91ff000
last loaded kext at 1251941963265: com.apple.filesystems.smbfs 3.0.1 (addr 0xffffff7fa97c9000, size 409600)
last unloaded kext at 653540897476: com.apple.driver.AppleUSBMergeNub 900.4.1 (addr 0xffffff7fa7ced000, size 12288)
loaded kexts:
com.techsmith.TACC 1.0.2
com.Cycling74.driver.Soundflower 2
com.apple.filesystems.smbfs 3.0.1
com.apple.driver.AGPM 110.22.0
com.apple.driver.X86PlatformShim 1.0.0
com.apple.driver.AudioAUUC 1.70
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleOSXWatchdog 1
com.apple.driver.AppleMikeyHIDDriver 124
com.apple.driver.AppleUpstreamUserClient 3.6.1
com.apple.driver.AppleHDA 274.12
com.apple.driver.pmtelemetry 1
com.apple.iokit.IOUserEthernet 1.0.1
com.apple.iokit.IOBluetoothSerialManager 4.4.6f1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AppleMikeyDriver 274.12
com.apple.driver.AppleIntelHD4000Graphics 10.1.4
com.apple.driver.AppleHV 1
com.apple.driver.AppleBacklight 170.8.9
com.apple.driver.AppleThunderboltIP 3.0.8
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.4.6f1
com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0
com.apple.driver.AppleMCCSControl 1.2.13
com.apple.driver.AppleSMCLMU 208
com.apple.driver.AppleIntelFramebufferCapri 10.1.4
com.apple.driver.AppleLPC 3.1
com.apple.driver.SMCMotionSensor 3.0.4d1
com.apple.driver.AppleUSBTCButtons 245.4
com.apple.driver.AppleUSBTCKeyboard 245.4
com.apple.driver.AppleIRController 327.6
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
com.apple.BootCache 38
com.apple.iokit.SCSITaskUserClient 3.7.7
com.apple.iokit.IOAHCIBlockStorage 2.8.5
com.apple.driver.AirPort.Brcm4360 1040.1.1a6
com.apple.driver.AppleFWOHCI 5.5.4
com.apple.iokit.AppleBCM5701Ethernet 10.2.0
com.apple.driver.AppleSDXC 1.7.0
com.apple.driver.AppleAHCIPort 3.1.8
com.apple.driver.usb.AppleUSBEHCIPCI 1.0.1
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleACPIButtons 4.0
com.apple.driver.AppleRTC 2.0
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleSMBIOS 2.1
com.apple.driver.AppleACPIEC 4.0
com.apple.driver.AppleAPIC 1.7
com.apple.driver.AppleIntelCPUPowerManagementClient 218.0.0
com.apple.nke.applicationfirewall 163
com.apple.security.quarantine 3
com.apple.security.TMSafetyNet 8
com.apple.driver.AppleIntelCPUPowerManagement 218.0.0
com.apple.kext.triggers 1.0
com.apple.driver.DspFuncLib 274.12
com.apple.kext.OSvKernDSPLib 525
com.apple.iokit.IOSerialFamily 11
com.apple.iokit.IOSurface 108.2.3
com.apple.driver.CoreCaptureResponder 1
com.apple.driver.AppleHDAController 274.12
com.apple.iokit.IOHDAFamily 274.12
com.apple.iokit.IOAudioFamily 204.4
com.apple.vecLib.kext 1.2.0
com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.4.6f1
com.apple.iokit.IOBluetoothFamily 4.4.6f1
com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0
com.apple.driver.AppleSMBusController 1.0.14d1
com.apple.iokit.IOFireWireIP 2.2.6
com.apple.driver.AppleBacklightExpert 1.1.0
com.apple.iokit.IONDRVSupport 2.4.1
com.apple.driver.AppleSMBusPCI 1.0.14d1
com.apple.driver.X86PlatformPlugin 1.0.0
com.apple.iokit.IOAcceleratorFamily2 205.11
com.apple.AppleGraphicsDeviceControl 3.12.8
com.apple.iokit.IOGraphicsFamily 2.4.1
com.apple.driver.IOPlatformPluginFamily 6.0.0d7
com.apple.driver.AppleSMC 3.1.9
com.apple.driver.AppleUSBMultitouch 250.5
com.apple.iokit.IOUSBHIDDriver 900.4.1
com.apple.driver.usb.cdc 5.0.0
com.apple.driver.usb.networking 5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice 1.0.1
com.apple.driver.usb.AppleUSBHub 1.0.1
com.apple.driver.CoreStorage 517.50.1
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.7.7
com.apple.iokit.IOBDStorageFamily 1.8
com.apple.iokit.IODVDStorageFamily 1.8
com.apple.iokit.IOCDStorageFamily 1.8
com.apple.driver.AppleThunderboltDPInAdapter 4.1.3
com.apple.driver.AppleThunderboltDPAdapterFamily 4.1.3
com.apple.driver.AppleThunderboltPCIDownAdapter 2.0.2
com.apple.iokit.IOAHCISerialATAPI 2.6.2
com.apple.iokit.IOSCSIArchitectureModelFamily 3.7.7
com.apple.driver.AppleThunderboltNHI 4.0.4
com.apple.iokit.IOThunderboltFamily 6.0.2
com.apple.iokit.IO80211Family 1110.26
com.apple.driver.corecapture 1.0.4
com.apple.iokit.IOFireWireFamily 4.6.1
com.apple.iokit.IOEthernetAVBController 1.0.3b3
com.apple.driver.mDNSOffloadUserClient 1.0.1b8
com.apple.iokit.IONetworkingFamily 3.2
com.apple.iokit.IOAHCIFamily 2.8.1
com.apple.driver.usb.AppleUSBXHCIPCI 1.0.1
com.apple.driver.usb.AppleUSBXHCI 1.0.1
com.apple.driver.usb.AppleUSBEHCI 1.0.1
com.apple.iokit.IOUSBFamily 900.4.1
com.apple.iokit.IOUSBHostFamily 1.0.1
com.apple.driver.AppleUSBHostMergeProperties 1.0.1
com.apple.driver.AppleEFINVRAM 2.0
com.apple.driver.AppleEFIRuntime 2.0
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 300.0
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.AppleKeyStore 2
com.apple.driver.AppleMobileFileIntegrity 1.0.5
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.DiskImages 417.4
com.apple.iokit.IOStorageFamily 2.1
com.apple.iokit.IOReportFamily 31
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleACPIPlatform 4.0
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.pthread 1
com.apple.kec.corecrypto 1.0
com.apple.kec.Libm 1
Model: MacBookPro9,2, BootROM MBP91.00D3.B0D, 2 processors, Intel Core i5, 2.5 GHz, 4 GB, SMC 2.2f44
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1600 MHz, 0x02FE, 0x45424A3230554638424455302D474E2D4620
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1600 MHz, 0x02FE, 0x45424A3230554638424455302D474E2D4620
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF5), Broadcom BCM43xx 1.0 (7.21.95.175.1a6)
Bluetooth: Version 4.4.6f1 17910, 3 services, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: APPLE HDD HTS545050A7E362, 500.11 GB
Serial ATA Device: HL-DT-ST DVDRW GS41N
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Hub
USB Device: Apple Internal Keyboard / Trackpad
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: FaceTime HD Camera (Built-in)
USB Device: USB 3.0 Bus
Thunderbolt Bus: MacBook Pro, Apple Inc., 25.1
I reported the bug to Apple and they seem to have fixed the bug.

Error with Pre-installed Postgresql for Mac OSX 10.7 "/var/pgsql_socket/.s.PGSQL.5432"?

Need help fixing my postgresql, the pre-installed one that comes with OSX Lion.
I get the error
psql: could not connect to server: Permission denied
Is the server running locally and accepting
connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?
also, when i use the terminal command "which psql" I get
/usr/bin/psql
So it seems as if I'm pointing at the right psql installation. Also, I've recently finished removing all previous installations of postgres/postgres apps, etc, and I've also removed anything relating to those previous versions of postgres from my ".bash_profile".
As an added piece of information, I tried to use the Postgres.app and continue to get Version 9.2.4.3 and I receive and "Unexpected quit message", I think this may be part of the same problem.
Error message when quitting:
Process: com.heroku.postgres-service [49859]
Path: /Applications/Postgres.app/Contents/XPCServices/com.heroku.postgres-service.xpc/Contents/MacOS/com.heroku.postgres-service
Identifier: com.heroku.postgres-service
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: com.heroku.postgres-service [49856]
Date/Time: 2013-09-05 12:55:08.176 -0400
OS Version: Mac OS X 10.7.5 (11G63)
Report Version: 9
Anonymous UUID: 7F2C7D7B-4EF2-4ED5-A570-94393FBE5F97
Crashed Thread: Unknown
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00007fff5fc01028
Backtrace not available
Unknown thread crashed with X86 Thread State (64-bit):
rax: 0x0000000000000055 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x0000000000000000
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
rip: 0x00007fff5fc01028 rfl: 0x0000000000010203 cr2: 0x00007fff5fc01028
Logical CPU: 0
Binary images description not available
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 3164
thread_create: 0
thread_set_state: 0
Model: MacBookPro8,1, BootROM MBP81.0047.B27, 2 processors, Intel Core i5, 2.4 GHz, 10 GB, SMC 1.68f99
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 512 MB
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1333 MHz, 0x029E, 0x434D5341384758334D314131333333433920
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353737334448302D4348392020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.106.198.19.22)
Bluetooth: Version 4.0.8f17, 2 service, 11 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: TOSHIBA MK5065GSXF, 500.11 GB
Serial ATA Device: MATSHITADVD-R UJ-8A8
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0xfa200000 / 3
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2
USB Device: USB Receiver, 0x046d (Logitech Inc.), 0xc51b, 0xfa130000 / 6
USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 5
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821a, 0xfa113000 / 8
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0252, 0xfa120000 / 4
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 / 3
Please try with host option:
psql -h localhost
You can add this line to your .bash_profile file:
export PGHOST=localhost
Permission denied suggests a file permission issue. Make sure that the socket file exists where it is supposed to be, and that you can list /var/ and /var/pgsql_socket/
If that doesn't fix it, install PostgreSQL via Homebrew.

Resources