sphinx-for-chinese 2.1.0-id64-dev (r3361)

sphinx-for-chinese 2.1.0-id64-dev (r3361)
Copyright (c) 2008-2012, sphinx-search.com

using config file '/usr/local/sphinx/etc/sphinx.conf'...
indexing index 'document'...
indexer: sphinx.cpp:5883: virtual int CSphTokenizer_UTF8Chinese::GetCodepointLength(int) const: Assertion `iBytes>=2 && iBytes<=4' failed.
*** Oops, indexer crashed! Please send the following report to developers.
Sphinx 2.1.0-id64-dev (r3361)
-------------- report begins here ---------------
Current document: docid=1, hits=0
Current batch: minid=1, maxid=1000
Hit pool start: docid=0, hit=0
-------------- backtrace begins here ---------------
Program compiled with gcc 4.4.6
Host OS is Linux zjs-share-pc 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Stack bottom = 0x936620, thread stack size = 0x14000
begin of manual backtrace:
Stack looks OK, attempting backtrace.
begin of system backtrace:
begin of system symbols:
/usr/local/sphinx/bin/indexer[0x4efa13]
/usr/local/sphinx/bin/indexer[0x40aaaf]
/lib64/libpthread.so.0(+0xf500)[0x7f0633474500]
/lib64/libc.so.6(gsignal+0x35)[0x7f063211a8a5]
/lib64/libc.so.6(abort+0x175)[0x7f063211c085]
/lib64/libc.so.6(+0x2ba1e)[0x7f0632113a1e]
/lib64/libc.so.6(__assert_perror_fail+0x0)[0x7f0632113ae0]
/usr/local/sphinx/bin/indexer[0x41af8e]
/usr/local/sphinx/bin/indexer[0x45b6e5]
/usr/local/sphinx/bin/indexer[0x45c223]
/usr/local/sphinx/bin/indexer[0x45a789]
/usr/local/sphinx/bin/indexer[0x431641]
/usr/local/sphinx/bin/indexer[0x409792]
/usr/local/sphinx/bin/indexer[0x40c54d]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7f0632106cdd]
/usr/local/sphinx/bin/indexer[0x403d39]
Backtrace looks OK. Now you have to do following steps:
1. Run the command over the crashed binary (for example, 'searchd'):
nm -n searchd > searchd.sym
2. Attach the binary, generated .sym and the text of backtrace (see above) to the bug report.
Also you can read the section about resolving backtraces in the documentation.
-------------- backtrace ends here ---------------
--- BT to source lines (depth 16): ---
/mydisk/software/sphinx-for-chinese-2.1.0-dev-r3361/src/sphinxutils.cpp:1882
/mydisk/software/sphinx-for-chinese-2.1.0-dev-r3361/src/indexer.cpp:1395
??:0
??:0
??:0
??:0
??:0
/mydisk/software/sphinx-for-chinese-2.1.0-dev-r3361/src/sphinx.cpp:5884
/mydisk/software/sphinx-for-chinese-2.1.0-dev-r3361/src/sphinx.cpp:23665
/mydisk/software/sphinx-for-chinese-2.1.0-dev-r3361/src/sphinx.cpp:23827
/mydisk/software/sphinx-for-chinese-2.1.0-dev-r3361/src/sphinx.cpp:23431
/mydisk/software/sphinx-for-chinese-2.1.0-dev-r3361/src/sphinx.cpp:11946
/mydisk/software/sphinx-for-chinese-2.1.0-dev-r3361/src/indexer.cpp:1185
/mydisk/software/sphinx-for-chinese-2.1.0-dev-r3361/src/indexer.cpp:1792
??:0
??:0

解决办法 :
去掉sphinx.conf中的min_prefix_len,或 min_prefix_len = 0

发表评论

电子邮件地址不会被公开。 必填项已用*标注