install4j gives error _CTFontCopyDefaultCascadeListForLanguages - macos

Some users with Mac OS X 10.7.5 (Lion) are getting this error when they try to install our product, which is made with Install4j v6.1 and Java 8u162 is bundled with it. It works fine on High Sierra and El Capitan (we only have those two for testing).
Google doesn't find anything about _CTFontCopyDefaultCascadeListForLanguages and I wouldn't know how I could help the users other than giving them our *.tar.gz alternative. Maybe install4j 7 has this fixed?
Some users with 10.13.3 seem to have similar problems.
Process: java [1345]
Path: /usr/bin/java
Identifier: net.java.openjdk.cmd
Version: 1.0 (1.0)
Code Type: X86-64 (Native)
Parent Process: JavaApplicationStub [1326]
Date/Time: 2018-04-01 08:40:23.614 +0200
OS Version: Mac OS X 10.7.5 (11G63)
Report Version: 9
Interval Since Last Report: 1764779 sec
Crashes Since Last Report: 380
Per-App Interval Since Last Report: 8 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: 30BEE59A-23E1-4996-A873-8C05A3B43477
Crashed Thread: 28 Java: AWT-EventQueue-0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
objc[1345]: garbage collection is OFF
Dyld Error Message:
Symbol not found: _CTFontCopyDefaultCascadeListForLanguages
Referenced from: /private/var/folders/*/jre.bundle/Contents/Home/jre/lib/libawt_lwawt.dylib
Expected in: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices

I had the same error on OS X 10.7.5. It occurred after I updated my java version and prevented me from opening certain applications on my machine. I had to revert to Java version 8u161 to get back up and running.
Download the installer file, jre-8u161-macosx-x64.dmg, from the Oracle archive:
http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html
First you may need to uninstall the existing version of java, or the installer may fail:
# Uninstall Java
sudo rm -rf /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo rm -rf /Library/PreferencePanes/JavaControlPanel.prefPane
sudo rm -rf ~/Library/Application\ Support/Java
Notes on uninstalling Java: https://java.com/en/download/help/mac_uninstall_java.xml

Referenced from: /private/var/folders/*/jre.bundle/Contents/Home/jre/lib/libawt_lwawt.dylib
This seems to be a Java problem rather than install4j problem. Do you get the same error if you start the application from the command line with the java launcher?

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

XQuartz 2.7.8 crashes on Mac OSX Yosemite 10.10.2

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

VLCJ not working on Mac - plugin libvlccore.5.dylib

I am trying to get VLCJ working on Mac and PC. It works fine under Windows 7 (64bit) but when I try to run it on my Mac it crashes. I am pointing to the correct directory for the VLC dylib files but I get an "...quit unexpectedly while using the libvlccore.5.dylib plugin" message. The details are:
Process: java [48664]
Path: /usr/bin/java
Identifier: com.apple.javajdk16.cmd
Version: 1.0 (1.0)
Code Type: X86-64 (Native)
Parent Process: java [48543]
PlugIn Path: /Applications/VLC.app/Contents/MacOS/lib/libvlccore.5.dylib
PlugIn Identifier: libvlccore.5.dylib
PlugIn Version: 7.0.0 (compatibility 7.0.0)
Date/Time: 2012-11-09 17:42:13.389 +1300
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
Interval Since Last Report: 416266 sec
Crashes Since Last Report: 2
Per-App Interval Since Last Report: 369 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: 2E883C97-CC99-4700-90ED-BA9554F46C71
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000038
Crashed Thread: 30
...
Does anyone have any ideas please?
I bet you are using the libraries of VLC 2.0.4. I was experiencing the same problems and I downgraded to 2.0.3 version. It works fine now!
I've the same problem but I checked with all VLC versions: 2.0.1, 2.0.3, 2.0.4 & 2.0.5 and it still not working.
Could you provide me your config info to try to make it work like you? MAC OSX, JAVA version, VLCj version & VLC version?
You can follow the thread on github https://github.com/caprica/vlcj/issues/138
Thanks a lot.
This has been fixed in vlc 2.0.7.
It should also be fixed in vlc 2.1.0.
If you check the NEWS file for vlc 2.0.7 you will see this:
Video output:
* Fix crash when using libvlc in 3rd party applications (Mac only)
This happened to me with latest VLC 3 (Git)
# Change dir to VLC lib
cd /Applications/VLC.app/Contents/MacOS/lib/
# Search for LC_RPATH entries
otool -l libvlc.dylib
# If not LC_RPATH entries found we can "statically" link libvlccore.dylib
install_name_tool -change #rpath/libvlccore.dylib /Applications/VLC.app/Contents/MacOS/lib/libvlccore.dylib /Applications/VLC.app/Contents/MacOS/lib/libvlc.dylib
So now if we use otool again:
otool -l libvlc.dylib
[...]
Load command 9
cmd LC_LOAD_DYLIB
cmdsize 88
name /Applications/VLC.app/Contents/MacOS/lib/libvlccore.dylib (offset 24)
time stamp 2 Thu Jan 1 01:00:02 1970
current version 9.0.0
compatibility version 9.0.0
[...]
"libvlccore.dylib" will be searched in the right dir.
It not the best solution, each time you update VLC you'll have to re-link it again, but it works!

Firefox 4 quits unexpectedly running Cucumber/Capybara/Webdriver

I just updated to the latest Firefox (4) and now our Cucumber, Capybara and Webdriver test suite is throwing errors when it tries to launch Firefox (anything marked with #javascript).
Our test suite was running fine (and fully passing) before I upgraded to Firefox 4 yesterday.
Here are the problem details as would be reported to Apple (I'm on a Mac):
Process: firefox-bin [756]
Path: /Applications/Firefox.app/Contents/MacOS/firefox-bin
Identifier: firefox-bin
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: ruby [656]
Interval Since Last Report: 74 sec
Crashes Since Last Report: 5
Per-App Interval Since Last Report: 0 sec
Per-App Crashes Since Last Report: 5
Date/Time: 2011-03-23 07:52:28.298 -0700
OS Version: Mac OS X 10.5.8 (9L31a)
Report Version: 6
Anonymous UUID: 8DC774A8-BD92-4645-8720-2D39B03B36AF
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0
Dyld Error Message:
unknown required load command 0x80000022
I haven't been able to find any other reference of this issue online and don't know where to start with troubleshooting it...
Any help is greatly appreciated. Thanks.
Update: after going back to 3.6 things work again. It seems the problem is specifically with Firefox 4 (both via update and directly from the site).
This is an issue with Firefox when launched from the command line on 10.5. It has been reported to Mozilla, but closed as WONTFIX.
Obviously not the ideal solution, but you can work around this by stripping the x86_64 parts of the firefox-bin binary:
cd /Applications/Firefox.app/Contents/MacOS
mv firefox-bin firefox-bin.original
ditto --arch i386 firefox-bin.original firefox-bin

Resources