IntelliJ Ultimate giving "Abnormal build process termination"
Hello,
I was trying to code, but IntelliJ keeps randomly giving "Abnormal build process termination" when I try to run the application. Any application, even the simplest Hello World. And with "randomly" I mean it don't always happens. If I keep trying to run it, it may run on the first try, or it may keep giving the same error 10 times before running successfully.
I created a simple Java file and a shell script that compiles the file, runs the resulting class file, and then removes the class file, 100 times. All of them worked perfectly so I'm assuming that's a problem with IntelliJ.
Since some other threads suggested that it may be hardware related, I will be posting my neofetch:
OS: Artix Linux x86_64
Host: Aspire A315-53 V1.22
Kernel: 5.8.12-artix1-1
Uptime: 1 hour, 33 mins
Packages: 1158 (pacman)
Shell: bash 5.0.18
Resolution: 1366x768, 1280x1024
DE: Xfce 4.14
WM: Xfwm4
WM Theme: Default
Theme: Adwaita-dark [GTK2], Artix-dark [GTK3]
Icons: Qogir-dark [GTK2], matefaenzadark [GTK3]
Terminal: alacritty
CPU: Intel i3-8130U (4) @ 2.200GHz
GPU: Intel UHD Graphics 620
Memory: 5418MiB / 7833MiB
And this is the end of the log when the run fails:
Build process started. Classpath: /home/taarak/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.7319.50/plugins/java/lib/jps-launcher.jar
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil (file:/home/taarak/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/202.7319.50/lib/protobuf-java-3.5.1.jar) to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of com.google.protobuf.UnsafeUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Pointer: 0000000000000001 has is not object aligned (to 8 bytes)
13:21:53.293 0x428000 j9mm.141 * ** ASSERTION FAILED ** at ./MarkingScheme.hpp:70: ((false))
JVMDUMP039I Processando o evento de dump "traceassert", detalhe "" em 2020/10/07 10:21:53 - aguarde.
JVMDUMP032I A JVM solicitou o dump System usando '/home/taarak/.cache/JetBrains/IntelliJIdea2020.2/compile-server/core.20201007.102153.12193.0001.dmp' em resposta a um evento
JVMDUMP010I System dump gravado em /home/taarak/.cache/JetBrains/IntelliJIdea2020.2/compile-server/core.20201007.102153.12193.0001.dmp
JVMDUMP032I A JVM solicitou o dump Java usando '/home/taarak/.cache/JetBrains/IntelliJIdea2020.2/compile-server/javacore.20201007.102153.12193.0002.txt' em resposta a um evento
JVMDUMP010I Java dump gravado em /home/taarak/.cache/JetBrains/IntelliJIdea2020.2/compile-server/javacore.20201007.102153.12193.0002.txt
JVMDUMP032I A JVM solicitou o dump Snap usando '/home/taarak/.cache/JetBrains/IntelliJIdea2020.2/compile-server/Snap.20201007.102153.12193.0003.trc' em resposta a um evento
JVMDUMP010I Snap dump gravado em /home/taarak/.cache/JetBrains/IntelliJIdea2020.2/compile-server/Snap.20201007.102153.12193.0003.trc
JVMDUMP013I Evento de dump processado "traceassert", detalhe "".
请先登录再写评论。
What JDK version do you use for the project? It looks like the issue is specific to this Java version. Try using some different or more up-to-date JDK.
I was using the JDK 14.0.2, that I have been using since it's launch. I installed the JDK 15 from IntelliJ (the "adopt-openj9-15"), but the problem is still happening.
It looks like openj9 specific issue. I'd try a JDK from a different vendor.
https://github.com/eclipse/openj9/issues/2373 .
May be worth filing a new bug at https://github.com/eclipse/openj9/issues .
I downloaded the "adopt-openjdk-15" from IntelliJ and compiled a project with small modifications a few times and it seems to be working. I will probably be filling a bug to the link you proposed.