-
Notifications
You must be signed in to change notification settings - Fork 148
Description
I'm submitting a…
- bug report
- feature request
- other
Short description of the issue/suggestion:
Build DMG using 1.6.5 (the latest release) but the application cannot be opened after finishing DMG installation on Mac.
It works perfectly with 1.6.3 or any version before it but doesn't work with 1.6.4 and 1.6.5
Steps to reproduce the issue/enhancement:
- Build DMG using 1.6.5
- Install with the recently built DMG
- The installed application cannot be opened anymore
What is the expected behavior?
Clicking on the application after having it installed from the DMG file, the application opens normally
What is the current behavior?
Clicking on the application after having it installed from the DMG file, the application exits unexpectedly
Do you have outputs, screenshots, demos or samples which demonstrate the problem or enhancement?
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: java [15711]
Path: /Applications/OSGi.fx.app/Contents/MacOS/universalJavaApplicationStub
Identifier: java
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 503
Date/Time: 2022-04-05 13:52:59.7259 +0200
OS Version: macOS 12.1 (21C52)
Report Version: 12
Bridge OS Version: 6.1 (19P647)
Anonymous UUID: D81ECA0D-114D-03DC-A6CC-DF084E8A619D
Sleep/Wake UUID: C34800F9-286C-4573-BC33-D5431968F6D5
Time Awake Since Boot: 21000 seconds
Time Since Wake: 21048 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: @rpath/libjli.dylib
Referenced from: /Applications/OSGi.fx.app/Contents/PlugIns/jre/Contents/Home/bin/java
Reason: tried: '/Applications/OSGi.fx.app/Contents/PlugIns/jre/Contents/Home/bin/./libjli.dylib' (no such file), '/Applications/OSGi.fx.app/Contents/PlugIns/jre/Contents/Home/bin/../lib/libjli.dylib' (code signature in <366E8331-0250-383A-B5D7-C02420BA71E5> '/Applications/OSGi.fx.app/Contents/PlugIns/jre/Contents/Home/lib/libjli.dylib' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '/Applications/OSGi.fx.app/Contents/PlugIns/jre/Contents/Home/bin/./libjli.dylib' (no such file), '/Applications/OSGi.fx.app/Contents/PlugIns/jre/Contents/Home/bin/../lib/libjli.dylib' (code signature in <366E8331-0250-383A-B5D7-C02420BA71E5> '/Applications/OSGi.fx.app/Contents/PlugIns/jre/Contents/Home/lib/libjli.dylib' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with cust
(terminated at launch; ignore backtrace)
Application Specific Information:
Library not loaded: @rpath/libjli.dylib
Referenced from: /Applications/OSGi.fx.app/Contents/PlugIns/jre/Contents/Home/bin/java
Reason: tried: '/Applications/OSGi.fx.app/Contents/PlugIns/jre/Contents/Home/bin/./libjli.dylib' (no such file), '/Applications/OSGi.fx.app/Contents/PlugIns/jre/Contents/Home/bin/../lib/libjli.dylib' (code signature in <366E8331-0250-383A-B5D7-C02420BA71E5> '/Applications/OSGi.fx.app/Contents/PlugIns/jre/Contents/Home/lib/libjli.dylib' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '/Applications/OSGi.fx.app/Contents/PlugIns/jre/Contents/Home/bin/./libjli.dylib' (no such file), '/Applications/OSGi.fx.app/Contents/PlugIns/jre/Contents/Home/bin/../lib/libjli.dylib' (code signature in <366E8331-0250-383A-B5D7-C02420BA71E5> '/Applications/OSGi.fx.app/Contents/PlugIns/jre/Contents/Home/lib/libjli.dylib' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with cust
Thread 0 Crashed:
0 dyld 0x10acaa0ce __abort_with_payload + 10
1 dyld 0x10acc01cf abort_with_payload_wrapper_internal + 80
2 dyld 0x10acc0201 abort_with_payload + 9
3 dyld 0x10ac6e613 dyld4::halt(char const*) + 375
4 dyld 0x10ac6a55d dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3955
5 dyld 0x10ac694b4 start + 388
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000002000209 rbx: 0x0000000000000000 rcx: 0x00007ff7bf900438 rdx: 0x00007ff7bf9008a0
rdi: 0x0000000000000006 rsi: 0x0000000000000001 rbp: 0x00007ff7bf900480 rsp: 0x00007ff7bf900438
r8: 0x00007ff7bf9004a0 r9: 0x0000000000000000 r10: 0x000000000000006e r11: 0x0000000000000246
r12: 0x000000000000006e r13: 0x00007ff7bf9008a0 r14: 0x0000000000000001 r15: 0x0000000000000006
rip: 0x000000010acaa0ce rfl: 0x0000000000000246 cr2: 0x000000010ac70e3c
Logical CPU: 0
Error Code: 0x02000209
Trap Number: 133
Binary Images:
0x10ac64000 - 0x10accffff dyld (*) <cef5a27a-d50b-3020-af03-1734b19bc8c5> /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: 0
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=652K resident=0K(0%) swapped_out_or_unallocated=652K(100%)
Writable regions: Total=9220K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=9220K(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
STACK GUARD 56.0M 1
Stack 8192K 1
VM_ALLOCATE 12K 3
__DATA 20K 2
__DATA_CONST 80K 1
__LINKEDIT 240K 4
__TEXT 436K 2
dyld private memory 1024K 1
=========== ======= =======
TOTAL 65.8M 15
-----------
Full Report
-----------
{"app_name":"java","timestamp":"2022-04-05 13:52:59.00 +0200","app_version":"","slice_uuid":"055cde84-0613-3803-9cb9-4e216b81e0ed","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 12.1 (21C52)","incident_id":"983788D7-E033-4EBF-B4C0-64FA1D8AB506","name":"java"}
{
"uptime" : 21000,
"procLaunch" : "2022-04-05 13:52:55.6567 +0200",
"procRole" : "Background",
"version" : 2,
"userID" : 503,
"deployVersion" : 210,
"modelCode" : "MacBookPro15,2",
"procStartAbsTime" : 21243264570265,
"coalitionID" : 4319,
"osVersion" : {
"train" : "macOS 12.1",
"build" : "21C52",
"releaseType" : "User"
},
"captureTime" : "2022-04-05 13:52:59.7259 +0200",
"incident" : "983788D7-E033-4EBF-B4C0-64FA1D8AB506",
"bug_type" : "309",
"pid" : 15711,
"procExitAbsTime" : 21247333361034,
"cpuType" : "X86-64",
"procName" : "java",
"procPath" : "\/Applications\/OSGi.fx.app\/Contents\/MacOS\/universalJavaApplicationStub",
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.osgifx",
"crashReporterKey" : "D81ECA0D-114D-03DC-A6CC-DF084E8A619D",
"wakeTime" : 21048,
"bridgeVersion" : {"build":"19P647","train":"6.1"},
"sleepWakeUUID" : "C34800F9-286C-4573-BC33-D5431968F6D5",
"sip" : "enabled",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"termination" : {"code":1,"flags":518,"namespace":"DYLD","indicator":"Library missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Library not loaded: @rpath\/libjli.dylib","Referenced from: \/Applications\/OSGi.fx.app\/Contents\/PlugIns\/jre\/Contents\/Home\/bin\/java","Reason: tried: '\/Applications\/OSGi.fx.app\/Contents\/PlugIns\/jre\/Contents\/Home\/bin\/.\/libjli.dylib' (no such file), '\/Applications\/OSGi.fx.app\/Contents\/PlugIns\/jre\/Contents\/Home\/bin\/..\/lib\/libjli.dylib' (code signature in <366E8331-0250-383A-B5D7-C02420BA71E5> '\/Applications\/OSGi.fx.app\/Contents\/PlugIns\/jre\/Contents\/Home\/lib\/libjli.dylib' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '\/Applications\/OSGi.fx.app\/Contents\/PlugIns\/jre\/Contents\/Home\/bin\/.\/libjli.dylib' (no such file), '\/Applications\/OSGi.fx.app\/Contents\/PlugIns\/jre\/Contents\/Home\/bin\/..\/lib\/libjli.dylib' (code signature in <366E8331-0250-383A-B5D7-C02420BA71E5> '\/Applications\/OSGi.fx.app\/Contents\/PlugIns\/jre\/Contents\/Home\/lib\/libjli.dylib' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with cust"]},
"asi" : {"dyld":["Library not loaded: @rpath\/libjli.dylib","Referenced from: \/Applications\/OSGi.fx.app\/Contents\/PlugIns\/jre\/Contents\/Home\/bin\/java","Reason: tried: '\/Applications\/OSGi.fx.app\/Contents\/PlugIns\/jre\/Contents\/Home\/bin\/.\/libjli.dylib' (no such file), '\/Applications\/OSGi.fx.app\/Contents\/PlugIns\/jre\/Contents\/Home\/bin\/..\/lib\/libjli.dylib' (code signature in <366E8331-0250-383A-B5D7-C02420BA71E5> '\/Applications\/OSGi.fx.app\/Contents\/PlugIns\/jre\/Contents\/Home\/lib\/libjli.dylib' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '\/Applications\/OSGi.fx.app\/Contents\/PlugIns\/jre\/Contents\/Home\/bin\/.\/libjli.dylib' (no such file), '\/Applications\/OSGi.fx.app\/Contents\/PlugIns\/jre\/Contents\/Home\/bin\/..\/lib\/libjli.dylib' (code signature in <366E8331-0250-383A-B5D7-C02420BA71E5> '\/Applications\/OSGi.fx.app\/Contents\/PlugIns\/jre\/Contents\/Home\/lib\/libjli.dylib' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with cust"]},
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":272997,"threadState":{"r13":{"value":140702047537312},"rax":{"value":33554953},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":1},"r8":{"value":140702047536288},"cr2":{"value":4475784764},"rdx":{"value":140702047537312},"r10":{"value":110},"r9":{"value":0},"r15":{"value":6},"rbx":{"value":0},"trap":{"value":133},"err":{"value":33554953},"r11":{"value":582},"rip":{"value":4476018894,"matchesCrashFrame":1},"rbp":{"value":140702047536256},"rsp":{"value":140702047536184},"r12":{"value":110},"rcx":{"value":140702047536184},"flavor":"x86_THREAD_STATE","rdi":{"value":6}},"frames":[{"imageOffset":286926,"symbol":"__abort_with_payload","symbolLocation":10,"imageIndex":0},{"imageOffset":377295,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":80,"imageIndex":0},{"imageOffset":377345,"symbol":"abort_with_payload","symbolLocation":9,"imageIndex":0},{"imageOffset":42515,"symbol":"dyld4::halt(char const*)","symbolLocation":375,"imageIndex":0},{"imageOffset":25949,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":3955,"imageIndex":0},{"imageOffset":21684,"symbol":"start","symbolLocation":388,"imageIndex":0}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "x86_64",
"base" : 4475731968,
"size" : 442368,
"uuid" : "cef5a27a-d50b-3020-af03-1734b19bc8c5",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
}
],
"sharedCache" : {
"base" : 140703484620800,
"size" : 15216738304,
"uuid" : "40432a03-88d3-305f-9c0c-e7549e71d927"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=652K resident=0K(0%) swapped_out_or_unallocated=652K(100%)\nWritable regions: Total=9220K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=9220K(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nSTACK GUARD 56.0M 1 \nStack 8192K 1 \nVM_ALLOCATE 12K 3 \n__DATA 20K 2 \n__DATA_CONST 80K 1 \n__LINKEDIT 240K 4 \n__TEXT 436K 2 \ndyld private memory 1024K 1 \n=========== ======= ======= \nTOTAL 65.8M 15 \n",
"legacyInfo" : {
"threadTriggered" : {
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "60da5e84ab0ca017dace9abf",
"factorPackIds" : {
},
"deploymentId" : 240000008
},
{
"rolloutId" : "607844aa04477260f58a8077",
"factorPackIds" : {
"SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a"
},
"deploymentId" : 240000066
},
{
"rolloutId" : "602ad4dac86151000cf27e46",
"factorPackIds" : {
"SIRI_DICTATION_ASSETS" : "6193d03f2171a2330e561dfc"
},
"deploymentId" : 240000303
},
{
"rolloutId" : "601d9415f79519000ccd4b69",
"factorPackIds" : {
"SIRI_TEXT_TO_SPEECH" : "621d4d0f680160486b9e1c98"
},
"deploymentId" : 240000416
},
{
"rolloutId" : "60356660bbe37970735c5624",
"factorPackIds" : {
},
"deploymentId" : 240000027
},
{
"rolloutId" : "5ffde50ce2aacd000d47a95f",
"factorPackIds" : {
},
"deploymentId" : 240000128
},
{
"rolloutId" : "5fb4245a1bbfe8005e33a1e1",
"factorPackIds" : {
},
"deploymentId" : 240000014
},
{
"rolloutId" : "5fc94383418129005b4e9ae0",
"factorPackIds" : {
},
"deploymentId" : 240000313
}
],
"experiments" : [
]
}
}
Model: MacBookPro15,2, BootROM 1715.60.5.0.0 (iBridge: 19.16.10647.0.0,0), 4 processors, Quad-Core Intel Core i5, 2,4 GHz, 16 GB, SMC
Graphics: Intel Iris Plus Graphics 655, Intel Iris Plus Graphics 655, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: BANK 0/ChannelA-DIMM0, 8 GB, LPDDR3, 2133 MHz, Samsung, K4EBE304EC-EGCG
Memory Module: BANK 2/ChannelB-DIMM0, 8 GB, LPDDR3, 2133 MHz, Samsung, K4EBE304EC-EGCG
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x7BF), wl0: Jul 12 2021 19:26:30 version 9.30.464.0.32.5.76 FWID 01-45ccefcd
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: T2Bus
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.5
Thunderbolt Bus: MacBook Pro, Apple Inc., 47.5
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
- JavaPackager version: 1.6.5
- OS version: 12.1
- JDK version: 17.0.2
- Build tool:
- Maven
- Gradle
Other information (e.g. related issues, suggestions how to fix, links for us to have context)
If you are wondering why I am not using jpackage, there is a strong reason for it. I have been banging my head around about a month but the application after having installed from the DMG built by jpackage cannot be opened at all. It can only be opened if I start the application from command line. But it works perfectly if I use JavaPackager. That's why I had to switch to JavaPacakger once again.
