baidu / baidu/AnyQ

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

Open
#253 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.6k
Forks
657
PR merge metrics
No merged PRs in 30d

Description

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=需要使用什么账号登录" 返回如上信息,服务异常退出了。请问有人知道是什么原因吗??

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure in the Docker-built AnyQ service by starting run_server and sending the documented curl request to 127.0.0.1:8999/anyq. Start with the request-processing path around method_wordseg and the reported QEMU rcu_read_unlock assertion. Done means identifying the cause of the abnormal exit and confirming that the same request no longer aborts the service.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, docker
Domain
api, backend, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.