You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@brpc.apache.org by "lhsoft (via GitHub)" <gi...@apache.org> on 2025/07/01 07:38:14 UTC
[I] 关闭save_series FLAG后coredump (brpc)
lhsoft opened a new issue, #3013:
URL: https://github.com/apache/brpc/issues/3013
**Describe the bug**
关闭save_series,启动直接core dump
**To Reproduce**
**Expected behavior**
**Versions**
OS:
Compiler:
brpc:
protobuf:
**Additional context/screenshots**
在 LatencyRecorder::expose中有一个CHECK_EQ
```
CHECK_EQ(0, _latency_percentiles.set_vector_names(namebuf));
```
但在关闭save_series时,PassiveStatus::set_vector_names返回-1,导致core
```
int set_vector_names(const std::string& names) {
if (_series_sampler) {
_series_sampler->set_vector_names(names);
return 0;
}
return -1;
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@brpc.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@brpc.apache.org
For additional commands, e-mail: issues-help@brpc.apache.org
Re: [I] 关闭save_series FLAG后coredump (brpc)
Posted by "wwbmmm (via GitHub)" <gi...@apache.org>.
wwbmmm closed issue #3013: 关闭save_series FLAG后coredump
URL: https://github.com/apache/brpc/issues/3013
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@brpc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@brpc.apache.org
For additional commands, e-mail: issues-help@brpc.apache.org