I have been noticing I am having frequent segfaults when I run a utility to format my java code. I am using a shell script that wraps google java format and runs 10 processes in parallel via xarg. I am guessing that by running 10 processes in parallel that use the same jar file, I am having this problem.
If the jar file is opened read-only, why would it matter if I'm accessing it 10 times in parallel? All of my java code formats are done on different files, so they shouldn't be interfering with one another.
If the jar file is opened read-only, why would it matter if I'm accessing it 10 times in parallel? All of my java code formats are done on different files, so they shouldn't be interfering with one another.
Code:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000080118ddae, pid=22778, tid=993361
#
# JRE version: OpenJDK Runtime Environment (15.0.2+7) (build 15.0.2+7-1)
# Java VM: OpenJDK 64-Bit Server VM (15.0.2+7-1, mixed mode, sharing, tiered, compressed oops, g1 gc, bsd-amd64)
# Problematic frame:
# C [libc.so.7+0xc8dae] localeconv_l+0xbe
#
# No core dump will be written.
#
# An error report file with more information is saved as:
# <HOME_DIR>/projects/localhost/programming/java/parent/hs_err_pid22778.log
[error occurred during error reporting ((null)), id 0xb, SIGSEGV (0xb) at pc=0x000000080118ddae]