grpc / grpc

The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)

Home Page:https://grpc.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

signal SIGUS, Bus error on ARM Server.

Danliran opened this issue · comments

What version of gRPC and what language are you using?

grpc 1.36.1, c++

What operating system (Linux, Windows,...) and version?

Linux

What runtime / compiler are you using (e.g. python version or version of gcc)

gcc 7.3.0

What did you do?

We use grpc as a infrastration communication module in our project. The program was crashed with low probability event.

What did you expect to see?

don`t crash

What did you see instead?

Program terminated with signal SIGBUS, Bus error.
#0 0x0000fffd15feb814 in std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long)@plt ()
from /usr/lib64/libstdc++.so.6
[Current thread is 1 (Thread 0xfffcd37ef050 (LWP 3091737))]
(gdb) bt
#0 0x0000fffd15feb814 in std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long)@plt ()
from /usr/lib64/libstdc++.so.6
#1 0x0000fffd16081180 in std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_append (this=0xfffcd37edfa8, __s=, __n=)
at /tmp/gcc7.3.0/gcc-7.3.0/builddir/aarch64-unknown-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:370
#2 0x0000fffd16f61850 in absl::lts_2020_09_23::str_format_internal::FormatUntyped(absl::lts_2020_09_23::str_format_internal::FormatRawSinkImpl, absl::lts_2020_09_23::str_format_internal::UntypedFormatSpecImpl, absl::lts_2020_09_23::Span<absl::lts_2020_09_23::str_format_internal::FormatArgImpl const>) ()
#3 0x0000fffd16f61f5c in absl::lts_2020_09_23::str_format_internal::FormatPack[abi:cxx11](absl::lts_2020_09_23::str_format_internal::UntypedFormatSpecImpl, absl::lts_2020_09_23::Span<absl::lts_2020_09_23::str_format_internal::FormatArgImpl const>) ()
#4 0x0000fffd16f2c684 in grpc_core::JoinHostPort[abi:cxx11](absl::lts_2020_09_23::string_view, int) ()
#5 0x0000fffd16c45d70 in grpc_sockaddr_to_string[abi:cxx11](grpc_resolved_address const*, bool) ()
#6 0x0000fffd16c45fa4 in grpc_sockaddr_to_uri[abi:cxx11](grpc_resolved_address const*) ()
#7 0x0000fffd16c4d298 in ?? () from /opt/gcache/lib/libgcrpc.so
#8 0x0000fffd16c3fa40 in grpc_core::ExecCtx::Flush() ()
#9 0x0000fffd16db5cd0 in ?? ()
#10 0x0000fffd16c97100 in ?? ()
#11 0x0000fffd16b031b4 in grpc::CompletionQueue::AsyncNextInternal(void**, bool*, gpr_timespec) ()
#12 0x0000fffd16af77b4 in grpc::Server::SyncRequestThreadManager::PollForWork(void**, bool*) ()
#13 0x0000fffd16b017e8 in grpc::ThreadManager::MainWorkLoop() ()
#14 0x0000fffd16b01a48 in grpc::ThreadManager::WorkerThread::Run() ()
#15 0x0000fffd16f2d194 in ?? ()
#16 0x0000fffd16867ff8 in start_thread ()
#17 0x0000fffd1677b35c in thread_start ()

Anything else we should know about your project / environment?