HamaWhiteGG / langchain-java

Java version of LangChain, while empowering LLM for Big Data.
Apache License 2.0
545 stars 106 forks source link

Jvm crash #59

Closed mcheung610 closed 1 year ago

mcheung610 commented 1 year ago

I got a jvm crash using both azul/zulu-openjdk-alpine:17-latest and amazoncorretto:17-alpine-jdk when I tried to index the documents through pinecone. Curious if anyone also experience the same issue.

#
# See problematic frame for where to report the bug.
# The crash happened outside the Java Virtual Machine in native code.
# http://www.azul.com/support/
# If you would like to submit a bug report, please visit:
#
# /srv/core-api/hs_err_pid1.log
# An error report file with more information is saved as:
#
# Core dump will be written. Default location: /srv/core-api/core.1
#
# C [libquadmath.so.0+0x26b0]
# Problematic frame:
# Java VM: OpenJDK 64-Bit Server VM Zulu17.44+15-CA (17.0.8+7-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# JRE version: OpenJDK Runtime Environment Zulu17.44+15-CA (17.0.8+7) (build 17.0.8+7-LTS)
#
# SIGSEGV (0xb) at pc=0x0000000000002026, pid=1, tid=68
#
# A fatal error has been detected by the Java Runtime Environment:
#
HamaWhiteGG commented 1 year ago

you can see the log /srv/core-api/hs_err_pid1.log

mcheung610 commented 1 year ago

Fixed this by switching from alphine to eclipse-temurin:17-jdk

it seems to be related to this https://github.com/deeplearning4j/deeplearning4j/issues/8974