编写 Python Flask API 时出现 JAVA 致命错误

我制作了flask + python + zerodb afgh => afgh api


并使用postman测试api,但调用afgh方法时出现java致命错误


zerodb afgh 是使用 jar 的 python 代码


我试着 ulimit -c unlimited export _JAVA_OPTIONS=-Xmx4096m


但它不起作用。


我的环境:windows10、ubuntu 16.04(安装windows应用)、16G内存、python2.7、java


我的错误:


# A fatal error has been detected by the Java Runtime Environment:

#

#  SIGSEGV (0xb) at pc=0x00007f989dec6d70, pid=5720, tid=0x00007f9889400700

#

# JRE version: OpenJDK Runtime Environment (8.0_181-b13) (build 1.8.0_181-8u181-b13-0ubuntu0.16.04.1-b13)

# Java VM: OpenJDK 64-Bit Server VM (25.181-b13 mixed mode linux-amd64 compressed oops)

# Problematic frame:

# C  [_jpype.so+0x2fd70]  JPJavaEnv::FindClass(char const*)+0x20

#

# Core dump written. Default location: /mnt/c/Users/hs/test/flaskrest/core or core.5720

#

# If you would like to submit a bug report, please visit:

#   http://bugreport.java.com/bugreport/crash.jsp

#

更多日志:https : //github.com/rkdlrl/flaskrest/blob/master/hs_err_pid5720.log


慕沐林林
浏览 166回答 1
1回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java