ReliSA / Software-process-antipatterns-catalogue

Catalogue pages of anti-patterns (common bad practices) in software project management and processes
Other
22 stars 7 forks source link

application fails on start with SIGSEGV #42

Open pbrada opened 1 year ago

pbrada commented 1 year ago

Freshly built app fails to start, crashes with "core" dumped, due to SIGSEGV in libjvm.so. The error log is attached.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f2ff992831a, pid=6995, tid=7024
#
# JRE version: OpenJDK Runtime Environment (11.0.18+10) (build 11.0.18+10-post-Ubuntu-0ubuntu122.04)
# Java VM: OpenJDK 64-Bit Server VM (11.0.18+10-post-Ubuntu-0ubuntu122.04, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x8f731a]

System info:

System:
  Host: brada-virt-kiv Kernel: 5.15.0-67-generic x86_64 bits: 64
    Desktop: Xfce 4.16.0 Distro: Ubuntu 22.04.2 LTS (Jammy Jellyfish)
Machine:
  Type: Kvm System: QEMU product: Standard PC (i440FX + PIIX, 1996)
    v: pc-i440fx-6.1 serial: <superuser required>
  Mobo: N/A model: N/A serial: N/A UEFI: EFI Development Kit II / OVMF
    v: 0.0.0 date: 02/06/2015
CPU:
  Info: 2x 4-core Common KVM [MCP SMP] speed (MHz): avg: 2600
Graphics:
  Device-1: driver: bochs-drm v: N/A
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: bochs-drm resolution: 1920x1200~50Hz
  OpenGL: renderer: llvmpipe (LLVM 15.0.6 128 bits) v: 4.5 Mesa 22.2.5

hs_err_pid6995.log

pbrada commented 1 year ago

Googling for a workaround did not help, in particular trying to set the garbage collector to single threaded. Happens on both master and development branches.