baidu / AnyQ

FAQ-based Question Answering System
Apache License 2.0
2.59k stars 672 forks source link

成功启动run_server后,通过http请求服务异常退出 #253

Open biao-13 opened 1 year ago

biao-13 commented 1 year ago

I0901 08:39:19.572649 48047 method_wordseg.cpp:39] RAW: init wordseg success I0901 08:39:19.572649 48047 analysis_strategy.cpp:74] RAW: create method AnalysisWordseg success I0901 08:39:19.572649 48047 method_simnet_emb.cpp:62] RAW: fetch name: 0 tanh.tmp_1 I0901 08:39:19.572649 48047 method_simnet_emb.cpp:62] RAW: fetch name: 1 cos_sim_0.tmp_0 I0901 08:39:19.572649 48047 method_simnet_emb.cpp:70] RAW: query/cand/emb index: 0 1 0 I0901 08:39:19.572649 48047 analysis_strategy.cpp:74] RAW: create method AnalysisSimNetEmb success I0901 08:39:19.572649 48047 term_retrieval.cpp:77] RAW: create solr q builder equal_solr_q_1 success I0901 08:39:19.572649 48047 retrieval_strategy.cpp:56] RAW: create retrieval plugin term_recall_1 success I0901 08:39:19.572649 48047 wordseg_proc.cpp:33] RAW: init wordseg_feature success I0901 08:39:19.572649 48047 rank_strategy.cpp:100] RAW: create feature wordseg_process success I0901 08:39:19.572649 48047 simnet_paddle_sim.cpp:35] RAW: _output_num:1 I0901 08:39:19.572649 48047 rank_strategy.cpp:100] RAW: create feature fluid_simnet_feature success I0901 08:39:19.572649 48047 rank_strategy.cpp:100] RAW: create feature jaccard_sim success I0901 08:39:19.572649 48047 rank_strategy.cpp:63] RAW: create predictor PredictLinearModel success I0901 08:39:19.572649 48047 anyq_strategy.cpp:50] RAW: anyq init success I0901 08:39:19.572649 48047 session_data_factory.cpp:67] RAW: session data init success!!! I0901 08:39:19.572649 48047 utils.cpp:590] RAW: in json_to_analysis_item, query:需要使用什么账号登录 I0901 08:39:19.572649 48047 utils.cpp:594] RAW: in json_to_analysis_item, type:(null) I0901 08:39:19.572649 48047 analysis_strategy.cpp:115] RAW: analysis_analysis size: 1 I0901 08:39:19.572649 48047 analysis_strategy.cpp:130] RAW: before use analysis strategy's analysis_result I0901 08:39:19.572649 48047 utils.cpp:609] RAW: query:需要使用什么账号登录 I0901 08:39:19.572649 48047 utils.cpp:611] RAW: tokens_basic size is 0 I0901 08:39:19.572649 48047 analysis_strategy.cpp:148] RAW: method_process method_wordseg start Assertion failed: p_rcu_reader->depth != 0 (/qemu/include/qemu/rcu.h: rcu_read_unlock: 101) Aborted

我在docker上编译成功后,curl "127.0.0.1:8999/anyq?question=需要使用什么账号登录" 返回如上信息,服务异常退出了。请问有人知道是什么原因吗??

yysirs commented 1 year ago

你好请问你是如何make成功的?可以分享一下,我目前卡在了make上

[  0%] Performing build step for 'extern_paddle'
[  0%] Built target extern_boost
[  1%] Built target extern_gflags
[  2%] Built target extern_glog
[  2%] Built target boost
[  3%] Built target extern_mklml
[  3%] Built target cblas
[  4%] Built target extern_eigen3
[  4%] Built target eigen3
[  5%] Built target extern_lib_any
[  6%] Built target extern_zlib
[  7%] Built target extern_protobuf
[  7%] Built target extern_snappy
[  8%] Built target extern_snappystream
[  9%] Built target extern_threadpool
[ 10%] Built target extern_warpctc
[ 10%] Built target lib_any
[ 10%] Built target simple_threadpool
[ 10%] Generating ../paddle/python/paddle/proto/TrainerConfig_pb2.py
[ 10%] Generating ../paddle/python/paddle/proto/DataConfig_pb2.py
[ 10%] Generating ../paddle/python/paddle/proto/ParameterServerConfig_pb2.py
[ 10%] Generating ../paddle/python/paddle/proto/ParameterService_pb2.py
[ 10%] Generating ../paddle/python/paddle/proto/ParameterConfig_pb2.py
[ 10%] Generating ../paddle/python/paddle/proto/ModelConfig_pb2.py
[ 10%] Generating ../paddle/python/paddle/proto/DataFormat_pb2.py
[ 10%] Generating ../paddle/python/paddle/proto/OptimizerConfig_pb2.py
[ 10%] Built target gen_proto_py
[ 12%] Built target paddle_proto
[ 12%] Built target enforce
[ 12%] Building CXX object paddle/fluid/platform/CMakeFiles/place.dir/place.cc.o
In file included from /AnyQ/build/third_party/install/paddle/third_party/boost/src/extern_boost/boost_1_41_0/boost/mpl/aux_/na_assert.hpp:23,
                 from /AnyQ/build/third_party/install/paddle/third_party/boost/src/extern_boost/boost_1_41_0/boost/mpl/arg.hpp:25,
                 from /AnyQ/build/third_party/install/paddle/third_party/boost/src/extern_boost/boost_1_41_0/boost/variant/variant_fwd.hpp:19,
                 from /AnyQ/build/third_party/install/paddle/third_party/boost/src/extern_boost/boost_1_41_0/boost/variant/variant.hpp:27,
                 from /AnyQ/build/third_party/install/paddle/third_party/boost/src/extern_boost/boost_1_41_0/boost/variant.hpp:17,
                 from /AnyQ/build/third_party/paddle/src/extern_paddle/paddle/fluid/platform/variant.h:43,
                 from /AnyQ/build/third_party/paddle/src/extern_paddle/paddle/fluid/platform/place.h:20,
                 from /AnyQ/build/third_party/paddle/src/extern_paddle/paddle/fluid/platform/place.cc:15:
/AnyQ/build/third_party/install/paddle/third_party/boost/src/extern_boost/boost_1_41_0/boost/mpl/assert.hpp:154:21: error: unnecessary parentheses in declaration of ‘assert_arg’ [-Werror=parentheses]
 failed ************ (Pred::************
                     ^
/AnyQ/build/third_party/install/paddle/third_party/boost/src/extern_boost/boost_1_41_0/boost/mpl/assert.hpp:159:21: error: unnecessary parentheses in declaration of ‘assert_not_arg’ [-Werror=parentheses]
 failed ************ (boost::mpl::not_<Pred>::************
                     ^
cc1plus: all warnings being treated as errors
paddle/fluid/platform/CMakeFiles/place.dir/build.make:54: recipe for target 'paddle/fluid/platform/CMakeFiles/place.dir/place.cc.o' failed
make[5]: *** [paddle/fluid/platform/CMakeFiles/place.dir/place.cc.o] Error 1
CMakeFiles/Makefile2:1842: recipe for target 'paddle/fluid/platform/CMakeFiles/place.dir/all' failed
make[4]: *** [paddle/fluid/platform/CMakeFiles/place.dir/all] Error 2
Makefile:95: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/extern_paddle.dir/build.make:109: recipe for target 'third_party/paddle/src/extern_paddle-stamp/extern_paddle-build' failed
make[2]: *** [third_party/paddle/src/extern_paddle-stamp/extern_paddle-build] Error 2
CMakeFiles/Makefile2:598: recipe for target 'CMakeFiles/extern_paddle.dir/all' failed
make[1]: *** [CMakeFiles/extern_paddle.dir/all] Error 2
Makefile:75: recipe for target 'all' failed
make: *** [all] Error 2