Skip to content

CI: MacOS + Java bindings occasionnaly segfaults #1410

Open
@mwestphal

Description

@mwestphal

Describe the bug
MacOS + Java bindings occasionally segfaults, specifically:
In CI, since we switched to macos-13, the TestJavaBindings when building against vtk 9.2.6 fails with:

383/384 Test #384: javaf3d::TestJavaBindings ...................................Subprocess aborted***Exception:   1.16 sec
The best reader for "/Users/runner/work/f3d/f3d/source/testing/data/cow.vtp" is "VTKXMLVTP"
Loading 3D geometry: /Users/runner/work/f3d/f3d/source/testing/data/cow.vtp

No animation available in this file
No camera available in this file

=== cow.vtp ===
Number of points: 2903
Number of polygons: 3263
Number of lines: 0
Number of vertices: 0
0 point data array(s):
0 cell data array(s):
0 field data array(s):

Not coloring

Scene bounding box: -4.44584,5.99809,-3.63704,2.75972,-1.70141,1.70141
Camera position: 0.776126,-0.438658,24.556
Camera focal point: 0.776126,-0.438658,0
Camera view up: 0,1,0
Camera view angle: 28.3333

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007ff808032a41, pid=70991, tid=259
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.11+9 (17.0.11+9) (build 17.0.11+9)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (17.0.11+9, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Problematic frame:
# C  [libobjc.A.dylib+0x9a41]  objc_release+0x21
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/runner/work/f3d/f3d/build/lib/hs_err_pid70991.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
#

This has not been reproduced locally yet.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Investigate

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions