Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4366

upgrade thrift lib to 0.10 ,coredump at readMessageBegin

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.11.0
    • Component/s: C++ - Compiler
    • Labels:
    • Environment:

      thrift 0.10 CPP

      Description

      (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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jking3 James E. King III
                Reporter:
                lnitcscq xiaomingzhongguo
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: