hetao29 / sphinx-chinese

sphinx of chinese with scws 中文支持
21 stars 5 forks source link

sphinx-chinese master-chinese分支HTTP崩溃报告 #2

Open binyan17 opened 7 years ago

binyan17 commented 7 years ago

兄弟,你好,由于 https://github.com/hetao29/sphinx 无法提交Bug,所以我只有在这发了. 由于我们生产环境用到了HTTP请求,所以我使用的是你发布的最新版的master-chinese分支,打算解决生产环境的中文分词问题,但我在测试的过程中发现,当发起http /search请求时,服务崩溃, 生产环境用的是官方2.3.2-dev版,http无异常,但不支持中文分词,希望能尽快解决,谢谢! 崩溃报告如下:

------- FATAL: CRASH DUMP ------- [Wed Sep 13 00:58:09.152 2017] [26219]

--- crashed SphinxAPI request dump ---

--- request dump end --- Sphinx 2.3.3-id64-dev (866eff1) Handling signal 6 -------------- backtrace begins here --------------- Program compiled with gcc 5.4.0 Configured with flags: '--prefix=/usr/local/sphinx' '--with-scws=/usr/local/scws' '--with-mysql=/usr/local/mariadb' '--enable-id64' '--with-libstemmer' '--with-assert' '--with-mysql-includes=/usr/local/mariadb/include/mysql' '--with-mysql-libs=/usr/local/mariadb/lib' Host OS is Linux cq-web-01 4.4.0-93-generic #116-Ubuntu SMP Fri Aug 11 21:17:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Stack bottom = 0x7f340a5c7ef7, thread stack size = 0x100000 Trying manual backtrace: Frame pointer is null, manual backtrace failed (did you build with -fomit-frame-pointer?) Trying system backtrace: begin of system symbols: ./bin/searchd[0x5923c9] ./bin/searchd[0x40d441] /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f340c08f390] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f340b448428] /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7f340b44a02a] /lib/x86_64-linux-gnu/libc.so.6(+0x2dbd7)[0x7f340b440bd7] /lib/x86_64-linux-gnu/libc.so.6(+0x2dc82)[0x7f340b440c82] ./bin/searchd[0x504f37] ./bin/searchd[0x55b5d1] ./bin/searchd[0x581c8b] ./bin/searchd[0x58233a] ./bin/searchd[0x4ecf7c] ./bin/searchd[0x4e4032] ./bin/searchd[0x449445] ./bin/searchd[0x44fa42] ./bin/searchd[0x45106e] ./bin/searchd[0x492477] ./bin/searchd[0x42219b] ./bin/searchd[0x59d9c1] ./bin/searchd[0x59c053] /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7f340c0856ba] /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f340b51a3dd] -------------- backtrace ends here --------------- Please, create a bug report in our bug tracker (http://sphinxsearch.com/bugs) and attach there: a) searchd log, b) searchd binary, c) searchd symbols. Look into the chapter 'Reporting bugs' in the documentation (/usr/share/doc/sphinx/sphinx.txt or http://sphinxsearch.com/docs/current.html#reporting-bugs) --- BT to source lines (depth 22): --- /root/sphinx-chinese/src/sphinxutils.cpp:2242 /root/sphinx-chinese/src/searchd.cpp:1822 ??:0 ??:0 ??:0 ??:0 ??:0 /root/sphinx-chinese/src/sphinx.cpp:2500 /root/sphinx-chinese/src/sphinx.cpp:5647 /root/sphinx-chinese/src/sphinxquery.cpp:1696 /root/sphinx-chinese/src/sphinxquery.cpp:1960 /root/sphinx-chinese/src/sphinx.cpp:18321 /root/sphinx-chinese/src/sphinx.cpp:18380 /root/sphinx-chinese/src/searchd.cpp:7768 /root/sphinx-chinese/src/searchd.cpp:8423 /root/sphinx-chinese/src/searchd.cpp:7105 /root/sphinx-chinese/src/searchdhttp.cpp:638 /root/sphinx-chinese/src/searchd.cpp:22017 /root/sphinx-chinese/src/sphinxstd.cpp:1838 /root/sphinx-chinese/src/sphinxstd.cpp:651 ??:0 ??:0 --- BT to source lines finished --- --- 1 active threads --- thd 0, proto http, state handshake, command - ------- CRASH DUMP END -------

hetao29 commented 7 years ago

http确实没有测试过,我看看