howz97 commented on issue #2568: URL: https://github.com/apache/brpc/issues/2568#issuecomment-1996374058
```shell In file included from /home/centos/brpc/src/brpc/policy/locality_aware_load_balancer.h:26:0, from /home/centos/brpc/src/brpc/policy/locality_aware_load_balancer.cpp:26: /home/centos/brpc/src/butil/containers/doubly_buffered_data.h: In instantiation of ‘butil::DoublyBufferedData<T, TLS, AllowBthreadSuspended>::Wrapper::Wrapper() [with T = brpc::policy::LocalityAwareLoadBalancer::Servers; TLS = butil::Void; bool AllowBthreadSuspended = false]’: /home/centos/brpc/src/butil/containers/doubly_buffered_data.h:258:38: required from ‘static butil::DoublyBufferedData<T, TLS, AllowBthreadSuspended>::Wrapper* butil::DoublyBufferedData<T, TLS, AllowBthreadSuspended>::WrapperTLSGroup::get_or_create_tls_data(butil::DoublyBufferedData<T, TLS, AllowBthreadSuspended>::WrapperTLSId) [with T = brpc::policy::LocalityAwareLoadBalancer::Servers; TLS = butil::Void; bool AllowBthreadSuspended = false; butil::DoublyBufferedData<T, TLS, AllowBthreadSuspended>::WrapperTLSId = int]’ /home/centos/brpc/src/butil/containers/doubly_buffered_data.h:548:70: required from ‘int butil::DoublyBufferedData<T, TLS, AllowBthreadSuspended>::Read(butil::DoublyBufferedData<T, TLS, AllowBthreadSuspended>::ScopedPtr*) [with T = brpc::policy::LocalityAwareLoadBalancer::Servers; TLS = butil::Void; bool AllowBthreadSuspended = false]’ /home/centos/brpc/src/brpc/policy/locality_aware_load_balancer.cpp:267:28: required from here /home/centos/brpc/src/butil/containers/doubly_buffered_data.h:368:29: internal compiler error: Segmentation fault , _modify_wait(false) { ^ Please submit a full bug report, ``` ```shell $ cmake --version cmake version 3.29.0-rc3 CMake suite maintained and supported by Kitware (kitware.com/cmake). $ protoc --version libprotoc 3.21.12 $ gcc --version gcc (GCC) 8.3.1 20190311 (Red Hat 8.3.1-3) Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ``` -- 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: dev-unsubscr...@brpc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org