SWIG-SIGSEGV error Java Runtime Environment - Ubuntu22.04

Bug #2073110 reported by Rifat

This bug report will be marked for expiration in 55 days if no further activity occurs. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-21 (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

While testing my server (built by apache camel quarkus) for running GDAL JAVA tools, I got this error message:

Creating NDVI image...
ERROR 1: Java array type is not compatible with GDAL data type
ERROR 1: Java array type is not compatible with GDAL data type
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000070460bf72ea4, pid=62801, tid=62865
#
# JRE version: OpenJDK Runtime Environment (21.0.3+9) (build 21.0.3+9-Ubuntu-1ubuntu122.04.1)
# Java VM: OpenJDK 64-Bit Server VM (21.0.3+9-Ubuntu-1ubuntu122.04.1, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0xb72ea4]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/rifat/data-processing/core.62801)

But I can run same GDAL Java code with same setup in my local environment without any error.

For GDAL Java API I use cmake build with vagrant therefore I have to installed SWIG 4.0.2 with other prerequisits libraries, e.g., ant 1.10.12.

No idea why my server is throwing this error. Any insight is appreciated :-)

Revision history for this message
Vladimir Petko (vpa1977) wrote :

Hi,

Would it be possible to provide a core dump and hs_err_pid.log file?

Best Regards,
 Vladimir.

Changed in openjdk-21 (Ubuntu):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.