# Fatal Error has been detected by the JVM

**URL:** <https://discourse.processing.org/t/fatal-error-has-been-detected-by-the-jvm/42131>\
**Category:** Processing\
**Created:** [June 3, 2023, 2:52pm UTC](https://discourse.processing.org/t/fatal-error-has-been-detected-by-the-jvm/42131 "2023-06-03T14:52:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aryszin](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@Aryszin](https://discourse.processing.org/u/Aryszin)\
**Post date:** [June 3, 2023, 2:52pm UTC](https://discourse.processing.org/t/fatal-error-has-been-detected-by-the-jvm/42131/1 "2023-06-03T14:52:09Z")

</div>

Im using Linux Mint 21.1 using KDE Plasma 5.24.7.

The errors happen at random, sometimes when the frameRate is over 300

Error reads the following:

```auto

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f87c6633a00, pid=502, tid=552
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.6+10 (17.0.6+10) (build 17.0.6+10)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.6+10 (17.0.6+10, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C [libnvidia-glcore.so.530.41.03+0x159ba00]
#
# Core dump will be written. Default location: Core dumps may be processed with "/lib/systemd/systemd-coredump %P %u %g %s %t 9223372036854775808 %h" (or dumping to /app/share/processing/core.502)
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid502.log

```

Sometimes it even says “Could not run sketch” even when it still does

```auto
int scrollx, scrolly;

void setup() {
  size(960, 720, P2D);
  windowTitle("Open Idea");
}

void draw() {
  background(#31363B);
  if (!focused) background(#2A2E32);

  for (int i = 0; i < 32; i++) line(0, i*(width/32), width, i*(width/32));
}

```

this is the code
