Johnnylan / fudannlp

Automatically exported from code.google.com/p/fudannlp
0 stars 0 forks source link

运行1.6.1版java虚拟机挂了 #54

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f664eeb840c, pid=19277, tid=140076991481600
#
# JRE version: Java(TM) SE Runtime Environment (7.0_40-b43) (build 1.7.0_40-b43)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.0-b56 mixed mode linux-amd64 
compressed oops)
# Problematic frame:
# V  [libjvm.so+0x75640c]  PhaseIdealLoop::build_loop_late_post(Node*)+0x13c
#
# 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/jiangfei/workspace/NLPLibs/hs_err_pid19277.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

源代码
import edu.fudan.nlp.cn.tag.CWSTagger;
import edu.fudan.nlp.cn.tag.POSTagger;

public class TestFudan {
    public static void main(String args[]) throws Exception {
        CWSTagger tagger = new CWSTagger("models/seg.m");
        System.out.println(tagger.tag("今天真高兴"));
        POSTagger tagger1 = new POSTagger("models/seg.m", "models/pos.m");
        System.out.println(tagger1.tag("今天真高兴,老爸老妈来啦"));
    }
}

Original issue reported on code.google.com by F91.Ji...@gmail.com on 23 Oct 2013 at 1:36

GoogleCodeExporter commented 8 years ago
建议使用java6,更稳定写。java7目前还有很多问题。

Original comment by xipeng...@gmail.com on 31 Oct 2013 at 5:43

GoogleCodeExporter commented 8 years ago
Did you find any workaround for the jvm crash?

Original comment by praki.pr...@gmail.com on 13 Nov 2013 at 4:57