XQuartz 2.7.8 crashes on Mac OSX Yosemite 10.10.2 - macos

I've been running XQuartz for years on several macs, but ver since I upgraded my iMac to Yosemite (now at 10.10.2) I can't get XQuartz to run at all. I've tried re-installing and upgrading XQuartz, even tried the 2.7.8_beta3, but the result is always the same - the upgrade/install itself succeeds, but when I try to launch it, it crashes. Below I've included the beginning of the error report; I've been messing around with DYLD_LIBRARY_PATH, it's possible that I've just made matters worse. Can anyone suggest a way to trouble-shoot this?
Thanks - Ed
Process: X11.bin [2078]
Path: /Applications/Utilities/XQuartz.app/Contents/MacOS/X11
Identifier: org.macosforge.xquartz.X11
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: X11.bin [2078]
User ID: 501
Date/Time: 2015-02-18 20:01:37.258 -0500
OS Version: Mac OS X 10.10.2 (14C109)
Report Version: 11
Anonymous UUID: 33386A03-9014-59C0-C36D-8C75B81D38D0
Time Awake Since Boot: 100000 seconds
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=.:/opt/X11/lib/
Dyld Error Message:
Symbol not found: _gll_noop
Referenced from: /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
Expected in: /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
in /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
Binary Images:
0x100261000 - 0x10026eff7 +libXplugin.1.dylib (1) <11FC918E-BF12-3629-8766-5B89A7B51EC4> /opt/X11/*/libXplugin.1.dylib

Related

Unable to launch Xcode 13 beta 1 and/or 2 on macOS Big Sur 11.4

I'm trying to install Xcode 13 beta on my MacBook Pro with macOS Big Sur 11.4. Here's what I did so far:
I downloaded Xcode 13 beta 2 from https://developer.apple.com/download/
Double click on the file, and then moved Xcode-beta.app to Macintosh HD/Applications
Tried to open it, but I get an error that says:
Unable to open Xcode-beta.app due to a problem.
Check with the developer to make sure Xcode-beta.app works with this version of macOS. You may need to reinstall the application. Make sure you install all available updates for the application and for macOS.
Click Report to view more detailed information and send a report to Apple.
And when I click to get more info I get this:
Process: Xcode [2153]
Path: /Applications/Xcode-beta.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 13.0 (19161.15)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [2153]
User ID: 501
Date/Time: 2021-06-28 09:23:54.342 +0200
OS Version: macOS 11.4 (20F71)
Report Version: 12
Bridge OS Version: 5.4 (18P4663)
Anonymous UUID: BF2F0872-D13E-DC73-9E8D-911CD7D080B3
Sleep/Wake UUID: 9EB93895-E33C-4EA2-96CD-FF88026D93E8
Time Awake Since Boot: 23000 seconds
Time Since Wake: 4800 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
dyld: Using shared cache: 4A889CE9-8D7E-304E-A5F7-84D819B0BF9C
Library not loaded: #rpath/XCTest.framework/Versions/A/XCTest
Referenced from: /Applications/Xcode-beta.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/DVTKit
Reason: image not found
Binary Images:
//Here there's an infinite list of binary images such as:
0x10c13f000 - 0x10c142fff com.apple.dt.Xcode (13.0 - 19161.15) <D505A1C0-5E95-3233-AB86-65959A8DE250> /Applications/Xcode-beta.app/Contents/MacOS/Xcode
I don't know how to solve this. I've seen other people that had a problem with antiviruses that blocked the app, but I don't have any installed. Many solutions I've seen require Xcode to be launched and set some preferences in the app's settings, but I can't launch Xcode so I can't try these solutions. I tried all the following commands:
sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer
xcode-select --install
sudo xcode-select -switch /Library/Developer/CommandLineTools
sudo xcodebuild -license accept
I tried all this with Xcode 13 beta 1 and beta 2, I tried deleting them and re-downloading them and trying everything again, but nothing seems to work. Is there anyone that knows how can I make it work?

VS Code Stop Support for Yosemite Mac OS 10.10 as Electron fails

I was using VS Code on Mac OS 10.10.5 Yosemite, without problems but even though at VS Code's site there's a claim that it works on version 10.10+, it seems there was a change because after I installed and linked it to Anaconda, first it failed to load and now is also giving an error when I opened Electron, inside the package it returned this
Process: Electron [2136]
Path: /Applications/Visual Studio Code.app/Contents/MacOS/Electron
Identifier: Electron
Version: ???
Code Type: X86-64 (Native)
Parent Process: bash [1969]
Responsible: Terminal [388]
User ID: 501
Date/Time: 2021-05-13 00:53:58.380 -0300
OS Version: Mac OS X 10.10.5 (14F2511)
Report Version: 11
Anonymous UUID: 4A727D22-D456-25CE-01E7-5229FC050D38
Sleep/Wake UUID: 00E47028-065E-46DE-A826-6A0637E80EF6
Time Awake Since Boot: 44000 seconds
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Symbol not found: ___NSArray0__
Referenced from: /Applications/Visual Studio Code.app/Contents/MacOS/../Frameworks/ReactiveObjC.framework/ReactiveObjC (which was built for Mac OS X 10.11)
Expected in: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
in /Applications/Visual Studio Code.app/Contents/MacOS/../Frameworks/ReactiveObjC.framework/ReactiveObjC
and also the same information is in Terminal if you run Electron
Referenced from: /Applications/Visual Studio Code.app/Contents/MacOS/../Frameworks/ReactiveObjC.framework/ReactiveObjC (which was built for Mac OS X 10.11)
so it seems they quietly discontinued support for Mac OS 10.10 Yosemite ...
When I tried to open the app using the finder I got an alert saying 'this is an application for Mac OS 10.11 an onwards ...', among other things.
I downloaded the Jan2021 older version of VS code and was able to successfully download and launch it. https://code.visualstudio.com/updates/v1_53
I have tried several version by now and can safely say that:
March 2021 (version 1.55) is last supported version for OS X 10.10.5 (Yosemite)
https://code.visualstudio.com/updates/v1_55

Castlabs electron app breaks when running on certain MacOS versions

I have developed a DRM playback app using the Castlabs electron fork for Content Security (https://github.com/castlabs/electron-releases) on MacOS High Sierra. I am receiving reports of the application failing to start on some MacOS versions with the following error message:
Process: indee [52975]
Path: /Applications/indee.app/Contents/MacOS/indee
Identifier: com.electron.indee
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: indee [52975]
User ID: 503
Date/Time: 2019-02-25 20:25:09.463 +0530
OS Version: Mac OS X 10.11.6 (15G31)
Report Version: 11
Anonymous UUID: 4BF915F3-40DA-0ABC-3930-F21B00CF3FD7
Sleep/Wake UUID: 69FABBB3-0032-4519-81B0-0CB25B679ACC
Time Awake Since Boot: 650000 seconds
Time Since Wake: 240 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Symbol not found: _kSecAttrKeyTypeECSECPrimeRandom
Referenced from: /Applications/indee.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework
Expected in: /System/Library/Frameworks/Security.framework/Versions/A/Security
in /Applications/indee.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework
From what I can tell, this issue is not consistently reproducible across different Macs running the same macOS version but it is common enough that it is creating problems. How do I fix this?
For reference, a couple of issues reported in electron-releases discusses the cause and solution for this problem: #34 and #30.
In short, this problem occurs when a build is using an older version of the MacOSX10.12 SDK where the availability macros are incorrectly indicating availability of the kSecAttrKeyTypeECSECPrimeRandom symbol on target os versions where it is not. This causes non-weak linking to be used for the symbol, effectively making it required, and thus causes failure on systems where it is missing (i.e. systems prior to 10.12 - Sierra). The solution for us was to use a corrected version of the MacOSX10.12 SDK, such as the one provided with Xcode 8.3.3, when building our releases.

Xcode 6.3.1 quit unexpectedly

I'm getting an error Xcode 6.3.1 quit unexpectedly whenever Xcode is opened. This was working fine till last night. I have tried restart system but didn't worked. Reinstalling won't be feasible approach since I have downloaded simulator and documentations (approx 8GB of data).
Below is details of error :
Process: Xcode [816]
Path: /Applications/Xcode 6.3.1.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.3.1 (7703)
Build Info: IDEFrameworks-7703000000000000~4
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [816]
User ID: 501
Date/Time: 2015-05-29 12:05:22.140 +0530
OS Version: Mac OS X 10.10.3 (14D136)
Report Version: 11
Anonymous UUID: ...
Time Awake Since Boot: 4600 seconds
Crashed Thread: 6 Dispatch queue: gputools.DYKeyedUnarchiver.0x112ce03e0
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00007fffc6fbc3af
...
Remove any 3rd party plugins that you had installed with xcode and it should work fine.
This is probably because of DYKeyedUnarchiver.h. So remove it, restart system and try reopening xcode.
Now, it's working fine. Simply kept system shut-down for sometime. Maybe shutdown have reset all settings of Mac.

App crashing when executed in OS X 10.7 environment

I developped a MacOS application under XCode latest version, and am running OS X Mavericks 10.9.
One version of my app is compiled for OSX 10.7, and another one for 10.8 & 10.9.People running under these 2 last OSes have no issue, when people running under OSX 10.7 have a crash upon startup.
I am not sure how the crash report can help me to understand what's going wrong.
Could someone help me to understand where the issue comes from or explain how I can simulate an execution under OSX 10.7 to see where it is crashing ?
Process: MyAPP [37535]
Path: /Applications/Utilities/MyAPP.app/Contents/MacOS/MyAPP
Identifier: PS2F.MyAPP
Version: 15 (1)
Code Type: X86-64 (Native)
Parent Process: launchd [139]
Date/Time: 2014-08-28 12:19:44.107 +0200
OS Version: Mac OS X 10.7.5 (11G63)
Report Version: 9
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Symbol not found: _OBJC_IVAR_$_NSView._layer
Referenced from: /Applications/Utilities/MyAPP.app/Contents/MacOS/MyAPP
Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
in /Applications/Utilities/MyAPP.app/Contents/MacOS/MyAPP
Binary Images:
0x10000e000 - 0x100034fff +PS2F.MyAPP (15 - 1) <A4548892-EFDE-367F-912F-3791E4EBEF21> /Applications/Utilities/MyAPP.app/Contents/MacOS/MyAPP
0x7fff5fc0e000 - 0x7fff5fc42baf dyld (195.6 - ???) <C58DAD8A-4B00-3676-8637-93D6FDE73147> /usr/lib/dyld
0x7fff84843000 - 0x7fff8484efff com.apple.CommonAuth (2.2 - 2.0) <4F5302A5-867A-3F2E-9E4B-98FA011678F8> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
[...]
Thanks.

Resources