native Java Application Stub closed unexpectedly

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

native Java Application Stub closed unexpectedly

elenter
Hi,
I tried to open AIJ, and this message error appeared: The aplication “AstroimageJ” can not be open” and "nativeJavaApplicationStub closed unexpectedly "

I had this kind of problem in the past (more than once), which obliged me to uninstall and install again AIJ…, If I install it again it works properly again...Somebody has any tip to avoid this problem?

I have a MacBook Pro 2,3 GHz Intel Core i7, 16 GB 3733 MHz LPDDR4X, (Sonoma 14.6.1).

Best regards,



and the report of the problem  is the following

Translated Report (Full Report Below)
-------------------------------------

Incident Identifier: B79D41DA-8DA9-4F90-92B1-D60CD051BA2B
CrashReporter Key:   A7448BEA-135E-BFE7-9344-12D151EEAA24
Hardware Model:      MacBookPro16,2
Process:             nativeJavaApplicationStub [10257]
Path:                /Applications/AstroImageJ.app/Contents/MacOS/nativeJavaApplicationStub
Identifier:          AstroImageJ
Version:             db5.4.3 (db5.4.3)
Code Type:           X86-64 (Native)
Role:                Default
Parent Process:      launchd [1]
Coalition:           AstroImageJ [9307]

Date/Time:           2025-03-03 13:04:25.9757 -0300
Launch Time:         2025-03-03 13:04:25.9235 -0300
OS Version:          macOS 14.6.1 (23G93)
Release Type:        User
Report Version:      104

Exception Type:  EXC_CRASH (SIGKILL (Code Signature Invalid))
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: CODESIGNING 1 Taskgated Invalid Signature

Triggered by Thread:  0

Thread 0 Crashed:
0   dyld_path_missing                   0x110038010 _dyld_start + 0
1   ???                                         0x1 ???


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x00007ff7aff2cb90
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
  rip: 0x0000000110038010  rfl: 0x0000000000000200  cr2: 0x0000000000000000
 
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     0


Binary Images:
       0x110033000 -        0x1100c3fff dyld_path_missing (*) <18f658dd-20f3-324d-b7ac-8a9c60b574b3> /dyld_path_missing
       0x10ffd3000 -        0x10ffd9fff main_executable_path_missing (*) <87cab1ee-a4b7-35c9-afba-04e239cf2e61> /main_executable_path_missing
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

Error Formulating Crash Report:
dyld_process_snapshot_get_shared_cache failed

EOF

-----------
Full Report
-----------

{"app_name":"nativeJavaApplicationStub","timestamp":"2025-03-03 13:04:25.00 -0300","app_version":"db5.4.3","slice_uuid":"87cab1ee-a4b7-35c9-afba-04e239cf2e61","build_version":"db5.4.3","platform":0,"bundleID":"AstroImageJ","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.6.1 (23G93)","roots_installed":0,"name":"nativeJavaApplicationStub","incident_id":"B79D41DA-8DA9-4F90-92B1-D60CD051BA2B"}
{
  "uptime" : 67000,
  "procRole" : "Default",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro16,2",
  "coalitionID" : 9307,
  "osVersion" : {
    "train" : "macOS 14.6.1",
    "build" : "23G93",
    "releaseType" : "User"
  },
  "captureTime" : "2025-03-03 13:04:25.9757 -0300",
  "codeSigningMonitor" : 0,
  "incident" : "B79D41DA-8DA9-4F90-92B1-D60CD051BA2B",
  "pid" : 10257,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2025-03-03 13:04:25.9235 -0300",
  "procStartAbsTime" : 67826656523411,
  "procExitAbsTime" : 67826708241752,
  "procName" : "nativeJavaApplicationStub",
  "procPath" : "\/Applications\/AstroImageJ.app\/Contents\/MacOS\/nativeJavaApplicationStub",
  "bundleInfo" : {"CFBundleShortVersionString":"db5.4.3","CFBundleVersion":"db5.4.3","CFBundleIdentifier":"AstroImageJ"},
  "storeInfo" : {"deviceIdentifierForVendor":"9F79C540-6305-5F4F-A072-BA7EC8ADD9BD","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "AstroImageJ",
  "crashReporterKey" : "A7448BEA-135E-BFE7-9344-12D151EEAA24",
  "lowPowerMode" : 1,
  "codeSigningID" : "",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 16777216,
  "codeSigningValidationCategory" : 0,
  "codeSigningTrustLevel" : 4294967295,
  "wakeTime" : 2906,
  "bridgeVersion" : {"build":"21P6074","train":"8.6"},
  "sleepWakeUUID" : "9D11BCC1-4B33-4F22-B89F-3CCE67C22D6B",
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGKILL (Code Signature Invalid)"},
  "termination" : {"flags":66,"code":1,"namespace":"CODESIGNING","indicator":"Taskgated Invalid Signature"},
  "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":647261,"threadState":{"r13":{"value":0},"rax":{"value":0},"rflags":{"value":512},"cpu":{"value":0},"r14":{"value":0},"rsi":{"value":0},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":0},"r10":{"value":0},"r9":{"value":0},"r15":{"value":0},"rbx":{"value":0},"trap":{"value":0},"err":{"value":0},"r11":{"value":0},"rip":{"value":4563632144,"matchesCrashFrame":1},"rbp":{"value":0},"rsp":{"value":140701785574288},"r12":{"value":0},"rcx":{"value":0},"flavor":"x86_THREAD_STATE","rdi":{"value":0}},"frames":[{"imageOffset":20496,"symbol":"_dyld_start","symbolLocation":0,"imageIndex":0},{"imageOffset":1,"imageIndex":2}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4563611648,
    "size" : 593920,
    "uuid" : "18f658dd-20f3-324d-b7ac-8a9c60b574b3",
    "path" : "\/dyld_path_missing",
    "name" : "dyld_path_missing"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4563218432,
    "size" : 28672,
    "uuid" : "87cab1ee-a4b7-35c9-afba-04e239cf2e61",
    "path" : "\/main_executable_path_missing",
    "name" : "main_executable_path_missing"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "vmSummary" : "ReadOnly portion of Libraries: Total=936K resident=0K(0%) swapped_out_or_unallocated=936K(100%)\nWritable regions: Total=8200K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8200K(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                       56.0M        1 \nStack                             8192K        1 \nVM_ALLOCATE                          4K        1 \n__DATA                              20K        3 \n__DATA_CONST                        24K        1 \n__DATA_DIRTY                         8K        2 \n__LINKEDIT                         336K        4 \n__TEXT                             608K        2 \nmapped file                        3.9G       24 \nshared memory                        8K        2 \n===========                     =======  ======= \nTOTAL                              4.0G       41 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "ef7f095cd8bd33854854069795c253d5a4252941",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "60186475825c62000ccf5450",
      "factorPackIds" : {

      },
      "deploymentId" : 240000083
    },
    {
      "rolloutId" : "62699e1ec1ff2978b47f6c3b",
      "factorPackIds" : {
        "SIRI_FIND_MY_CONFIGURATION_FILES" : "652805151bce5442b8d752e1"
      },
      "deploymentId" : 240000031
    }
  ],
  "experiments" : [

  ]
},
  "reportNotes" : [
  "dyld_process_snapshot_get_shared_cache failed"
]
}

Model: MacBookPro16,2, BootROM 2022.140.5.0.0 (iBridge: 21.16.6074.0.0,0), 4 processors, Quad-Core Intel Core i7, 2,3 GHz, 16 GB, SMC
Graphics: Intel Iris Plus Graphics, Intel Iris Plus Graphics, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Display: C24F390, 1920 x 1080 (1080p FHD - Full High Definition), MirrorOff, Online
Memory Module: BANK 0/ChannelA-DIMM0, 8 GB, LPDDR4X, 3733 MHz, Samsung, K4UBE3D4AA-MGCL
Memory Module: BANK 2/ChannelB-DIMM0, 8 GB, LPDDR4X, 3733 MHz, Samsung, K4UBE3D4AA-MGCL
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x7BF), wl0: Jul 10 2023 12:53:18 version 9.30.503.0.32.5.92 FWID 01-c06f991b
AirPort:
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB C Video Adaptor
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., 86.0
Thunderbolt Bus: MacBook Pro, Apple Inc., 86.0
Reply | Threaded
Open this post in threaded view
|

Re: native Java Application Stub closed unexpectedly

karenacollins
Administrator
This problem should be fixed after installing the appropriate v5.4.1.00 installation package for your hardware from the UofL website:
https://www.astro.louisville.edu/software/astroimagej/installation_packages

Note: Using the update feature within AIJ will not resolve the problem. You must perform a new installation using the appropriate dmg file from the install package website. After the new install is performed, you can again use the update feature for future updates.

Can you please let us know if you have for sure reinstalled the v5.4.1.00 new installation package, rather than installing an older package and then updating? We think that you have installed 5.4.1 from scratch, but want to make sure.

Karen
Reply | Threaded
Open this post in threaded view
|

Re: native Java Application Stub closed unexpectedly

karenacollins
Administrator
Also, our test Macs are running Sequoia 15.3.2, so we are unable to test with Sonoma 14.6.1, but we don't expect a difference in behavior between the two. Nevertheless, if you have already tried the new AIJ installation package, have you considered updating to Sequoia to see if it makes a difference?

Karen
Reply | Threaded
Open this post in threaded view
|

Re: native Java Application Stub closed unexpectedly

elenter
In reply to this post by karenacollins
Hi Karen, thanks for the suggestions.

Usually I install the latest version, so I was using v5.5.0.00-mac-x86_64Bit.dmg but following your suggestion, i tried the older one: v5.4.1.00-mac-arm_64Bit.dmg

But the same problem arise again....I just can use the app once, and then i cant be opened again. Everytime I have to download it again, and then it works (for 1 usage).

Maybe I can update to Sequoia and try again...

Best regards,

Ernesto
Reply | Threaded
Open this post in threaded view
|

Re: native Java Application Stub closed unexpectedly

karenacollins
Administrator
Using v5.5.0.00-mac-x86_64Bit.dmg is fine. It was published shortly after I wrote this post. We thought we had this fixed with the new launch since others that reported the problem have not reported back any issues, and we haven't seen it one our Macs. If you do update to Sequioa and the problem goes away, please do let us know here. In the meantime we'll be considering what could be different between machines.

Does the problem possibly happen after updating AIJ via the built-in Update feature (i.e. after installing the new install package and then updating)? I'm not getting the idea that you are running the update after the fresh install, but wanted to make sure.

Karen