jabref icon indicating copy to clipboard operation
jabref copied to clipboard

[WIP] Enable Java EA builds and prepare JDK 26

Open koppor opened this issue 5 months ago • 46 comments

Final TODOs.

  • [ ] Wait for https://github.com/JabRef/jabref/pull/14057 being merged to main
  • [ ] Merge main to here -- https://github.com/koppor/magic-merge-commit/
  • [ ] Switch off JDK EA builds for normal pushes (binaries.yml -> echo "eaJdk=true" >> "$GITHUB_OUTPUT" to false for the stable version

Tests:

  • [ ] Icon of DMG right
  • [ ] Icon of .bib files right - if not, we need to create a second jabref-bibtex.icns file with a different name than the application icon and relink in bibtexAssociations.properties.

This PR builds on https://github.com/JabRef/jabref/pull/14057.

This PR tries to enable EA builds - to be able to report back to be able to report earlier to https://wiki.openjdk.org/display/quality/Quality+Outreach.


Eclipse Temurin's binaries should soon be available:

image

WIP, because Temurin is not yet available. AKA blocked by https://github.com/adoptium/temurin/issues/96.

Hopefully, we can go back to Temurin (refs https://github.com/adoptium/adoptium-support/issues/1271#issuecomment-3155899373 and https://github.com/JabRef/jabref/pull/13749

Uses "latest" for the dev container to reduce the places where we need to adapt version numbers.

Refs https://github.com/JabRef/jabref/pull/13933

Maybe related issues

  • https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8188763

Steps to test

Run JabRef 😅

Mandatory checks

  • [x] I own the copyright of the code submitted and I license it under the MIT license
  • [/] I manually tested my changes in running JabRef (always required)
  • [/] I added JUnit tests for changes (if applicable)
  • [/] I added screenshots in the PR description (if change is visible to the user)
  • [/] I described the change in CHANGELOG.md in a way that is understandable for the average user (if change is visible to the user)
  • [] I checked the user documentation: Is the information available and up to date? If not, I created an issue at https://github.com/JabRef/user-documentation/issues or, even better, I submitted a pull request updating file(s) in https://github.com/JabRef/user-documentation/tree/main/en.

koppor avatar Sep 19 '25 08:09 koppor

Requires gradle 9.1

Siedlerchr avatar Sep 23 '25 18:09 Siedlerchr

Requires gradle 9.1

Then: Runners to 24; 25 is installed via toolchain 😅

Or wait until we updated our Gradle fork

koppor avatar Sep 23 '25 18:09 koppor

With https://github.com/JabRef/jabref/pull/13719, we use the most recent gradle development version

koppor avatar Sep 29 '25 16:09 koppor

Are no x86 mac builds a show stopper?

grafik

koppor avatar Sep 29 '25 16:09 koppor

seems to be fine for macOS:


  Java configuration:
    Distribution: temurin
    Version: 25.0.0+36.0.LTS
    Path: /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/25.0.0-36.0.LTS/x64/Contents/Home

koppor avatar Sep 29 '25 17:09 koppor

Mhh...

grafik

koppor avatar Sep 29 '25 17:09 koppor

Seems to be the right commit - https://github.com/JabRef/jabref/commit/0ae6281

koppor avatar Sep 29 '25 17:09 koppor

macOS does not run with Amazon:

(loaded from file /Users/runner/work/***/***/jabgui/src/main/resources/icons/***.icns).
[18:17:44.601] jdk.jpackage.internal.model.PackagerException: java.nio.file.NoSuchFileException: ***.icns
	at jdk.jpackage/jdk.jpackage.internal.PackagingPipeline.execute(PackagingPipeline.java:487)
	at jdk.jpackage/jdk.jpackage.internal.PackagingPipeline.execute(PackagingPipeline.java:68)
	at jdk.jpackage/jdk.jpackage.internal.PackagerBuilder.execute(PackagerBuilder.java:67)
	at jdk.jpackage/jdk.jpackage.internal.MacDmgPackager$Builder.execute(MacDmgPackager.java:81)
	at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.execute(MacDmgBundler.java:80)
	at jdk.jpackage/jdk.jpackage.internal.Arguments.executeBundler(Arguments.java:741)
	at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:702)
	at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:553)
	at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:93)
	at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:54)
Caused by: java.nio.file.NoSuchFileException: ***.icns
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
	at java.base/sun.nio.fs.UnixFileSystem.copy(UnixFileSystem.java:960)
	at java.base/sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:280)
	at java.base/java.nio.file.Files.copy(Files.java:1192)
	at jdk.jpackage/jdk.jpackage.internal.MacPackagingPipeline.writeFileAssociationIcons(MacPackagingPipeline.java:434)
	at jdk.jpackage/jdk.jpackage.internal.PackagingPipeline$DefaultTaskContext.execute(PackagingPipeline.java:573)
	at jdk.jpackage/jdk.jpackage.internal.MacPackagingPipeline$TaskContextProxy.execute(MacPackagingPipeline.java:454)
	at jdk.jpackage/jdk.jpackage.internal.PackagingPipeline.lambda$createTask$0(PackagingPipeline.java:604)
	at jdk.jpackage/jdk.jpackage.internal.pipeline.TaskPipelineBuilder$SequentialWrapperTask.call(TaskPipelineBuilder.java:130)
	at jdk.jpackage/jdk.jpackage.internal.pipeline.TaskPipelineBuilder$SequentialWrapperTask.call(TaskPipelineBuilder.java:121)
	at jdk.jpackage/jdk.jpackage.internal.PackagingPipeline.execute(PackagingPipeline.java:480)
	... 9 more

koppor avatar Sep 29 '25 18:09 koppor

~~Supersed by https://github.com/JabRef/jabref/pull/13991~~ Temurin does not work, because of

--add-modules jdk.incubator.vector

koppor avatar Sep 29 '25 18:09 koppor

22:12:32.668] Benutzerdefinierte Packageressource [DMG-Hintergrund] wird verwendet (aus JabRef-background.tiff geladen).
[22:12:32.673] Benutzerdefinierte Packageressource [Symbol "Datenträger"] wird verwendet (aus JabRef-volume.icns geladen).
[22:12:32.675] DMG-Setup wird vorbereitet: /var/folders/fk/ymndv_ds5h1dv11fbh61v4g40000gn/T/jdk.jpackage12833249008220820156/config/JabRef-dmg-setup.scpt.
[22:12:32.676] Benutzerdefinierte Packageressource [DMG-Setupskript] wird verwendet (aus JabRef-dmg-setup.scpt geladen).
[22:12:32.679] Benutzerdefinierte Packageressource [Info.plist von Java Runtime] wird verwendet (aus Runtime-Info.plist geladen).
[22:12:32.680] Benutzerdefinierte Packageressource [icon] wird verwendet (aus JabRef.icns geladen).
[22:12:32.715] jdk.jpackage.internal.model.PackagerException: java.nio.file.NoSuchFileException: jabref.icns
	at jdk.jpackage/jdk.jpackage.internal.PackagingPipeline.execute(PackagingPipeline.java:487)
	at jdk.jpackage/jdk.jpackage.internal.PackagingPipeline.execute(PackagingPipeline.java:68)
	at jdk.jpackage/jdk.jpackage.internal.PackagerBuilder.execute(PackagerBuilder.java:67)
	at jdk.jpackage/jdk.jpackage.internal.MacDmgPackager$Builder.execute(MacDmgPackager.java:81)
	at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.execute(MacDmgBundler.java:80)
	at jdk.jpackage/jdk.jpackage.internal.Arguments.executeBundler(Arguments.java:741)
	at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:702)
	at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:553)
	at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:93)
	at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:54)
Caused by: java.nio.file.NoSuchFileException: jabref.icns
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
	at java.base/sun.nio.fs.UnixFileSystem.copy(UnixFileSystem.java:960)
	at java.base/sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:280)
	at java.base/java.nio.file.Files.copy(Files.java:1192)
	at jdk.jpackage/jdk.jpackage.internal.MacPackagingPipeline.writeFileAssociationIcons(MacPackagingPipeline.java:434)
	at jdk.jpackage/jdk.jpackage.internal.PackagingPipeline$DefaultTaskContext.execute(PackagingPipeline.java:573)
	at jdk.jpackage/jdk.jpackage.internal.MacPackagingPipeline$TaskContextProxy.execute(MacPackagingPipeline.java:454)
	at jdk.jpackage/jdk.jpackage.internal.PackagingPipeline.lambda$createTask$0(PackagingPipeline.java:604)
	at jdk.jpackage/jdk.jpackage.internal.pipeline.TaskPipelineBuilder$SequentialWrapperTask.call(TaskPipelineBuilder.java:130)
	at jdk.jpackage/jdk.jpackage.internal.pipeline.TaskPipelineBuilder$SequentialWrapperTask.call(TaskPipelineBuilder.java:121)
	at jdk.jpackage/jdk.jpackage.internal.PackagingPipeline.execute(PackagingPipeline.java:480)
	... 9 more
java.nio.file.NoSuchFileException: jabref.icns

Siedlerchr avatar Sep 29 '25 20:09 Siedlerchr

Probably blocked by https://github.com/Siedlerchr/javafxreproducer/pull/51

koppor avatar Sep 30 '25 12:09 koppor

Need to test:

  • [x] (moved to PR description) ~~Icon of DMG right~~
  • [x] (moved to PR description) ~~Icon of .bib files right - if not, we need to create a second jabref-bibtex.icns file with a different name than the application icon and relink in bibtexAssociations.properties.~~

koppor avatar Sep 30 '25 13:09 koppor

Note:

It's the file linked from bibtexAssociations.properties

"Debugged" with changing the name:

icon=jabref-from-properties.icns

Removed it, because we already specified the icon.

koppor avatar Sep 30 '25 13:09 koppor

Now, we have an issue at JabRef.entitlements - or later...

[13:29:46.980] Using custom package resource [Mac Entitlements] (loaded from JabRef.entitlements).
[13:29:47.054] jdk.jpackage.internal.model.PackagerException: java.lang.IllegalArgumentException: Invalid identifier prefix
	at jdk.jpackage/jdk.jpackage.internal.PackagingPipeline.execute(PackagingPipeline.java:487)
	at jdk.jpackage/jdk.jpackage.internal.PackagingPipeline.execute(PackagingPipeline.java:68)
	at jdk.jpackage/jdk.jpackage.internal.PackagerBuilder.execute(PackagerBuilder.java:67)
	at jdk.jpackage/jdk.jpackage.internal.MacDmgPackager$Builder.execute(MacDmgPackager.java:81)
	at jdk.jpackage/jdk.jpackage.internal.MacDmgBundler.execute(MacDmgBundler.java:80)
	at jdk.jpackage/jdk.jpackage.internal.Arguments.executeBundler(Arguments.java:741)
	at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:702)
	at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:553)
	at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:93)
	at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:54)
Caused by: java.lang.IllegalArgumentException: Invalid identifier prefix
	at jdk.jpackage/jdk.jpackage.internal.CodesignConfig.lambda$new$0(CodesignConfig.java:52)
	at java.base/java.util.Optional.ifPresent(Optional.java:178)
	at jdk.jpackage/jdk.jpackage.internal.CodesignConfig.<init>(CodesignConfig.java:50)
	at jdk.jpackage/jdk.jpackage.internal.CodesignConfig$Builder.create(CodesignConfig.java:64)
	at jdk.jpackage/jdk.jpackage.internal.MacPackagingPipeline.lambda$sign$0(MacPackagingPipeline.java:333)
	at java.base/java.util.Optional.ifPresentOrElse(Optional.java:198)
	at jdk.jpackage/jdk.jpackage.internal.MacPackagingPipeline.sign(MacPackagingPipeline.java:336)
	at jdk.jpackage/jdk.jpackage.internal.PackagingPipeline$DefaultTaskContext.execute(PackagingPipeline.java:571)
	at jdk.jpackage/jdk.jpackage.internal.MacPackagingPipeline$TaskContextProxy.execute(MacPackagingPipeline.java:454)
	at jdk.jpackage/jdk.jpackage.internal.PackagingPipeline.lambda$createTask$0(PackagingPipeline.java:604)
	at jdk.jpackage/jdk.jpackage.internal.pipeline.TaskPipelineBuilder$SequentialWrapperTask.call(TaskPipelineBuilder.java:130)
	at jdk.jpackage/jdk.jpackage.internal.pipeline.TaskPipelineBuilder$SequentialWrapperTask.call(TaskPipelineBuilder.java:121)
	at jdk.jpackage/jdk.jpackage.internal.PackagingPipeline.execute(PackagingPipeline.java:480)
	... 9 more

koppor avatar Sep 30 '25 13:09 koppor

Exception from https://github.com/openjdk/jdk/blame/444007fc234aeff75025831c2d1b5538c87fa8f1/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/CodesignConfig.java#L54

Introduced via https://bugs.openjdk.org/browse/JDK-8333664

koppor avatar Sep 30 '25 13:09 koppor

Latest build grafik

Siedlerchr avatar Oct 01 '25 08:10 Siedlerchr

Doesn't start:

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

Process:               JabRef [4088]
Path:                  /Applications/JabRef.app/Contents/MacOS/JabRef
Identifier:            JabRef
Version:               6.0.30861 (6.0.30861)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               410613023

Date/Time:             2025-10-01 14:59:14.5397 +0200
OS Version:            macOS 15.6.1 (24G90)
Report Version:        12
Anonymous UUID:        8AAE8798-6019-A277-B790-29B9490B3484

Sleep/Wake UUID:       ABBE2EB0-A03E-4206-9B6B-A24D86826BF1

Time Awake Since Boot: 640000 seconds
Time Since Wake:       1165 seconds

System Integrity Protection: enabled

Crashed Thread:        2

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000001, 0x0000000198cdcbdc

Termination Reason:    Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process:   exc handler [4088]

Thread 0::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	       0x198c99c34 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x198cac3a0 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x198ca2764 mach_msg_overwrite + 484
3   libsystem_kernel.dylib        	       0x198c99fa8 mach_msg + 24
4   CoreFoundation                	       0x198dc6cbc __CFRunLoopServiceMachPort + 160
5   CoreFoundation                	       0x198dc55d8 __CFRunLoopRun + 1208
6   CoreFoundation                	       0x198dc4a98 CFRunLoopRunSpecific + 572
7   libjli.dylib                  	       0x104a54eb8 CreateExecutionEnvironment + 412
8   libjli.dylib                  	       0x104a50a1c JLI_Launch + 560
9   JabRef                        	       0x1049a7ac4 jvmLauncherStartJvm + 328
10  JabRef                        	       0x1049a6208 Jvm::launch() + 740
11  JabRef                        	       0x1049a8fd8 (anonymous namespace)::initJvmLauncher() + 1392
12  JabRef                        	       0x1049af260 app::launch(std::nothrow_t const&, void (*)(), LogAppender*) + 232
13  dyld                          	       0x19893ab98 start + 6076

Thread 1:
0   libsystem_kernel.dylib        	       0x198c9b9b8 __ulock_wait + 8
1   libsystem_pthread.dylib       	       0x198cde0b0 _pthread_join + 608
2   libjli.dylib                  	       0x104a55638 CallJavaMainInNewThread + 184
3   libjli.dylib                  	       0x104a543e4 ContinueInNewThread + 144
4   libjli.dylib                  	       0x104a51be4 JLI_Launch + 5112
5   JabRef                        	       0x1049a7ac4 jvmLauncherStartJvm + 328
6   JabRef                        	       0x1049a6208 Jvm::launch() + 740
7   JabRef                        	       0x1049af260 app::launch(std::nothrow_t const&, void (*)(), LogAppender*) + 232
8   libjli.dylib                  	       0x104a55f14 apple_main + 88
9   libsystem_pthread.dylib       	       0x198cdbc0c _pthread_start + 136
10  libsystem_pthread.dylib       	       0x198cd6b80 thread_start + 8

Thread 2 Crashed:
0   libsystem_pthread.dylib       	       0x198cdcbdc pthread_jit_write_protect_np + 520
1   libjvm.dylib                  	       0x1068f05e8 Threads::create_vm(JavaVMInitArgs*, bool*) + 132
2   libjvm.dylib                  	       0x10636f868 JNI_CreateJavaVM + 116
3   libjli.dylib                  	       0x104a524f0 JavaMain + 256
4   libjli.dylib                  	       0x104a55680 ThreadJavaMain + 12
5   libsystem_pthread.dylib       	       0x198cdbc0c _pthread_start + 136
6   libsystem_pthread.dylib       	       0x198cd6b80 thread_start + 8


Thread 2 crashed with ARM Thread State (64-bit):
    x0: 0x2010002030300000   x1: 0x0000000fffffc110   x2: 0x0000000041998b89   x3: 0x0000000000000001
    x4: 0x0000000000000002   x5: 0x00000000810fbffb   x6: 0x0000600000ee8100   x7: 0x0000000000000000
    x8: 0x0000000fffffc10c   x9: 0x2010002030300000  x10: 0x2010002030100000  x11: 0x0000600002de8018
   x12: 0x0000600002de8018  x13: 0x0000000000000001  x14: 0x00000000fffffe08  x15: 0x00000000000007fb
   x16: 0x0000000198cdc9d4  x17: 0x0000000000000008  x18: 0x0000000000000000  x19: 0x000000016b6f6ecf
   x20: 0x000000016b6f6f48  x21: 0x00000000fffffffd  x22: 0x000000016b6f6f40  x23: 0x0000000106c164ac
   x24: 0x000000010636f7f4  x25: 0x00006000032ec000  x26: 0x0000000000000000  x27: 0x0000000000000003
   x28: 0x0000000000000000   fp: 0x000000016b6f6e80   lr: 0x00000001068f05e8
    sp: 0x000000016b6f6560   pc: 0x0000000198cdcbdc cpsr: 0x20001000
   far: 0x0000000000000000  esr: 0xf2000001 (Breakpoint) brk 1

Binary Images:
       0x104998000 -        0x1049b3fff JabRef (6.0.30861) <54adf0aa-cf6c-3a38-befa-64dad6aad23c> /Applications/JabRef.app/Contents/MacOS/JabRef
       0x104a48000 -        0x104a5bfff libjli.dylib (*) <2306e1b9-81f7-3c99-9091-6e2015565163> /Applications/JabRef.app/Contents/runtime/Contents/Home/lib/libjli.dylib
       0x105dc4000 -        0x106af3fff libjvm.dylib (*) <929aea8c-1837-3891-be4b-de63364c33d4> /Applications/JabRef.app/Contents/runtime/Contents/Home/lib/server/libjvm.dylib
       0x198c99000 -        0x198cd4653 libsystem_kernel.dylib (*) <6e4a96ad-04b8-3e8a-b91d-087e62306246> /usr/lib/system/libsystem_kernel.dylib
       0x198d4a000 -        0x199288fff com.apple.CoreFoundation (6.9) <8d45baee-6cc0-3b89-93fd-ea1c8e15c6d7> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x198934000 -        0x1989cf577 dyld (*) <3247e185-ced2-36ff-9e29-47a77c23e004> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x1ff7f1000 -        0x2003b319f com.apple.SwiftUICore (6.5.4) <84fe33b3-a5db-3ca3-90cc-4d258172e788> /System/Library/Frameworks/SwiftUICore.framework/Versions/A/SwiftUICore
       0x198cd5000 -        0x198ce1a47 libsystem_pthread.dylib (*) <d6494ba9-171e-39fc-b1aa-28ecf87975d1> /usr/lib/system/libsystem_pthread.dylib

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=924.0M resident=0K(0%) swapped_out_or_unallocated=924.0M(100%)
Writable regions: Total=687.5M written=273K(0%) resident=273K(0%) swapped_out=0K(0%) unallocated=687.3M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                   32K        1 
MALLOC                           676.2M       18 
MALLOC guard page                   96K        6 
STACK GUARD                       56.0M        2 
Stack                             10.5M        3 
__AUTH                            1143K      209 
__AUTH_CONST                      24.6M      356 
__DATA                            5516K      341 
__DATA_CONST                      16.6M      362 
__DATA_DIRTY                       689K      106 
__FONT_DATA                        2352        1 
__LINKEDIT                       621.1M        4 
__OBJC_RO                         61.4M        1 
__OBJC_RW                         2396K        1 
__TEXT                           302.9M      376 
__TPRO_CONST                       128K        2 
page table in kernel               273K        1 
shared memory                       32K        1 
===========                     =======  ======= 
TOTAL                              1.7G     1791 



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

{"app_name":"JabRef","timestamp":"2025-10-01 14:59:20.00 +0200","app_version":"6.0.30861","slice_uuid":"54adf0aa-cf6c-3a38-befa-64dad6aad23c","build_version":"6.0.30861","platform":1,"bundleID":"JabRef","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 15.6.1 (24G90)","roots_installed":0,"name":"JabRef","incident_id":"8E8242D9-1931-4B84-AD4A-27FF70EDEFF8"}
{
  "uptime" : 640000,
  "procRole" : "Background",
  "version" : 2,
  "userID" : 410613023,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro18,3",
  "coalitionID" : 172191,
  "osVersion" : {
    "train" : "macOS 15.6.1",
    "build" : "24G90",
    "releaseType" : "User"
  },
  "captureTime" : "2025-10-01 14:59:14.5397 +0200",
  "codeSigningMonitor" : 1,
  "incident" : "8E8242D9-1931-4B84-AD4A-27FF70EDEFF8",
  "pid" : 4088,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2025-10-01 14:59:10.5514 +0200",
  "procStartAbsTime" : 15488214236604,
  "procExitAbsTime" : 15488309244287,
  "procName" : "JabRef",
  "procPath" : "\/Applications\/JabRef.app\/Contents\/MacOS\/JabRef",
  "bundleInfo" : {"CFBundleShortVersionString":"6.0.30861","CFBundleVersion":"6.0.30861","CFBundleIdentifier":"JabRef"},
  "storeInfo" : {"deviceIdentifierForVendor":"B0776B9F-61C0-5286-9054-86A215B76D8F","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "JabRef",
  "crashReporterKey" : "8AAE8798-6019-A277-B790-29B9490B3484",
  "appleIntelligenceStatus" : {"state":"unavailable","reasons":["assetIsNotReady","siriAssetIsNotReady","notOptedIn"]},
  "codeSigningID" : "org.jabref.JabRef",
  "codeSigningTeamID" : "6792V39SK3",
  "codeSigningFlags" : 570503953,
  "codeSigningValidationCategory" : 6,
  "codeSigningTrustLevel" : 4294967295,
  "codeSigningAuxiliaryInfo" : 0,
  "instructionByteStream" : {"beforePC":"4PIc1d8\/A9UBI5jy4f+\/8uEBwPIBAODyKABA+enyPNUfAQnrIPj\/VA==","atPC":"IAAg1OhPcLKIIZjyCAFAOR8BAHHgB58awANf1n8jA9X0T76p\/XsBqQ=="},
  "bootSessionUUID" : "4188F1C9-1A05-4332-B8D3-5C83914F209C",
  "wakeTime" : 1165,
  "sleepWakeUUID" : "ABBE2EB0-A03E-4206-9B6B-A24D86826BF1",
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000001, 0x0000000198cdcbdc","rawCodes":[1,6858591196],"type":"EXC_BREAKPOINT","signal":"SIGTRAP"},
  "termination" : {"flags":0,"code":5,"namespace":"SIGNAL","indicator":"Trace\/BPT trap: 5","byProc":"exc handler","byPid":4088},
  "os_fault" : {"process":"JabRef"},
  "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" : 2,
  "threads" : [{"id":21316437,"threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592,"symbolLocation":80,"symbol":"MixedFormatStyle.hash(into:)"},{"value":28600187224064},{"value":1680763244},{"value":28600187224064},{"value":2},{"value":4294967295},{"value":0},{"value":17179869184},{"value":0},{"value":2},{"value":0},{"value":0},{"value":6659},{"value":2043},{"value":18446744073709551569},{"value":34},{"value":0},{"value":4294967295},{"value":2},{"value":28600187224064},{"value":1680763244},{"value":28600187224064},{"value":6094736296},{"value":8589934592,"symbolLocation":80,"symbol":"MixedFormatStyle.hash(into:)"},{"value":21592279046},{"value":18446744073709550527},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6858392480},"cpsr":{"value":4096},"fp":{"value":6094736144},"sp":{"value":6094736064},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6858316852},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":3124,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":3},{"imageOffset":78752,"symbol":"mach_msg2_internal","symbolLocation":76,"imageIndex":3},{"imageOffset":38756,"symbol":"mach_msg_overwrite","symbolLocation":484,"imageIndex":3},{"imageOffset":4008,"symbol":"mach_msg","symbolLocation":24,"imageIndex":3},{"imageOffset":511164,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":4},{"imageOffset":505304,"symbol":"__CFRunLoopRun","symbolLocation":1208,"imageIndex":4},{"imageOffset":502424,"symbol":"CFRunLoopRunSpecific","symbolLocation":572,"imageIndex":4},{"imageOffset":52920,"symbol":"CreateExecutionEnvironment","symbolLocation":412,"imageIndex":1},{"imageOffset":35356,"symbol":"JLI_Launch","symbolLocation":560,"imageIndex":1},{"imageOffset":64196,"symbol":"jvmLauncherStartJvm","symbolLocation":328,"imageIndex":0},{"imageOffset":57864,"symbol":"Jvm::launch()","symbolLocation":740,"imageIndex":0},{"imageOffset":69592,"symbol":"(anonymous namespace)::initJvmLauncher()","symbolLocation":1392,"imageIndex":0},{"imageOffset":94816,"symbol":"app::launch(std::nothrow_t const&, void (*)(), LogAppender*)","symbolLocation":232,"imageIndex":0},{"imageOffset":27544,"symbol":"start","symbolLocation":6076,"imageIndex":5}]},{"id":21316591,"frames":[{"imageOffset":10680,"symbol":"__ulock_wait","symbolLocation":8,"imageIndex":3},{"imageOffset":37040,"symbol":"_pthread_join","symbolLocation":608,"imageIndex":8},{"imageOffset":54840,"symbol":"CallJavaMainInNewThread","symbolLocation":184,"imageIndex":1},{"imageOffset":50148,"symbol":"ContinueInNewThread","symbolLocation":144,"imageIndex":1},{"imageOffset":39908,"symbol":"JLI_Launch","symbolLocation":5112,"imageIndex":1},{"imageOffset":64196,"symbol":"jvmLauncherStartJvm","symbolLocation":328,"imageIndex":0},{"imageOffset":57864,"symbol":"Jvm::launch()","symbolLocation":740,"imageIndex":0},{"imageOffset":94816,"symbol":"app::launch(std::nothrow_t const&, void (*)(), LogAppender*)","symbolLocation":232,"imageIndex":0},{"imageOffset":57108,"symbol":"apple_main","symbolLocation":88,"imageIndex":1},{"imageOffset":27660,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7040,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}],"threadState":{"x":[{"value":18446744073709551612},{"value":0},{"value":5123},{"value":0},{"value":150997247},{"value":3},{"value":0},{"value":0},{"value":5123},{"value":16908290},{"value":17},{"value":0},{"value":8703674200,"symbolLocation":0,"symbol":"vm_page_size"},{"value":105553129798508},{"value":2095104},{"value":2043},{"value":515},{"value":8720766456},{"value":0},{"value":6097432576},{"value":2},{"value":6097432628},{"value":16908290},{"value":6095302880},{"value":8703688772,"symbolLocation":0,"symbol":"_pthread_list_lock"},{"value":17},{"value":5518681625},{"value":105553180099272},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6858596528},"cpsr":{"value":1073745920},"fp":{"value":6095296656},"sp":{"value":6095296560},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6858324408},"far":{"value":0}}},{"triggered":true,"id":21316595,"threadState":{"x":[{"value":2310346747088470016},{"value":68719460624},{"value":1100581769},{"value":1},{"value":2},{"value":2165293051},{"value":105553131897088},{"value":0},{"value":68719460620},{"value":2310346747088470016},{"value":2310346747086372864},{"value":105553164402712},{"value":105553164402712},{"value":1},{"value":4294966792},{"value":2043},{"value":6858590676,"symbolLocation":0,"symbol":"pthread_jit_write_protect_np"},{"value":8},{"value":0},{"value":6097432271},{"value":6097432392},{"value":4294967293},{"value":6097432384},{"value":4408304812,"symbolLocation":0,"symbol":"vm_created"},{"value":4399233012,"symbolLocation":0,"symbol":"JNI_CreateJavaVM"},{"value":105553169661952},{"value":0},{"value":3},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4405003752},"cpsr":{"value":536875008},"fp":{"value":6097432192},"sp":{"value":6097429856},"esr":{"value":4060086273,"description":"(Breakpoint) brk 1"},"pc":{"value":6858591196,"matchesCrashFrame":1},"far":{"value":0}},"frames":[{"imageOffset":31708,"symbol":"pthread_jit_write_protect_np","symbolLocation":520,"imageIndex":8},{"imageOffset":11716072,"symbol":"Threads::create_vm(JavaVMInitArgs*, bool*)","symbolLocation":132,"imageIndex":2},{"imageOffset":5945448,"symbol":"JNI_CreateJavaVM","symbolLocation":116,"imageIndex":2},{"imageOffset":42224,"symbol":"JavaMain","symbolLocation":256,"imageIndex":1},{"imageOffset":54912,"symbol":"ThreadJavaMain","symbolLocation":12,"imageIndex":1},{"imageOffset":27660,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7040,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4372135936,
    "CFBundleShortVersionString" : "6.0.30861",
    "CFBundleIdentifier" : "JabRef",
    "size" : 114688,
    "uuid" : "54adf0aa-cf6c-3a38-befa-64dad6aad23c",
    "path" : "\/Applications\/JabRef.app\/Contents\/MacOS\/JabRef",
    "name" : "JabRef",
    "CFBundleVersion" : "6.0.30861"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4372856832,
    "size" : 81920,
    "uuid" : "2306e1b9-81f7-3c99-9091-6e2015565163",
    "path" : "\/Applications\/JabRef.app\/Contents\/runtime\/Contents\/Home\/lib\/libjli.dylib",
    "name" : "libjli.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4393287680,
    "size" : 13828096,
    "uuid" : "929aea8c-1837-3891-be4b-de63364c33d4",
    "path" : "\/Applications\/JabRef.app\/Contents\/runtime\/Contents\/Home\/lib\/server\/libjvm.dylib",
    "name" : "libjvm.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6858313728,
    "size" : 243284,
    "uuid" : "6e4a96ad-04b8-3e8a-b91d-087e62306246",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6859038720,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5500928,
    "uuid" : "8d45baee-6cc0-3b89-93fd-ea1c8e15c6d7",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "3603"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6854754304,
    "size" : 636280,
    "uuid" : "3247e185-ced2-36ff-9e29-47a77c23e004",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 8581484544,
    "CFBundleShortVersionString" : "6.5.4",
    "CFBundleIdentifier" : "com.apple.SwiftUICore",
    "size" : 12329376,
    "uuid" : "84fe33b3-a5db-3ca3-90cc-4d258172e788",
    "path" : "\/System\/Library\/Frameworks\/SwiftUICore.framework\/Versions\/A\/SwiftUICore",
    "name" : "SwiftUICore",
    "CFBundleVersion" : "6.5.4"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6858559488,
    "size" : 51784,
    "uuid" : "d6494ba9-171e-39fc-b1aa-28ecf87975d1",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  }
],
  "sharedCache" : {
  "base" : 6853918720,
  "size" : 5040898048,
  "uuid" : "4c1223e5-cace-3982-a003-6110a7a8a25c"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=924.0M resident=0K(0%) swapped_out_or_unallocated=924.0M(100%)\nWritable regions: Total=687.5M written=273K(0%) resident=273K(0%) swapped_out=0K(0%) unallocated=687.3M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nKernel Alloc Once                   32K        1 \nMALLOC                           676.2M       18 \nMALLOC guard page                   96K        6 \nSTACK GUARD                       56.0M        2 \nStack                             10.5M        3 \n__AUTH                            1143K      209 \n__AUTH_CONST                      24.6M      356 \n__DATA                            5516K      341 \n__DATA_CONST                      16.6M      362 \n__DATA_DIRTY                       689K      106 \n__FONT_DATA                        2352        1 \n__LINKEDIT                       621.1M        4 \n__OBJC_RO                         61.4M        1 \n__OBJC_RW                         2396K        1 \n__TEXT                           302.9M      376 \n__TPRO_CONST                       128K        2 \npage table in kernel               273K        1 \nshared memory                       32K        1 \n===========                     =======  ======= \nTOTAL                              1.7G     1791 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "7dc636d40d1b6342eae436b8b28b71742e49a496",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "64c17a9925d75a7281053d4c",
      "factorPackIds" : {
        "SIRI_AUDIO_DISABLE_MEDIA_ENTITY_SYNC" : "64d29746ad29a465b3bbeace"
      },
      "deploymentId" : 240000002
    },
    {
      "rolloutId" : "6246d6a916a70b047e454124",
      "factorPackIds" : {

      },
      "deploymentId" : 240000010
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "28060e10-d4e5-4163-aa2b-d8bd088d5cbf",
      "experimentId" : "6685b283afc7c17197d69eec",
      "deploymentId" : 400000012
    }
  ]
}
}

Model: MacBookPro18,3, BootROM 11881.140.96, proc 8:6:2 processors, 32 GB, SMC 
Graphics: Apple M1 Pro, Apple M1 Pro, Built-In
Display: Color LCD, 3024 x 1964 Retina, Main, MirrorOff, Online
Display: DELL U2417H, 1920 x 1080 (1080p FHD - Full High Definition), MirrorOff, Online
Display: DELL U2417H, 1920 x 1080 (1080p FHD - Full High Definition), MirrorOff, Online
Memory Module: LPDDR5, Hynix
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4387), wl0: Mar 23 2025 19:56:28 version 20.130.17.0.8.7.197 FWID 01-764e34b7
IO80211_driverkit-1485.7 "IO80211_driverkit-1485.7" Jul 15 2025 20:46:41
AirPort: 
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: docking station lan, Ethernet, en8
Network Service: Wi-Fi, AirPort, en0
Network Service: AX88179A, Ethernet, en11
USB Device: USB31Bus
USB Device: USB5807 Hub
USB Device: USB5537B
USB Device: USB 10/100/1000 LAN
USB Device: USB2807 Hub
USB Device: USB2137B
USB Device: U2417H_0B29_15083001
USB Device: USB Audio
USB Device: USB31Bus
USB Device: Jabra Evolve2 40
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.

Siedlerchr avatar Oct 01 '25 13:10 Siedlerchr

https://docs.oracle.com/en/java/javase/25/jpackage/support-application-features.html#GUID-8668A806-8A80-435F-970F-7B2BF65863E4

icon - Icon to use for the type of files that your application can process. The icon must be in the input directory when the application is packaged. If no icon is specified, the default icon is used.

Siedlerchr avatar Oct 01 '25 18:10 Siedlerchr

Local build works fine, the build from CI crashes when starting !

Siedlerchr avatar Oct 01 '25 19:10 Siedlerchr

still crashing, even with notarization but only on CI...


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

Process:               JabRef [83893]
Path:                  /Applications/JabRef.app/Contents/MacOS/JabRef
Identifier:            JabRef
Version:               6.0.864 (6.0.864)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               410613023

Date/Time:             2025-10-02 11:27:15.7171 +0200
OS Version:            macOS 15.6.1 (24G90)
Report Version:        12
Anonymous UUID:        8AAE8798-6019-A277-B790-29B9490B3484

Sleep/Wake UUID:       207AD2AA-7223-4EF6-A0ED-AF3ADF612456

Time Awake Since Boot: 660000 seconds
Time Since Wake:       8386 seconds

System Integrity Protection: enabled

Crashed Thread:        2

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000001, 0x0000000198cdcbdc

Termination Reason:    Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process:   exc handler [83893]

Thread 0::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	       0x198c99c34 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x198cac3a0 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x198ca2764 mach_msg_overwrite + 484
3   libsystem_kernel.dylib        	       0x198c99fa8 mach_msg + 24
4   CoreFoundation                	       0x198dc6cbc __CFRunLoopServiceMachPort + 160
5   CoreFoundation                	       0x198dc55d8 __CFRunLoopRun + 1208
6   CoreFoundation                	       0x198dc4a98 CFRunLoopRunSpecific + 572
7   libjli.dylib                  	       0x100340eb8 CreateExecutionEnvironment + 412
8   libjli.dylib                  	       0x10033ca1c JLI_Launch + 560
9   JabRef                        	       0x10028fac4 jvmLauncherStartJvm + 328
10  JabRef                        	       0x10028e208 Jvm::launch() + 740
11  JabRef                        	       0x100290fd8 (anonymous namespace)::initJvmLauncher() + 1392
12  JabRef                        	       0x100297260 app::launch(std::nothrow_t const&, void (*)(), LogAppender*) + 232
13  dyld                          	       0x19893ab98 start + 6076

Thread 1:
0   libsystem_kernel.dylib        	       0x198c9b9b8 __ulock_wait + 8
1   libsystem_pthread.dylib       	       0x198cde0b0 _pthread_join + 608
2   libjli.dylib                  	       0x100341638 CallJavaMainInNewThread + 184
3   libjli.dylib                  	       0x1003403e4 ContinueInNewThread + 144
4   libjli.dylib                  	       0x10033dbe4 JLI_Launch + 5112
5   JabRef                        	       0x10028fac4 jvmLauncherStartJvm + 328
6   JabRef                        	       0x10028e208 Jvm::launch() + 740
7   JabRef                        	       0x100297260 app::launch(std::nothrow_t const&, void (*)(), LogAppender*) + 232
8   libjli.dylib                  	       0x100341f14 apple_main + 88
9   libsystem_pthread.dylib       	       0x198cdbc0c _pthread_start + 136
10  libsystem_pthread.dylib       	       0x198cd6b80 thread_start + 8

Thread 2 Crashed:
0   libsystem_pthread.dylib       	       0x198cdcbdc pthread_jit_write_protect_np + 520
1   libjvm.dylib                  	       0x1023c05e8 Threads::create_vm(JavaVMInitArgs*, bool*) + 132
2   libjvm.dylib                  	       0x101e3f868 JNI_CreateJavaVM + 116
3   libjli.dylib                  	       0x10033e4f0 JavaMain + 256
4   libjli.dylib                  	       0x100341680 ThreadJavaMain + 12
5   libsystem_pthread.dylib       	       0x198cdbc0c _pthread_start + 136
6   libsystem_pthread.dylib       	       0x198cd6b80 thread_start + 8


Thread 2 crashed with ARM Thread State (64-bit):
    x0: 0x2010002030300000   x1: 0x0000000fffffc110   x2: 0x000000004084cb89   x3: 0x0000000000000001
    x4: 0x0000000000000004   x5: 0x00000000892dc7fb   x6: 0x00006000038a48e0   x7: 0x0000000000000000
    x8: 0x0000000fffffc10c   x9: 0x2010002030300000  x10: 0x2010002030100000  x11: 0x0000600001ba81a8
   x12: 0x0000600001ba81a8  x13: 0x0000000000000001  x14: 0x00000000fffffe47  x15: 0x00000000000007fb
   x16: 0x0000000198cdc9d4  x17: 0x0000000000000047  x18: 0x0000000000000000  x19: 0x000000016fe0eecf
   x20: 0x000000016fe0ef48  x21: 0x00000000fffffffd  x22: 0x000000016fe0ef40  x23: 0x00000001026e64ac
   x24: 0x0000000101e3f7f4  x25: 0x00006000004a8100  x26: 0x0000000000000000  x27: 0x0000000000000003
   x28: 0x0000000000000000   fp: 0x000000016fe0ee80   lr: 0x00000001023c05e8
    sp: 0x000000016fe0e560   pc: 0x0000000198cdcbdc cpsr: 0x20001000
   far: 0x0000000000000000  esr: 0xf2000001 (Breakpoint) brk 1

Binary Images:
       0x100280000 -        0x10029bfff JabRef (6.0.864) <54adf0aa-cf6c-3a38-befa-64dad6aad23c> /Applications/JabRef.app/Contents/MacOS/JabRef
       0x100334000 -        0x100347fff libjli.dylib (*) <2306e1b9-81f7-3c99-9091-6e2015565163> /Applications/JabRef.app/Contents/runtime/Contents/Home/lib/libjli.dylib
       0x101894000 -        0x1025c3fff libjvm.dylib (*) <929aea8c-1837-3891-be4b-de63364c33d4> /Applications/JabRef.app/Contents/runtime/Contents/Home/lib/server/libjvm.dylib
       0x198c99000 -        0x198cd4653 libsystem_kernel.dylib (*) <6e4a96ad-04b8-3e8a-b91d-087e62306246> /usr/lib/system/libsystem_kernel.dylib
       0x198d4a000 -        0x199288fff com.apple.CoreFoundation (6.9) <8d45baee-6cc0-3b89-93fd-ea1c8e15c6d7> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x198934000 -        0x1989cf577 dyld (*) <3247e185-ced2-36ff-9e29-47a77c23e004> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x1ff7f1000 -        0x2003b319f com.apple.SwiftUICore (6.5.4) <84fe33b3-a5db-3ca3-90cc-4d258172e788> /System/Library/Frameworks/SwiftUICore.framework/Versions/A/SwiftUICore
       0x198cd5000 -        0x198ce1a47 libsystem_pthread.dylib (*) <d6494ba9-171e-39fc-b1aa-28ecf87975d1> /usr/lib/system/libsystem_pthread.dylib

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=924.0M resident=0K(0%) swapped_out_or_unallocated=924.0M(100%)
Writable regions: Total=687.5M written=273K(0%) resident=273K(0%) swapped_out=0K(0%) unallocated=687.3M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                   32K        1 
MALLOC                           676.2M       18 
MALLOC guard page                   96K        6 
STACK GUARD                       56.0M        2 
Stack                             10.5M        3 
__AUTH                            1143K      209 
__AUTH_CONST                      24.6M      356 
__DATA                            5516K      341 
__DATA_CONST                      16.6M      362 
__DATA_DIRTY                       689K      106 
__FONT_DATA                        2352        1 
__LINKEDIT                       621.1M        4 
__OBJC_RO                         61.4M        1 
__OBJC_RW                         2396K        1 
__TEXT                           302.9M      376 
__TPRO_CONST                       128K        2 
page table in kernel               273K        1 
shared memory                       32K        1 
===========                     =======  ======= 
TOTAL                              1.7G     1791 



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

{"app_name":"JabRef","timestamp":"2025-10-02 11:27:17.00 +0200","app_version":"6.0.864","slice_uuid":"54adf0aa-cf6c-3a38-befa-64dad6aad23c","build_version":"6.0.864","platform":1,"bundleID":"JabRef","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 15.6.1 (24G90)","roots_installed":0,"name":"JabRef","incident_id":"7E903A48-F19C-4780-B4E3-64857E72D817"}
{
  "uptime" : 660000,
  "procRole" : "Background",
  "version" : 2,
  "userID" : 410613023,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro18,3",
  "coalitionID" : 176309,
  "osVersion" : {
    "train" : "macOS 15.6.1",
    "build" : "24G90",
    "releaseType" : "User"
  },
  "captureTime" : "2025-10-02 11:27:15.7171 +0200",
  "codeSigningMonitor" : 1,
  "incident" : "7E903A48-F19C-4780-B4E3-64857E72D817",
  "pid" : 83893,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2025-10-02 11:27:11.3213 +0200",
  "procStartAbsTime" : 15970854686031,
  "procExitAbsTime" : 15970960157883,
  "procName" : "JabRef",
  "procPath" : "\/Applications\/JabRef.app\/Contents\/MacOS\/JabRef",
  "bundleInfo" : {"CFBundleShortVersionString":"6.0.864","CFBundleVersion":"6.0.864","CFBundleIdentifier":"JabRef"},
  "storeInfo" : {"deviceIdentifierForVendor":"B0776B9F-61C0-5286-9054-86A215B76D8F","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "JabRef",
  "crashReporterKey" : "8AAE8798-6019-A277-B790-29B9490B3484",
  "appleIntelligenceStatus" : {"state":"unavailable","reasons":["assetIsNotReady","siriAssetIsNotReady","notOptedIn"]},
  "codeSigningID" : "org.jabref.JabRef",
  "codeSigningTeamID" : "6792V39SK3",
  "codeSigningFlags" : 570503953,
  "codeSigningValidationCategory" : 6,
  "codeSigningTrustLevel" : 4294967295,
  "codeSigningAuxiliaryInfo" : 0,
  "instructionByteStream" : {"beforePC":"4PIc1d8\/A9UBI5jy4f+\/8uEBwPIBAODyKABA+enyPNUfAQnrIPj\/VA==","atPC":"IAAg1OhPcLKIIZjyCAFAOR8BAHHgB58awANf1n8jA9X0T76p\/XsBqQ=="},
  "bootSessionUUID" : "4188F1C9-1A05-4332-B8D3-5C83914F209C",
  "wakeTime" : 8386,
  "sleepWakeUUID" : "207AD2AA-7223-4EF6-A0ED-AF3ADF612456",
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000001, 0x0000000198cdcbdc","rawCodes":[1,6858591196],"type":"EXC_BREAKPOINT","signal":"SIGTRAP"},
  "termination" : {"flags":0,"code":5,"namespace":"SIGNAL","indicator":"Trace\/BPT trap: 5","byProc":"exc handler","byPid":83893},
  "os_fault" : {"process":"JabRef"},
  "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" : 2,
  "threads" : [{"id":22040752,"threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592,"symbolLocation":80,"symbol":"MixedFormatStyle.hash(into:)"},{"value":29699698851840},{"value":1680763244},{"value":29699698851840},{"value":2},{"value":4294967295},{"value":0},{"value":17179869184},{"value":0},{"value":2},{"value":0},{"value":0},{"value":6915},{"value":2043},{"value":18446744073709551569},{"value":25},{"value":0},{"value":4294967295},{"value":2},{"value":29699698851840},{"value":1680763244},{"value":29699698851840},{"value":6169283624},{"value":8589934592,"symbolLocation":80,"symbol":"MixedFormatStyle.hash(into:)"},{"value":21592279046},{"value":18446744073709550527},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6858392480},"cpsr":{"value":4096},"fp":{"value":6169283472},"sp":{"value":6169283392},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6858316852},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":3124,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":3},{"imageOffset":78752,"symbol":"mach_msg2_internal","symbolLocation":76,"imageIndex":3},{"imageOffset":38756,"symbol":"mach_msg_overwrite","symbolLocation":484,"imageIndex":3},{"imageOffset":4008,"symbol":"mach_msg","symbolLocation":24,"imageIndex":3},{"imageOffset":511164,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":4},{"imageOffset":505304,"symbol":"__CFRunLoopRun","symbolLocation":1208,"imageIndex":4},{"imageOffset":502424,"symbol":"CFRunLoopRunSpecific","symbolLocation":572,"imageIndex":4},{"imageOffset":52920,"symbol":"CreateExecutionEnvironment","symbolLocation":412,"imageIndex":1},{"imageOffset":35356,"symbol":"JLI_Launch","symbolLocation":560,"imageIndex":1},{"imageOffset":64196,"symbol":"jvmLauncherStartJvm","symbolLocation":328,"imageIndex":0},{"imageOffset":57864,"symbol":"Jvm::launch()","symbolLocation":740,"imageIndex":0},{"imageOffset":69592,"symbol":"(anonymous namespace)::initJvmLauncher()","symbolLocation":1392,"imageIndex":0},{"imageOffset":94816,"symbol":"app::launch(std::nothrow_t const&, void (*)(), LogAppender*)","symbolLocation":232,"imageIndex":0},{"imageOffset":27544,"symbol":"start","symbolLocation":6076,"imageIndex":5}]},{"id":22041048,"frames":[{"imageOffset":10680,"symbol":"__ulock_wait","symbolLocation":8,"imageIndex":3},{"imageOffset":37040,"symbol":"_pthread_join","symbolLocation":608,"imageIndex":8},{"imageOffset":54840,"symbol":"CallJavaMainInNewThread","symbolLocation":184,"imageIndex":1},{"imageOffset":50148,"symbol":"ContinueInNewThread","symbolLocation":144,"imageIndex":1},{"imageOffset":39908,"symbol":"JLI_Launch","symbolLocation":5112,"imageIndex":1},{"imageOffset":64196,"symbol":"jvmLauncherStartJvm","symbolLocation":328,"imageIndex":0},{"imageOffset":57864,"symbol":"Jvm::launch()","symbolLocation":740,"imageIndex":0},{"imageOffset":94816,"symbol":"app::launch(std::nothrow_t const&, void (*)(), LogAppender*)","symbolLocation":232,"imageIndex":0},{"imageOffset":57108,"symbol":"apple_main","symbolLocation":88,"imageIndex":1},{"imageOffset":27660,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7040,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}],"threadState":{"x":[{"value":18446744073709551612},{"value":0},{"value":3843},{"value":0},{"value":150997247},{"value":3},{"value":0},{"value":0},{"value":3843},{"value":16908290},{"value":17},{"value":0},{"value":8703674200,"symbolLocation":0,"symbol":"vm_page_size"},{"value":105553177799092},{"value":2095104},{"value":2043},{"value":515},{"value":8720766456},{"value":0},{"value":6171979776},{"value":2},{"value":6171979828},{"value":16908290},{"value":6169850080},{"value":8703688772,"symbolLocation":0,"symbol":"_pthread_list_lock"},{"value":17},{"value":5176837447},{"value":105553127407752},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6858596528},"cpsr":{"value":1073745920},"fp":{"value":6169843856},"sp":{"value":6169843760},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6858324408},"far":{"value":0}}},{"triggered":true,"id":22041049,"threadState":{"x":[{"value":2310346747088470016},{"value":68719460624},{"value":1082444681},{"value":1},{"value":4},{"value":2301478907},{"value":105553175660768},{"value":0},{"value":68719460620},{"value":2310346747088470016},{"value":2310346747086372864},{"value":105553145266600},{"value":105553145266600},{"value":1},{"value":4294966855},{"value":2043},{"value":6858590676,"symbolLocation":0,"symbol":"pthread_jit_write_protect_np"},{"value":71},{"value":0},{"value":6171979471},{"value":6171979592},{"value":4294967293},{"value":6171979584},{"value":4335756460,"symbolLocation":0,"symbol":"vm_created"},{"value":4326684660,"symbolLocation":0,"symbol":"JNI_CreateJavaVM"},{"value":105553121149184},{"value":0},{"value":3},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4332455400},"cpsr":{"value":536875008},"fp":{"value":6171979392},"sp":{"value":6171977056},"esr":{"value":4060086273,"description":"(Breakpoint) brk 1"},"pc":{"value":6858591196,"matchesCrashFrame":1},"far":{"value":0}},"frames":[{"imageOffset":31708,"symbol":"pthread_jit_write_protect_np","symbolLocation":520,"imageIndex":8},{"imageOffset":11716072,"symbol":"Threads::create_vm(JavaVMInitArgs*, bool*)","symbolLocation":132,"imageIndex":2},{"imageOffset":5945448,"symbol":"JNI_CreateJavaVM","symbolLocation":116,"imageIndex":2},{"imageOffset":42224,"symbol":"JavaMain","symbolLocation":256,"imageIndex":1},{"imageOffset":54912,"symbol":"ThreadJavaMain","symbolLocation":12,"imageIndex":1},{"imageOffset":27660,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7040,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4297588736,
    "CFBundleShortVersionString" : "6.0.864",
    "CFBundleIdentifier" : "JabRef",
    "size" : 114688,
    "uuid" : "54adf0aa-cf6c-3a38-befa-64dad6aad23c",
    "path" : "\/Applications\/JabRef.app\/Contents\/MacOS\/JabRef",
    "name" : "JabRef",
    "CFBundleVersion" : "6.0.864"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4298326016,
    "size" : 81920,
    "uuid" : "2306e1b9-81f7-3c99-9091-6e2015565163",
    "path" : "\/Applications\/JabRef.app\/Contents\/runtime\/Contents\/Home\/lib\/libjli.dylib",
    "name" : "libjli.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4320739328,
    "size" : 13828096,
    "uuid" : "929aea8c-1837-3891-be4b-de63364c33d4",
    "path" : "\/Applications\/JabRef.app\/Contents\/runtime\/Contents\/Home\/lib\/server\/libjvm.dylib",
    "name" : "libjvm.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6858313728,
    "size" : 243284,
    "uuid" : "6e4a96ad-04b8-3e8a-b91d-087e62306246",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6859038720,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5500928,
    "uuid" : "8d45baee-6cc0-3b89-93fd-ea1c8e15c6d7",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "3603"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6854754304,
    "size" : 636280,
    "uuid" : "3247e185-ced2-36ff-9e29-47a77c23e004",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 8581484544,
    "CFBundleShortVersionString" : "6.5.4",
    "CFBundleIdentifier" : "com.apple.SwiftUICore",
    "size" : 12329376,
    "uuid" : "84fe33b3-a5db-3ca3-90cc-4d258172e788",
    "path" : "\/System\/Library\/Frameworks\/SwiftUICore.framework\/Versions\/A\/SwiftUICore",
    "name" : "SwiftUICore",
    "CFBundleVersion" : "6.5.4"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6858559488,
    "size" : 51784,
    "uuid" : "d6494ba9-171e-39fc-b1aa-28ecf87975d1",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  }
],
  "sharedCache" : {
  "base" : 6853918720,
  "size" : 5040898048,
  "uuid" : "4c1223e5-cace-3982-a003-6110a7a8a25c"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=924.0M resident=0K(0%) swapped_out_or_unallocated=924.0M(100%)\nWritable regions: Total=687.5M written=273K(0%) resident=273K(0%) swapped_out=0K(0%) unallocated=687.3M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nKernel Alloc Once                   32K        1 \nMALLOC                           676.2M       18 \nMALLOC guard page                   96K        6 \nSTACK GUARD                       56.0M        2 \nStack                             10.5M        3 \n__AUTH                            1143K      209 \n__AUTH_CONST                      24.6M      356 \n__DATA                            5516K      341 \n__DATA_CONST                      16.6M      362 \n__DATA_DIRTY                       689K      106 \n__FONT_DATA                        2352        1 \n__LINKEDIT                       621.1M        4 \n__OBJC_RO                         61.4M        1 \n__OBJC_RW                         2396K        1 \n__TEXT                           302.9M      376 \n__TPRO_CONST                       128K        2 \npage table in kernel               273K        1 \nshared memory                       32K        1 \n===========                     =======  ======= \nTOTAL                              1.7G     1791 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "7dc636d40d1b6342eae436b8b28b71742e49a496",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "64c17a9925d75a7281053d4c",
      "factorPackIds" : {
        "SIRI_AUDIO_DISABLE_MEDIA_ENTITY_SYNC" : "64d29746ad29a465b3bbeace"
      },
      "deploymentId" : 240000002
    },
    {
      "rolloutId" : "6246d6a916a70b047e454124",
      "factorPackIds" : {

      },
      "deploymentId" : 240000010
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "28060e10-d4e5-4163-aa2b-d8bd088d5cbf",
      "experimentId" : "6685b283afc7c17197d69eec",
      "deploymentId" : 400000012
    }
  ]
}
}

Siedlerchr avatar Oct 02 '25 09:10 Siedlerchr

@trag-bot didn't find any issues in the code! ✅✨

trag-bot[bot] avatar Oct 02 '25 18:10 trag-bot[bot]

Just for reference: *.plist were added at https://github.com/JabRef/jabref/pull/5986

Can't test it as I don't own a mac.

koppor avatar Oct 02 '25 18:10 koppor

Plist files were based on the JDK upstream templates. I mean it works locally when I build it. But not on CI.

Siedlerchr avatar Oct 02 '25 19:10 Siedlerchr

Plist files were based on the JDK upstream templates.

They were from 2020. I think, things changed. They are IMHO included in the JDK now.

I mean it works locally when I build it. But not on CI.

I would assume that the environment variable OSXCERT is not set :)

koppor avatar Oct 02 '25 20:10 koppor

still crash when using the builds.jabref.org version

I still need to try out with local build and codesigning

Siedlerchr avatar Oct 03 '25 12:10 Siedlerchr

With --mac-sign (I have jabref cert in my keychain) -> breaks dmg and pkg Without -> --mac-sign works fine

Siedlerchr avatar Oct 06 '25 19:10 Siedlerchr

Blocked by https://bugs.openjdk.org/browse/JDK-8358723

Siedlerchr avatar Oct 07 '25 18:10 Siedlerchr

I am trying to port https://github.com/JabRef/jabref/pull/13036 to here - to use JDK-26 EA (which seems to have the fix, because https://bugs.openjdk.org/browse/JDK-8358723 was fixed on September, 26th and the latest EA build of OpenJDK is from October, 3rd - https://jdk.java.net/26/).

koppor avatar Oct 08 '25 18:10 koppor

Let's rather wait for the first update, it will be backported to jdk25 which is planned for october https://www.java.com/releases/matrix/ https://github.com/openjdk/jdk25u/pull/250

Siedlerchr avatar Oct 08 '25 18:10 Siedlerchr

Java 26 blocked by https://bugs.openjdk.org/browse/JDK-8359760 / https://github.com/openjdk/jfx/blob/jfx24/doc-files/release-notes-24.md#applications-using-jlink-to-create-a-custom-java-runtime-image

koppor avatar Oct 09 '25 06:10 koppor