It does not matter if I install it via brew or the official google website.
When I start it, it returns an error message:
Path: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
Identifier: com.google.Chrome
Version: 78.0.3904.70 (3904.70)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Google Chrome [25447]
User ID: 501
Date/Time: 2019-10-29 21:12:38.185 +0100
OS Version: Mac OS X 10.15 (19A602)
Report Version: 12
Bridge OS Version: 4.0 (17P572)
Anonymous UUID: 624E795F-4392-2D73-55A9-FA070AADAF67
Sleep/Wake UUID: BA0934C2-9072-4B7F-8D72-335B29B00F6C
Time Awake Since Boot: 41000 seconds
Time Since Wake: 780 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [25447]
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.google.Chrome.framework 0x000000010d705f43 0x108af0000 + 79781699
1 com.google.Chrome.framework 0x0000000108af3b35 0x108af0000 + 15157
2 com.google.Chrome.framework 0x000000010b241a25 0x108af0000 + 41228837
3 com.google.Chrome.framework 0x000000010b24194e 0x108af0000 + 41228622
4 com.google.Chrome.framework 0x000000010daf8e19 0x108af0000 + 83922457
5 com.google.Chrome.framework 0x000000010b240f44 0x108af0000 + 41226052
6 com.google.Chrome.framework 0x0000000108af347b ChromeMain + 187
7 com.google.Chrome 0x0000000101ff5904 main + 372
8 libdyld.dylib 0x00007fff6ccf8405 start + 1
Thread 1:
0 libsystem_pthread.dylib 0x00007fff6cf015b4 start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x00007fff6cf015b4 start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x00007fff6cf015b4 start_wqthread + 0
Thread 4:
0 libsystem_pthread.dylib 0x00007fff6cf015b4 start_wqthread + 0
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x00007fda1e71a0b0 rbx: 0x00007fda1e60e1a0 rcx: 0x00000000000003e6 rdx: 0x0000000000000000
rdi: 0x0000000000000005 rsi: 0x00007ffeedc0b518 rbp: 0x00007ffeedc0b500 rsp: 0x00007ffeedc0b500
r8: 0x0000000000000005 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000008
r12: 0x00007ffeedc0b518 r13: 0x00007ffeedc0b998 r14: 0x0000000000000000 r15: 0x00007ffeedc0ba60
rip: 0x000000010d705f43 rfl: 0x0000000000000293 cr2: 0x000000010b3114c0
Logical CPU: 2
Error Code: 0x00000000
Trap Number: 3
Binary Images:
0x101ff4000 - 0x10201dfff +com.google.Chrome (78.0.3904.70 - 3904.70) <DDDD5CED-62D1-33FC-BB57-92084EDA4B95> /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
0x1089ef000 - 0x108a7d93f dyld (732.8) <42C11B81-6928-369F-B03E-D57355572700> /usr/lib/dyld
0x108af0000 - 0x110ee0f17 +com.google.Chrome.framework (78.0.3904.70 - 3904.70) <A82589DF-0869-36A1-8720-5B06C9042155> /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/78.0.3904.70/Google Chrome Framework
0x7fff3155b000 - 0x7fff31752ff2 com.apple.avfoundation (2.0 - 1722.27.4.5) <EC398B56-6AFF-3B51-837C-E2F9999097EA> /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation
0x7fff31753000 - 0x7fff3181eff8 com.apple.audio.AVFAudio (1.0 - ???) <2ED23D7A-9635-3D52-BEFE-3044062B023A> /System/Library/Frameworks/AVFoundation.framework/Versions/A/Frameworks/AVFAudio.framework/Versions/A/AVFAudio
[...]
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 1
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: 288158
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=744.4M resident=0K(0%) swapped_out_or_unallocated=744.4M(100%)
Writable regions: Total=108.3M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=108.3M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 256K 1
CoreServices 88K 1
Dispatch continuations 24.0M 1
Kernel Alloc Once 8K 1
MALLOC 71.6M 31
MALLOC guard page 16K 4
PROTECTED_MEMORY 4K 1
STACK GUARD 56.0M 5
Stack 10.0M 5
VM_ALLOCATE 44K 2
__DATA 45.8M 354
__DATA_CONST 20K 1
__FONT_DATA 4K 1
__LINKEDIT 351.1M 4
__OBJC_RO 31.8M 1
__OBJC_RW 1760K 1
__TEXT 393.3M 352
__UNICODE 564K 1
mapped file 54.2M 10
shared memory 640K 15
=========== ======= =======
TOTAL 1.0G 792
Model: MacBookPro15,1, BootROM 1037.0.78.0.0 (iBridge: 17.16.10572.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_AMDRadeonPro560XItem, Radeon Pro 560X, spdisplays_pcie_device, 4 GB
Memory Module: BANK 0/ChannelA-DIMM0, 8 GB, DDR4, 2400 MHz, SK Hynix, -
Memory Module: BANK 2/ChannelB-DIMM0, 8 GB, DDR4, 2400 MHz, SK Hynix, -
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x7BF), wl0: Jul 24 2019 00:02:16 version 9.30.357.3.32.5.33 FWID 01-22b80374
Bluetooth: Version 7.0.0f8, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.1 Bus
USB Device: Apple T2 Bus
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., 47.3
Thunderbolt Bus: MacBook Pro, Apple Inc., 47.3
At first it was not responding at all. After I put sudo rm -rf ~/Library/Application\ Support/Google/Chrome once, now I get the error message. (Yes, I had a version of Chrome or Chromium up and running before the reinstall).
How can I fix this? And does someone have similar problems?
I actually had a similar issue where this answer gave me a strong clue about what was wrong. In my case, I did not have a 'Chrome' folder under ~/Library/Application Support/Google/ although I did have a 'Drive' folder, as I clearly installed Google Drive before installing Chrome.
I created the 'Chrome' folder manually and, as soon as I retried opening Chrome, it populated that folder with dozens of files and started successfully.
Apparently Google developers count on Chrome being the only Google product installed when it first launches?
Sorry for being late!!
I was having the same issue and this helped:
In the Mac menu bar at the top of the screen, click Go.
Select Go to Folder.
Enter ~/Library/Application Support/Google/Chrome/ in the text field, then press Go.
Locate the folder called "Default" in the directory window that opens and rename it as "Backup default."
Try opening Google Chrome again. A new "Default" folder is automatically created as you start using the browser.
You solved it but i wanted to tell that only default folder need to be changed.
I had the same issue. Owner of the directory was root, so this command helped me
sudo chown %username%:staff ~/Library/Application Support/Google
Add user to this folder ~/Library/Application Support/Google and set read and write,It solves my problem
Related
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
...
When I try to launch the default Flutter app on my oOS simulator (version 14.5), I get an error message saying:
"Runner quit unexpectedly"
I attached the Problem Details and System Configuration report to the bottom of this post. Does anyone else have this issue or know how to fix it? I've tried wiping the simulators and creating an entirely new Flutter project but neither worked.
CrashReporter Key: IDK if this is sensitive but I'm redacting it
Hardware Model: Macmini9,1
Process: Runner [22475]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/85498A85-DCD0-4FB9-82EE-794AE9FDBD1D/data/Containers/Bundle/Application/447DA17F-A27F-4676-980A-20CACFEBC45C/Runner.app/Runner
Identifier: com.example.flutterCompleteGuide
Version: 1.0.0 (1)
Code Type: X86-64 (Native)
Role: Foreground
Parent Process: launchd_sim [22063]
Coalition: com.apple.CoreSimulator.SimDevice.85498A85-DCD0-4FB9-82EE-794AE9FDBD1D [5919]
Responsible Process: SimulatorTrampoline [2216]
Date/Time: 2021-06-15 10:42:55.3798 -0400
Launch Time: 2021-06-15 10:42:54.4896 -0400
OS Version: macOS 12.0 (21A5248p)
Release Type: User
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Region Info: 0 is not in any region. Bytes before following region: 4298858496
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
mapped file 1003b6000-1003ba000 [ 16K] r-x/r-x SM=COW ...t_id=4c916b85
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [22475]
Triggered by Thread: 0
Application Specific Information:
Thread 0 Crashed:
0 ??? 0x7ff7fff2bbd8 ???
1 <translation info unavailable> 0x1003eae5c ???
2 dyld 0x20051a88f dyld4::prepareSim(dyld4::RuntimeState&, char const*) + 890
3 dyld 0x2005196b5 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 244
4 dyld 0x2005194b4 start + 388
5 dyld 0x200514000 ???
Thread 1:: com.apple.rosetta.exceptionserver
0 ??? 0x7ff7fff18320 ???
1 ??? 0x7ff7fff311a0 ???
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000108441af8 rcx: 0x0000000000000000 rdx: 0x0000000000000001
rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x0000000108ade000
r8: 0x9894d64da077006c r9: 0x0000000000000000 r10: 0x0000000108ade000 r11: 0x0000000108901010
r12: 0x0000000000000000 r13: 0x0000000108901060 r14: 0x0000000200588080 r15: 0x0000000000000000
rip: <unavailable> rfl: 0x0000000000000283
tmp0: 0x00000001003d8c64 tmp1: 0x00000001003d7f8c tmp2: 0x0000000200532ca3
Binary Images:
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
0x200514000 - 0x20057bfff dyld (*) <4e207376-cc5d-3986-a0bd-4d09f4217e68> /usr/lib/dyld
EOF
Model: Macmini9,1, BootROM 7429.0.72.0.3, proc 8:4:4 processors, 8 GB, SMC
Graphics: kHW_AppleM1Item, Apple M1, spdisplays_builtin
Memory Module: LPDDR4
AirPort: spairport_wireless_card_type_wifi, wl0: May 4 2021 18:24:35 version 18.20.281.2.7.8.107 FWID 01-7c11bd60
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Network Service: Wi-Fi, AirPort, en1
USB Device: USB 3.1 Bus
USB Device: USB 3.1 Bus
USB Device: USB 3.0 Bus
USB Device: webcam
USB Device: Dell USB Entry Keyboard
Thunderbolt Bus: Mac mini, Apple Inc.
Thunderbolt Bus: Mac mini, Apple Inc.```
I think the cause of this Problem is macOS Monterey (macOS 12.0), which you are using after seeing the Crash-Report.
I just recently installed the new Beta (also on M1) and am sadly having the same Problem now. Maybe they fix it with the next Update, which should come in the next couple of days/weeks.
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.
Before submitting my Mac App to the App Store I am used to test the installation package following
the procedure described here:
Testing the Mac Installer Package - Apple documentation
This mainly involve archiving the app, exporting as Mac Installer Package and installing it using:
sudo installer -store -pkg .... -target /
Since I updated to Xcode 6 I always get a signature error when I start the app [EXC_CRASH (Code Signature Invalid)]:
Process: ......... [1749]
Path: /Applications/.........
Identifier: ......
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: .......... [1749]
User ID: 501
Date/Time: 2014-11-07 18:52:45.292 +0100
OS Version: Mac OS X 10.10 (14A389)
Report Version: 11
Anonymous UUID: 142A2C49-B327-E26A-0DE4-0CCB99AC1DC0
Sleep/Wake UUID: 174FDF51-B783-4172-952B-EB8E5B07D436
Time Awake Since Boot: 2700 seconds
Time Since Wake: 690 seconds
Crashed Thread: 0
Exception Type: EXC_CRASH (Code Signature Invalid)
Exception Codes: 0x0000000000000000, 0x0000000000000000
kernel messages:
VM Regions Near 0x7fff75cbe0a8 (cr2):
__LINKEDIT 00007fff68263000-00007fff68277000 [ 80K] r--/rwx SM=COW /usr/lib/dyld
--> Submap 00007fff70000000-00007fff80000000 [256.0M] r--/rwx SM=PRV process-only VM submap
unused shlib __DATA 00007fff749e7000-00007fff76f76000 [ 37.6M] rw-/rw- SM=COW system shared lib __DATA not used by this process
Thread 0 Crashed:
0 dyld 0x00007fff681f4000 _dyld_start + 0
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x000000000000000d rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x00007fff556dcb50
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
rip: 0x00007fff681f4000 rfl: 0x0000000000000201 cr2: 0x00007fff75cbe0a8
Logical CPU: 0
Error Code: 0x020000f4
Trap Number: 133
Binary Images:
0x7fff681f3000 - 0x7fff68229837 dyld (???) <4696A982-1500-34EC-9777-1EF7A03E2659> /usr/lib/dyld
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: 1226
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=300K resident=288K(96%) swapped_out_or_unallocated=12K(4%)
Writable regions: Total=8420K written=0K(0%) resident=12K(0%) swapped_out=0K(0%) unallocated=8408K(100%)
REGION TYPE VIRTUAL
=========== =======
STACK GUARD 56.0M
Stack 8192K
VM_ALLOCATE 8K
VM_ALLOCATE (reserved) 4K reserved VM address space (unallocated)
__DATA 228K
__LINKEDIT 80K
__TEXT 220K
mapped file 1044K
shared memory 4K
=========== =======
TOTAL 65.6M
TOTAL, minus reserved VM space 65.5M
Model: MacBookPro11,1, BootROM MBP111.0138.B11, 2 processors, Intel Core i7, 2.8 GHz, 16 GB, SMC 2.16f68
Graphics: Intel Iris, Intel Iris, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533641465238412D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533641465238412D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x112), Broadcom BCM43xx 1.0 (7.15.124.12.8)
Bluetooth: Version 4.3.0f10 14890, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0512F, 500.28 GB
USB Device: Internal Memory Card Reader
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 17.2
Exactly the same app as not this problem using Xcode 5.
Any suggestion?
This is getting me crazy since I am not confident to submit the app to Apple.
I eventually contacted Apple support and they answered that the procedure is:
1) Export your app as a Mac Application
2) productbuild --component <APP>.app /Applications <APP>.pkg --sign "3rd Party Mac Developer Installer:"
3) sudo installer -store -pkg <APP>.pkg -target /
The documentation doesn't mention point #2!
This doesn't seem to affect app review. If your archive is validated, you can just submit your app and it should work fine when downloaded from the app store.
Apple's Technical Q&A QA1884 document (dated 2015-01-26) covers this topic:
When I run my Mac app, it crashes immediately, and the crash log says Exception Type: EXC_CRASH (Code Signature Invalid). What is going on here?
... distribution builds of Mac apps cannot be run directly; they are for submitting to iTunes Connect for app review only.
The document suggests some work arounds.
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.