Skip to content

sigabort while brpc::Controller::SetFailed in brpc::Controller::OnVersionedRPCReturned #1049

@fireboyvt

Description

@fireboyvt

Describe the bug (描述bug)

#0 0x00007fb0f0e2f207 in raise () from /usr/lib64/libc.so.6
#1 0x00007fb0f0e308f8 in abort () from /usr/lib64/libc.so.6
#2 0x00007fb0f0e71d27 in __libc_message () from /usr/lib64/libc.so.6
#3 0x00007fb0f0e785d4 in malloc_printerr () from /usr/lib64/libc.so.6
#4 0x00007fb0f0e7beff in _int_malloc () from /usr/lib64/libc.so.6
#5 0x00007fb0f0e7e1ac in malloc () from /usr/lib64/libc.so.6
#6 0x000000000098bd4d in operator new(unsigned long) ()
#7 0x00000000009cf659 in std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator const&) ()
#8 0x00000000009d026b in std::string::_Rep::_M_clone(std::allocator const&, unsigned long) ()
#9 0x00000000009d0314 in std::string::reserve(unsigned long) ()
#10 0x00000000009d06f6 in std::string::append(unsigned long, char) ()
#11 0x000000000057dd1b in resize (__n=118, this=0x7fb05c104c70) at /usr/include/c++/4.8.2/bits/basic_string.h:754
#12 butil::(anonymous namespace)::string_printf_impl(std::string &, const char *, typedef __va_list_tag __va_list_tag *) (output=...,
format=format@entry=0xa153f4 "%s", args=args@entry=0x7fb06b7fbc30) at src/butil/string_printf.cpp:60
#13 0x000000000057df8a in butil::string_vappendf (output=output@entry=0x7fb05c104c70, format=format@entry=0xa153f4 "%s",
args=args@entry=0x7fb06b7fbc30) at src/butil/string_printf.cpp:110
#14 0x00000000004ae96e in brpc::Controller::SetFailed (this=this@entry=0x7fb05c104c58, error_code=, error_code@entry=2004,
reason_fmt=reason_fmt@entry=0xa153f4 "%s") at src/brpc/controller.cpp:422
#15 0x00000000004b3148 in brpc::Controller::HandleSocketFailed (id=..., data=0x7fb05c104c58, error_code=2004, error_text=...)
at src/brpc/controller.cpp:1200
#16 0x00000000005b6f22 in bthread_id_unlock (id=...) at src/bthread/id.cpp:594
#17 0x00000000004b209f in brpc::Controller::IssueRPC (this=this@entry=0x7fb05c104c58, start_realtime_us=)
at src/brpc/controller.cpp:1164
#18 0x00000000004b285b in brpc::Controller::OnVersionedRPCReturned (this=this@entry=0x7fb05c104c58, info=...,
new_bthread=new_bthread@entry=true, saved_error=saved_error@entry=0) at src/brpc/controller.cpp:599
#19 0x00000000004b3117 in brpc::Controller::HandleSocketFailed (id=..., data=0x7fb05c104c58, error_code=2004, error_text=...)
at src/brpc/controller.cpp:1206
#20 0x00000000005b6f22 in bthread_id_unlock (id=...) at src/bthread/id.cpp:594
#21 0x00000000004b209f in brpc::Controller::IssueRPC (this=this@entry=0x7fb05c104c58,
start_realtime_us=start_realtime_us@entry=1582729726310651) at src/brpc/controller.cpp:1164
#22 0x00000000004cc011 in brpc::Channel::CallMethod (this=0x2283de0, method=0x7fb09413e520, controller_base=0x7fb05c104c58,
request=0x7fb05c1a2d88, response=0x7fb05c1a2da8, done=0x7fb05c104c10) at src/brpc/channel.cpp:529
OS:Linux Centos7.4
Compiler:gcc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions