Skip to content

JVM crash / fatal error #92

@edigonzales

Description

@edigonzales

I have a simple pipeline that crashes the jvm

String json = """
{
    "pipeline": [
        {
            "type": "readers.las",
            "filename": "%s"
        },
        {
            "type": "writers.las",
            "filename": "%s",
            "compression": "laszip"
        }
    ]
}
            """.formatted(inputFile, outputFile);    
Pipeline pipeline = new Pipeline(json, LogLevel.Error());
pipeline.execute(); 
pipeline.close();

Error is like:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000012cad1ec2, pid=7207, tid=7683
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.10+7 (17.0.10+7) (build 17.0.10+7)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.10+7 (17.0.10+7, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Problematic frame:
# C  [libpdalcpp.16.2.0.dylib+0x342ec2]  pdal::PipelineManager::validateStageOptions() const+0x22
#
# 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/stefan/sources/p-agi_lidar_2023/hs_err_pid7207.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Error report file is attached. Any idea what goes wrong? I'm on an older Intel Mac running macOS Monterey (12.7.4). Dependencies used are: io.pdal:pdal-native:2.6.2and io.pdal:pdal_3:2.6.2. I installed the pdal binaries and libs with conda. Running PDAL in the terminal works perfectly.

hs_err_pid7207.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions