Zi mo zi once said, LTP is a good model!
Car teacher OnePlus also has Bhan development ltp4j is a very good project, the use is also very convenient, following a few common errors caused by the use of log analysis of the bug
1, Phenomenon Description: Program interrupted, generate a Hs_err_pidxxxx.log file
# A fatal error have been detected by the Java Runtime environment:## SIGSEGV (0xb) at pc=0x00007fab8c69b911, pid=2398, TI d=140375976539904## JRE Version:java (TM) SE Runtime Environment (8.0_73-B02) (Build 1.8.0_73-b02) # Java Vm:java HotSpot ( TM) 64-bit Server VM (25.73-b02 mixed mode linux-amd64 compressed oops) # problematic frame:# C [libsegmentor.so.0.2.0+0x1 A911] _zn5boost12regex_searchin9__gnu_cxx17__normal_iteratoripkcsseesains_9sub_matchis5_eeecns_12regex_ Traitsicns_16cpp_regex_traitsiceeeeeebt_sd_rns_13match_resultsisd_t0_eerkns_11basic_regexit1_t2_eens_15regex_ constants12_match_flagsesd_.constprop.277+0x11## Failed to write core dump. Core dumps has been disabled. To enable core dumping, try "ulimit-c unlimited" before starting Java again## A error report file with more information is saved as:#/home/xxx/test/java_test/corefmodule/hs_err_pid2398.log## If you would like to submit a bug report, please V isit:# http://bugreport.java.com/bugreport/crash.jsp
Possible causes of the problem:
- Not enough memory--->-xmx2g above
- Model file not found---> Verify that the model file path exists
- The model has no write-initialization code---> initializes it when the function executes
2, the phenomenon Description: The program is interrupted, the following is also the detailed information, the display is. So error
Double 0X00007FC774139DC0 * * *
Possible causes of the problem:
- System version and source code, model version mismatch---> model download the latest version of
There are several reasons for this problem in C language: from http://blog.csdn.net/yalisiyi1/article/details/9284391
Two reasons
1.
int* a = new int (10);
Delete A;
Delete A; <----this
2. int* A;
Delete A; <----this
There's another one.
Char s[10];
int* a = new int (10);
sprintf (S, "1234567890");
Delete A; A was covered by the front.
======================================================
Of course, the reasons for the various problems, in the source code more than print some log is better ~ ~
Ltp4j Use bugs and solutions