You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "xiaomingzhongguo (JIRA)" <ji...@apache.org> on 2017/11/15 09:54:00 UTC

[jira] [Commented] (THRIFT-4366) upgrade thrift lib to 0.10 ,coredump at readMessageBegin

    [ https://issues.apache.org/jira/browse/THRIFT-4366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16253202#comment-16253202 ] 

xiaomingzhongguo commented on THRIFT-4366:
------------------------------------------

recv same content,some time will coredump .

> upgrade thrift lib to 0.10 ,coredump at readMessageBegin 
> ---------------------------------------------------------
>
>                 Key: THRIFT-4366
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4366
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Compiler
>    Affects Versions: 0.10.0
>         Environment: thrift 0.10 CPP 
>            Reporter: xiaomingzhongguo
>            Priority: Critical
>              Labels: performance
>
> (gdb) bt
> #0  0x00007f34d99c85ae in memcpy () from /lib64/libc.so.6
> #1  0x000000000100f9fb in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_safe(unsigned long, unsigned long, char const*, unsigned long) ()
>     at /data/davy/26lib_source/gcc-4.8.2/build/x86_64-linux-gnu/libstdc++-v3/include/bits/char_traits.h:271
> #2  0x00000000009cec48 in unsigned int apache::thrift::protocol::TBinaryProtocolT<apache::thrift::transport::TTransport, apache::thrift::protocol::TNetworkBigEndian>::readStringBody<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int) () at /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:441
> #3  0x00000000009ce34f in apache::thrift::protocol::TBinaryProtocolT<apache::thrift::transport::TTransport, apache::thrift::protocol::TNetworkBigEndian>::readMessageBegin(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, apache::thrift::protocol::TMessageType&, int&) () at /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:223
> #4  0x00000000009cd798 in apache::thrift::protocol::TVirtualProtocol<apache::thrift::protocol::TBinaryProtocolT<apache::thrift::transport::TTransport, apache::thrift::protocol::TNetworkBigEndian>, apache::thrift::protocol::TProtocolDefaults>::readMessageBegin_virt(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, apache::thrift::protocol::TMessageType&, int&) () at /usr/local/include/thrift/protocol/TVirtualProtocol.h:403
> #5  0x00000000009d047c in apache::thrift::protocol::TProtocol::readMessageBegin(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, apache::thrift::protocol::TMessageType&, int&) ()
>     at /usr/local/include/thrift/protocol/TProtocol.h:436
> #6  0x00000000009d09b9 in apache::thrift::TDispatchProcessor::process(boost::shared_ptr<apache::thrift::protocol::TProtocol>, boost::shared_ptr<apache::thrift::protocol::TProtocol>, void*) ()
>     at /usr/local/include/thrift/TDispatchProcessor.h:114
> #7  0x0000000000ddd96f in apache::thrift::server::TConnectedClient::run() () at src/thrift/server/TConnectedClient.cpp:62
> #8  0x0000000000dd6ef8 in apache::thrift::server::TThreadedServer::TConnectedClientRunner::run() () at src/thrift/server/TThreadedServer.cpp:147
> #9  0x0000000000dd9891 in apache::thrift::concurrency::PthreadThread::threadMain(void*) () at src/thrift/concurrency/PosixThreadFactory.cpp:208
> #10 0x00007f34da66d7f1 in start_thread () from /lib64/libpthread.so.0
> #11 0x00007f34d9a25ccd in clone () from /lib64/libc.so.6



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)