Java – pylucene error and icetea / JDK / JRE

I use the latest pylucene-4.9 0.0 followed the installation instructor http://bendemott.blogspot.de/2013/11/installing-pylucene-4-451.html for pylucene.

And when I tried Lucene Initvm(), I get the following error:

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)

And documents http://pastebin.com/6B8FyC4Z

Is there a problem with my icetea configuration? Or my JDK? Or JRE?

How can I solve the problem?

Solution

So I looked at your stack trace and I don't think this problem is specific to pylucene In the stack trace, you will see this error:

siginfo:si_signo=SIGSEGV: si_errno=0,si_code=1 (SEGV_MAPERR),si_addr=0x0000000000000000

If you look at the first part, SIGSEGV, it means that there will be a segmentation error somewhere in your system SEGV_ Maperr is a specific error, which means that openjdk is trying to map memory to an object and fails This may be caused by insufficient memory, insufficient pagefile / virtual memory, insufficient address space, or even bad libraries Why does it work on another machine? What might it be Core dump is very useful, so if you can run

ulimit -c unlimited

This will help you see Is this on a VM or a physical machine? If there is not enough memory allocated for various Java tasks, I see random SIGSEGV in Ubuntu VM I saw this in the esxi hypervisor. I noticed that esxi started to perform memory exchange I can solve this problem by increasing memory, restarting the virtual machine, and ensuring that my hypervisor does not swap memory Let me know if it helps

The above is all the contents of Java – pylucene errors and icetea / JDK / JRE collected by programming house for you. I hope this article can help you solve the program development problems encountered by Java – pylucene errors and icetea / JDK / JRE.

If you think the content of the programming home website is good, you are welcome to recommend the programming home website to programmers and friends.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>