- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我安装了 PyLucene 4.10.1(我相信这是最新的)。但是,当我调用 initVM() 时,出现了一个 SIGSEGV,我不知道该怎么办。
这是输出:
[zzz@xxx gitCode]$ python
Python 2.7.5 (default, Oct 11 2015, 17:47:16)
[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux2
>>> import lucene
>>> lucene.initVM()
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fc725385c4b, pid=18501, tid=140493474518848
#
# JRE version: OpenJDK Runtime Environment (7.0_101) (build 1.7.0_101-mockbuild_2016_04_19_09_09-b00)
# Java VM: OpenJDK 64-Bit Server VM (24.95-b01 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 2.6.6pre01
# Distribution: Red Hat Enterprise Linux Server release 7.2 (Maipo), package rhel-2.6.6.1.el7_2-x86_64 u101-b00
# Problematic frame:
# V [libjvm.so+0x62ac4b]
#
# Core dump written. Default location: /local/gitCode/core or core.18501
#
# An error report file with more information is saved as:
# /tmp/jvm-18501/hs_error.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)
核心文件的输出如下:
Core was generated by `python'.
Program terminated with signal 6, Aborted.
#0 0x00007fc72e7ee5f7 in ?? ()
但是,我注意到 Pylucene 使用 JRE 1.7(从上面的错误消息)。当我运行以下命令时:
/usr/sbin/alternatives --config java
/usr/sbin/alternatives --config javac
它告诉我 Java 1.8 是默认的。会不会是兼容性问题?如果是,如何确保一个版本的稳定性?
最佳答案
我实际上安装了两个版本的 pylucene(4.9 和 4.10)。此外,我用 JDK 1.7 编译它们,实际上使用的是 1.8(即使在切换到 1.7 后它显示 SIGSEGV)。
最后,我只是 rm -rf
两个鸡蛋 (site/packages/lucene4.xxx.egg
) 并用 JDK 1.8 重新编译了 pylucene4.10 并且它工作了.
关于java - PyLucene : lucene. initVM() 在 linux RHEL7 上导致段错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37971636/
我想把这个 Dockerfile 带到这里 - https://github.com/ForgeRock/forgeops/blob/release/6.5.0/docker/util/Dockerf
我最近将许多网站从一台运行 RHEL 6 的服务器迁移到一台运行 RHEL 7 的服务器。一个站点使用 pdftk,它依赖于 libgcj,显然 RHEL 7 不再支持它。(至少,我有没有找到广告它的
为了测试日期/时间设置为过去或 future 的 java 代码,我想尝试 libfaketime(目前我们只是调整系统时钟,但它会导致很多麻烦,例如无法正常工作的 kerberos 等)。 我尝试使
我有一堆使用 gcc 4.7 在 RHEL 7 中构建的库。以下是否可能 1) Can the binary be executed in RHEL 6 host without re-compili
所有配置都相同。只是尝试从 A 移动到 B。但是在 B 服务器上,我在尝试/测试登录时收到以下错误: FTP client login error 任何解决方案都将受到高度赞赏。 最诚挚的问候,卡洛尔
我们的业务需要在一个平台上编译我们的软件并在另一个平台上交付。这一直很好,直到我们需要编译 mysqlclient 以连接到数据库。 我想知道是否有其他人尝试过针对 mysqlclient 进行编译并
我们有一个基于 32 位 CentOS 4.8(相当于 Red Hat Enterprise Linux (RHEL) 4 update 8)的商业应用程序。 默认的 gcc 编译器是 3.4.6 我
我是计算机科学新手。我的项目需要使用基于 CLIPS 规则的引擎,它在 RHEL 盒子中运行。查看剪辑的下载链接( http://sourceforge.net/projects/clipsrules
RHEL7 中使用了firewalld代替了原来的iptables,操作设置和原来有点不同: 查看防火墙状态:systemctl status firewalld 启动防火墙:systemctl st
MySQL数据库是Linux操作系统上用得最多的数据库系统,它可以非常方便的与其它服务器集成在一起,如Apache、Vsftpd、Postfix等。下面介绍RHEL 6平台MySQL数据库服务器的安
我正在尝试在 RHEL 服务器上安装 certbot。 Instructions to enable epel-release # yum install https://dl.fedoraproje
我正在开发一个在 Linux (RHEL 7) 上归档数据的应用程序。该应用程序保留源文件并将 tar/tar.gz 放在存档文件夹中。当我的数据很少时,它工作正常。但是当我尝试处理大数据时,我遇到了
已关闭。此问题不符合Stack Overflow guidelines 。目前不接受答案。 这个问题似乎不是关于 a specific programming problem, a software
所以,我正在尝试更改 RHEL 中的存储库,但我总是收到以下消息,但不知道这意味着什么。 Loaded plugins: product-id, security, subscription-mana
我正在 RHEL 环境中运行我的应用程序服务器(Karaf、Tomcat、Mongo 和 Zookeeper 各一个实例),并且经常看到(使用 free -m)我的总 12GB RAM 中近 8GM
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be
我对证书真的很陌生,发现很难实现我的想法。让我有一个用 openSSL 生成的自签名证书。为了使该证书受信任,我应该在 RHEL 中遵循哪些步骤? .pfx 和 .crt 在程序上有什么区别吗?您能否
我最近发现我的 C++ 程序在尝试从输入流重定向到字符串时在 Red Hat Linux 上发生核心转储。该程序提供了一个 PID,并尝试从/proc 中获取进程名称。代码如下: std::strin
我在 x86_64 机器上使用 RHEL 5.8: $ uname -r 2.6.18-308.1.1.el5 $ uname -m x86_64 $ 尝试将源代码交叉编译为 i386 兼容: CFL
我在 service script 之后写了一个服务脚本但是我发现没有守护进程命令,我无法谷歌如何安装它 最佳答案 来自 /usr/share/doc/initscripts-*/sysvinitfi
我是一名优秀的程序员,十分优秀!