【发布时间】:2014-11-13 08:53:13
【问题描述】:
我已按照安装说明http://bendemott.blogspot.de/2013/11/installing-pylucene-4-451.html 使用最新的pylucene-4.9.0.0 进行pylucene。
当我尝试lucene.initVM() 时,我收到以下错误:
alvas@ubi:~$ python
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import lucene
>>> lucene.initVM()
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007ffba22808b8, pid=5189, tid=140718811092800
#
# JRE version: OpenJDK Runtime Environment (7.0_65-b32) (build 1.7.0_65-b32)
# Java VM: OpenJDK 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 2.5.3
# Distribution: Ubuntu 14.04 LTS, package 7u71-2.5.3-0ubuntu0.14.04.1
# Problematic frame:
# V [libjvm.so+0x6088b8] jni_RegisterNatives+0x58
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/alvas/hs_err_pid5189.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla
#
Aborted (core dumped)
还有文件http://pastebin.com/6B8FyC4Z
我的 IceTea 配置有问题吗?还是我的 JDK?还是 JRE?
我应该如何解决这个问题?
【问题讨论】:
-
我认为你应该传递一些关于你的电脑架构和软件安装的更多信息。 Python是64位的? Java 是 64 位的。如果没有python,我担心可能会出现问题。我读了“混合模式 linux-amd64”。
-
你试过 JDK 8 了吗?
-
我最终在新服务器上重新安装并且它可以工作,但仍然不知道出了什么问题 =(
标签: java python lucene pylucene