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

2017-11-15 Thread xiaomingzhongguo (JIRA)

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

xiaomingzhongguo commented on THRIFT-4366:
--

https://issues.apache.org/jira/browse/THRIFT-4331
here has fixed the issue, i apply this patch ,no 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  0x7f34d99c85ae in memcpy () from /lib64/libc.so.6
> #1  0x0100f9fb in std::basic_string std::allocator >::_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  0x009cec48 in unsigned int 
> apache::thrift::protocol::TBinaryProtocolT  
> apache::thrift::protocol::TNetworkBigEndian>::readStringBody  std::char_traits, std::allocator > >(std::basic_string std::char_traits, std::allocator >&, int) () at 
> /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:441
> #3  0x009ce34f in 
> apache::thrift::protocol::TBinaryProtocolT  
> apache::thrift::protocol::TNetworkBigEndian>::readMessageBegin(std::basic_string  std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) () at 
> /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:223
> #4  0x009cd798 in 
> apache::thrift::protocol::TVirtualProtocol  apache::thrift::protocol::TNetworkBigEndian>, 
> apache::thrift::protocol::TProtocolDefaults>::readMessageBegin_virt(std::basic_string  std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) () at 
> /usr/local/include/thrift/protocol/TVirtualProtocol.h:403
> #5  0x009d047c in 
> apache::thrift::protocol::TProtocol::readMessageBegin(std::basic_string std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) ()
> at /usr/local/include/thrift/protocol/TProtocol.h:436
> #6  0x009d09b9 in 
> apache::thrift::TDispatchProcessor::process(boost::shared_ptr,
>  boost::shared_ptr, void*) ()
> at /usr/local/include/thrift/TDispatchProcessor.h:114
> #7  0x00ddd96f in apache::thrift::server::TConnectedClient::run() () 
> at src/thrift/server/TConnectedClient.cpp:62
> #8  0x00dd6ef8 in 
> apache::thrift::server::TThreadedServer::TConnectedClientRunner::run() () at 
> src/thrift/server/TThreadedServer.cpp:147
> #9  0x00dd9891 in 
> apache::thrift::concurrency::PthreadThread::threadMain(void*) () at 
> src/thrift/concurrency/PosixThreadFactory.cpp:208
> #10 0x7f34da66d7f1 in start_thread () from /lib64/libpthread.so.0
> #11 0x7f34d9a25ccd in clone () from /lib64/libc.so.6



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


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

2017-11-15 Thread xiaomingzhongguo (JIRA)

[ 
https://issues.apache.org/jira/browse/THRIFT-4366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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  0x7f34d99c85ae in memcpy () from /lib64/libc.so.6
> #1  0x0100f9fb in std::basic_string std::allocator >::_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  0x009cec48 in unsigned int 
> apache::thrift::protocol::TBinaryProtocolT  
> apache::thrift::protocol::TNetworkBigEndian>::readStringBody  std::char_traits, std::allocator > >(std::basic_string std::char_traits, std::allocator >&, int) () at 
> /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:441
> #3  0x009ce34f in 
> apache::thrift::protocol::TBinaryProtocolT  
> apache::thrift::protocol::TNetworkBigEndian>::readMessageBegin(std::basic_string  std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) () at 
> /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:223
> #4  0x009cd798 in 
> apache::thrift::protocol::TVirtualProtocol  apache::thrift::protocol::TNetworkBigEndian>, 
> apache::thrift::protocol::TProtocolDefaults>::readMessageBegin_virt(std::basic_string  std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) () at 
> /usr/local/include/thrift/protocol/TVirtualProtocol.h:403
> #5  0x009d047c in 
> apache::thrift::protocol::TProtocol::readMessageBegin(std::basic_string std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) ()
> at /usr/local/include/thrift/protocol/TProtocol.h:436
> #6  0x009d09b9 in 
> apache::thrift::TDispatchProcessor::process(boost::shared_ptr,
>  boost::shared_ptr, void*) ()
> at /usr/local/include/thrift/TDispatchProcessor.h:114
> #7  0x00ddd96f in apache::thrift::server::TConnectedClient::run() () 
> at src/thrift/server/TConnectedClient.cpp:62
> #8  0x00dd6ef8 in 
> apache::thrift::server::TThreadedServer::TConnectedClientRunner::run() () at 
> src/thrift/server/TThreadedServer.cpp:147
> #9  0x00dd9891 in 
> apache::thrift::concurrency::PthreadThread::threadMain(void*) () at 
> src/thrift/concurrency/PosixThreadFactory.cpp:208
> #10 0x7f34da66d7f1 in start_thread () from /lib64/libpthread.so.0
> #11 0x7f34d9a25ccd in clone () from /lib64/libc.so.6



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


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

2017-10-30 Thread xiaomingzhongguo (JIRA)

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

xiaomingzhongguo commented on THRIFT-4366:
--

i rollback to 0.93 ,it can work normal ,but i want to fix this issus ,must 
update to this version. 
https://issues.apache.org/jira/browse/THRIFT-4336


> 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  0x7f34d99c85ae in memcpy () from /lib64/libc.so.6
> #1  0x0100f9fb in std::basic_string std::allocator >::_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  0x009cec48 in unsigned int 
> apache::thrift::protocol::TBinaryProtocolT  
> apache::thrift::protocol::TNetworkBigEndian>::readStringBody  std::char_traits, std::allocator > >(std::basic_string std::char_traits, std::allocator >&, int) () at 
> /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:441
> #3  0x009ce34f in 
> apache::thrift::protocol::TBinaryProtocolT  
> apache::thrift::protocol::TNetworkBigEndian>::readMessageBegin(std::basic_string  std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) () at 
> /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:223
> #4  0x009cd798 in 
> apache::thrift::protocol::TVirtualProtocol  apache::thrift::protocol::TNetworkBigEndian>, 
> apache::thrift::protocol::TProtocolDefaults>::readMessageBegin_virt(std::basic_string  std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) () at 
> /usr/local/include/thrift/protocol/TVirtualProtocol.h:403
> #5  0x009d047c in 
> apache::thrift::protocol::TProtocol::readMessageBegin(std::basic_string std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) ()
> at /usr/local/include/thrift/protocol/TProtocol.h:436
> #6  0x009d09b9 in 
> apache::thrift::TDispatchProcessor::process(boost::shared_ptr,
>  boost::shared_ptr, void*) ()
> at /usr/local/include/thrift/TDispatchProcessor.h:114
> #7  0x00ddd96f in apache::thrift::server::TConnectedClient::run() () 
> at src/thrift/server/TConnectedClient.cpp:62
> #8  0x00dd6ef8 in 
> apache::thrift::server::TThreadedServer::TConnectedClientRunner::run() () at 
> src/thrift/server/TThreadedServer.cpp:147
> #9  0x00dd9891 in 
> apache::thrift::concurrency::PthreadThread::threadMain(void*) () at 
> src/thrift/concurrency/PosixThreadFactory.cpp:208
> #10 0x7f34da66d7f1 in start_thread () from /lib64/libpthread.so.0
> #11 0x7f34d9a25ccd in clone () from /lib64/libc.so.6



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


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

2017-10-26 Thread xiaomingzhongguo (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-4366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

xiaomingzhongguo updated THRIFT-4366:
-
Summary: upgrade thrift lib to 0.10 ,coredump at readMessageBegin   (was: 
upgrade to 0.10 CPP ,when readMessageBegin 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  0x7f34d99c85ae in memcpy () from /lib64/libc.so.6
> #1  0x0100f9fb in std::basic_string std::allocator >::_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  0x009cec48 in unsigned int 
> apache::thrift::protocol::TBinaryProtocolT  
> apache::thrift::protocol::TNetworkBigEndian>::readStringBody  std::char_traits, std::allocator > >(std::basic_string std::char_traits, std::allocator >&, int) () at 
> /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:441
> #3  0x009ce34f in 
> apache::thrift::protocol::TBinaryProtocolT  
> apache::thrift::protocol::TNetworkBigEndian>::readMessageBegin(std::basic_string  std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) () at 
> /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:223
> #4  0x009cd798 in 
> apache::thrift::protocol::TVirtualProtocol  apache::thrift::protocol::TNetworkBigEndian>, 
> apache::thrift::protocol::TProtocolDefaults>::readMessageBegin_virt(std::basic_string  std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) () at 
> /usr/local/include/thrift/protocol/TVirtualProtocol.h:403
> #5  0x009d047c in 
> apache::thrift::protocol::TProtocol::readMessageBegin(std::basic_string std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) ()
> at /usr/local/include/thrift/protocol/TProtocol.h:436
> #6  0x009d09b9 in 
> apache::thrift::TDispatchProcessor::process(boost::shared_ptr,
>  boost::shared_ptr, void*) ()
> at /usr/local/include/thrift/TDispatchProcessor.h:114
> #7  0x00ddd96f in apache::thrift::server::TConnectedClient::run() () 
> at src/thrift/server/TConnectedClient.cpp:62
> #8  0x00dd6ef8 in 
> apache::thrift::server::TThreadedServer::TConnectedClientRunner::run() () at 
> src/thrift/server/TThreadedServer.cpp:147
> #9  0x00dd9891 in 
> apache::thrift::concurrency::PthreadThread::threadMain(void*) () at 
> src/thrift/concurrency/PosixThreadFactory.cpp:208
> #10 0x7f34da66d7f1 in start_thread () from /lib64/libpthread.so.0
> #11 0x7f34d9a25ccd in clone () from /lib64/libc.so.6



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


[jira] [Updated] (THRIFT-4366) upgrade to 0.10 CPP ,when readMessageBegin coredump

2017-10-26 Thread xiaomingzhongguo (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-4366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

xiaomingzhongguo updated THRIFT-4366:
-
Priority: Critical  (was: Blocker)

> upgrade to 0.10 CPP ,when readMessageBegin coredump 
> 
>
> 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  0x7f34d99c85ae in memcpy () from /lib64/libc.so.6
> #1  0x0100f9fb in std::basic_string std::allocator >::_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  0x009cec48 in unsigned int 
> apache::thrift::protocol::TBinaryProtocolT  
> apache::thrift::protocol::TNetworkBigEndian>::readStringBody  std::char_traits, std::allocator > >(std::basic_string std::char_traits, std::allocator >&, int) () at 
> /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:441
> #3  0x009ce34f in 
> apache::thrift::protocol::TBinaryProtocolT  
> apache::thrift::protocol::TNetworkBigEndian>::readMessageBegin(std::basic_string  std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) () at 
> /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:223
> #4  0x009cd798 in 
> apache::thrift::protocol::TVirtualProtocol  apache::thrift::protocol::TNetworkBigEndian>, 
> apache::thrift::protocol::TProtocolDefaults>::readMessageBegin_virt(std::basic_string  std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) () at 
> /usr/local/include/thrift/protocol/TVirtualProtocol.h:403
> #5  0x009d047c in 
> apache::thrift::protocol::TProtocol::readMessageBegin(std::basic_string std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) ()
> at /usr/local/include/thrift/protocol/TProtocol.h:436
> #6  0x009d09b9 in 
> apache::thrift::TDispatchProcessor::process(boost::shared_ptr,
>  boost::shared_ptr, void*) ()
> at /usr/local/include/thrift/TDispatchProcessor.h:114
> #7  0x00ddd96f in apache::thrift::server::TConnectedClient::run() () 
> at src/thrift/server/TConnectedClient.cpp:62
> #8  0x00dd6ef8 in 
> apache::thrift::server::TThreadedServer::TConnectedClientRunner::run() () at 
> src/thrift/server/TThreadedServer.cpp:147
> #9  0x00dd9891 in 
> apache::thrift::concurrency::PthreadThread::threadMain(void*) () at 
> src/thrift/concurrency/PosixThreadFactory.cpp:208
> #10 0x7f34da66d7f1 in start_thread () from /lib64/libpthread.so.0
> #11 0x7f34d9a25ccd in clone () from /lib64/libc.so.6



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


[jira] [Updated] (THRIFT-4366) upgrade to 0.10 CPP ,when readMessageBegin coredump

2017-10-25 Thread xiaomingzhongguo (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-4366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

xiaomingzhongguo updated THRIFT-4366:
-
Priority: Blocker  (was: Critical)

> upgrade to 0.10 CPP ,when readMessageBegin coredump 
> 
>
> 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: Blocker
>  Labels: performance
>
> (gdb) bt
> #0  0x7f34d99c85ae in memcpy () from /lib64/libc.so.6
> #1  0x0100f9fb in std::basic_string std::allocator >::_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  0x009cec48 in unsigned int 
> apache::thrift::protocol::TBinaryProtocolT  
> apache::thrift::protocol::TNetworkBigEndian>::readStringBody  std::char_traits, std::allocator > >(std::basic_string std::char_traits, std::allocator >&, int) () at 
> /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:441
> #3  0x009ce34f in 
> apache::thrift::protocol::TBinaryProtocolT  
> apache::thrift::protocol::TNetworkBigEndian>::readMessageBegin(std::basic_string  std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) () at 
> /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:223
> #4  0x009cd798 in 
> apache::thrift::protocol::TVirtualProtocol  apache::thrift::protocol::TNetworkBigEndian>, 
> apache::thrift::protocol::TProtocolDefaults>::readMessageBegin_virt(std::basic_string  std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) () at 
> /usr/local/include/thrift/protocol/TVirtualProtocol.h:403
> #5  0x009d047c in 
> apache::thrift::protocol::TProtocol::readMessageBegin(std::basic_string std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) ()
> at /usr/local/include/thrift/protocol/TProtocol.h:436
> #6  0x009d09b9 in 
> apache::thrift::TDispatchProcessor::process(boost::shared_ptr,
>  boost::shared_ptr, void*) ()
> at /usr/local/include/thrift/TDispatchProcessor.h:114
> #7  0x00ddd96f in apache::thrift::server::TConnectedClient::run() () 
> at src/thrift/server/TConnectedClient.cpp:62
> #8  0x00dd6ef8 in 
> apache::thrift::server::TThreadedServer::TConnectedClientRunner::run() () at 
> src/thrift/server/TThreadedServer.cpp:147
> #9  0x00dd9891 in 
> apache::thrift::concurrency::PthreadThread::threadMain(void*) () at 
> src/thrift/concurrency/PosixThreadFactory.cpp:208
> #10 0x7f34da66d7f1 in start_thread () from /lib64/libpthread.so.0
> #11 0x7f34d9a25ccd in clone () from /lib64/libc.so.6



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


[jira] [Updated] (THRIFT-4366) upgrade to 0.10 CPP ,when readMessageBegin coredump

2017-10-24 Thread xiaomingzhongguo (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-4366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

xiaomingzhongguo updated THRIFT-4366:
-
Affects Version/s: 0.10.0

> upgrade to 0.10 CPP ,when readMessageBegin coredump 
> 
>
> 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  0x7f34d99c85ae in memcpy () from /lib64/libc.so.6
> #1  0x0100f9fb in std::basic_string std::allocator >::_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  0x009cec48 in unsigned int 
> apache::thrift::protocol::TBinaryProtocolT  
> apache::thrift::protocol::TNetworkBigEndian>::readStringBody  std::char_traits, std::allocator > >(std::basic_string std::char_traits, std::allocator >&, int) () at 
> /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:441
> #3  0x009ce34f in 
> apache::thrift::protocol::TBinaryProtocolT  
> apache::thrift::protocol::TNetworkBigEndian>::readMessageBegin(std::basic_string  std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) () at 
> /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:223
> #4  0x009cd798 in 
> apache::thrift::protocol::TVirtualProtocol  apache::thrift::protocol::TNetworkBigEndian>, 
> apache::thrift::protocol::TProtocolDefaults>::readMessageBegin_virt(std::basic_string  std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) () at 
> /usr/local/include/thrift/protocol/TVirtualProtocol.h:403
> #5  0x009d047c in 
> apache::thrift::protocol::TProtocol::readMessageBegin(std::basic_string std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) ()
> at /usr/local/include/thrift/protocol/TProtocol.h:436
> #6  0x009d09b9 in 
> apache::thrift::TDispatchProcessor::process(boost::shared_ptr,
>  boost::shared_ptr, void*) ()
> at /usr/local/include/thrift/TDispatchProcessor.h:114
> #7  0x00ddd96f in apache::thrift::server::TConnectedClient::run() () 
> at src/thrift/server/TConnectedClient.cpp:62
> #8  0x00dd6ef8 in 
> apache::thrift::server::TThreadedServer::TConnectedClientRunner::run() () at 
> src/thrift/server/TThreadedServer.cpp:147
> #9  0x00dd9891 in 
> apache::thrift::concurrency::PthreadThread::threadMain(void*) () at 
> src/thrift/concurrency/PosixThreadFactory.cpp:208
> #10 0x7f34da66d7f1 in start_thread () from /lib64/libpthread.so.0
> #11 0x7f34d9a25ccd in clone () from /lib64/libc.so.6



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


[jira] [Updated] (THRIFT-4366) upgrade to 0.10 CPP ,when readMessageBegin coredump

2017-10-24 Thread xiaomingzhongguo (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-4366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

xiaomingzhongguo updated THRIFT-4366:
-
Component/s: C++ - Compiler

> upgrade to 0.10 CPP ,when readMessageBegin coredump 
> 
>
> 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  0x7f34d99c85ae in memcpy () from /lib64/libc.so.6
> #1  0x0100f9fb in std::basic_string std::allocator >::_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  0x009cec48 in unsigned int 
> apache::thrift::protocol::TBinaryProtocolT  
> apache::thrift::protocol::TNetworkBigEndian>::readStringBody  std::char_traits, std::allocator > >(std::basic_string std::char_traits, std::allocator >&, int) () at 
> /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:441
> #3  0x009ce34f in 
> apache::thrift::protocol::TBinaryProtocolT  
> apache::thrift::protocol::TNetworkBigEndian>::readMessageBegin(std::basic_string  std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) () at 
> /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:223
> #4  0x009cd798 in 
> apache::thrift::protocol::TVirtualProtocol  apache::thrift::protocol::TNetworkBigEndian>, 
> apache::thrift::protocol::TProtocolDefaults>::readMessageBegin_virt(std::basic_string  std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) () at 
> /usr/local/include/thrift/protocol/TVirtualProtocol.h:403
> #5  0x009d047c in 
> apache::thrift::protocol::TProtocol::readMessageBegin(std::basic_string std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) ()
> at /usr/local/include/thrift/protocol/TProtocol.h:436
> #6  0x009d09b9 in 
> apache::thrift::TDispatchProcessor::process(boost::shared_ptr,
>  boost::shared_ptr, void*) ()
> at /usr/local/include/thrift/TDispatchProcessor.h:114
> #7  0x00ddd96f in apache::thrift::server::TConnectedClient::run() () 
> at src/thrift/server/TConnectedClient.cpp:62
> #8  0x00dd6ef8 in 
> apache::thrift::server::TThreadedServer::TConnectedClientRunner::run() () at 
> src/thrift/server/TThreadedServer.cpp:147
> #9  0x00dd9891 in 
> apache::thrift::concurrency::PthreadThread::threadMain(void*) () at 
> src/thrift/concurrency/PosixThreadFactory.cpp:208
> #10 0x7f34da66d7f1 in start_thread () from /lib64/libpthread.so.0
> #11 0x7f34d9a25ccd in clone () from /lib64/libc.so.6



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


[jira] [Updated] (THRIFT-4366) upgrade to 0.10 CPP ,when readMessageBegin coredump

2017-10-24 Thread xiaomingzhongguo (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-4366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

xiaomingzhongguo updated THRIFT-4366:
-
Labels: performance  (was: )

> upgrade to 0.10 CPP ,when readMessageBegin coredump 
> 
>
> 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  0x7f34d99c85ae in memcpy () from /lib64/libc.so.6
> #1  0x0100f9fb in std::basic_string std::allocator >::_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  0x009cec48 in unsigned int 
> apache::thrift::protocol::TBinaryProtocolT  
> apache::thrift::protocol::TNetworkBigEndian>::readStringBody  std::char_traits, std::allocator > >(std::basic_string std::char_traits, std::allocator >&, int) () at 
> /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:441
> #3  0x009ce34f in 
> apache::thrift::protocol::TBinaryProtocolT  
> apache::thrift::protocol::TNetworkBigEndian>::readMessageBegin(std::basic_string  std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) () at 
> /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:223
> #4  0x009cd798 in 
> apache::thrift::protocol::TVirtualProtocol  apache::thrift::protocol::TNetworkBigEndian>, 
> apache::thrift::protocol::TProtocolDefaults>::readMessageBegin_virt(std::basic_string  std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) () at 
> /usr/local/include/thrift/protocol/TVirtualProtocol.h:403
> #5  0x009d047c in 
> apache::thrift::protocol::TProtocol::readMessageBegin(std::basic_string std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) ()
> at /usr/local/include/thrift/protocol/TProtocol.h:436
> #6  0x009d09b9 in 
> apache::thrift::TDispatchProcessor::process(boost::shared_ptr,
>  boost::shared_ptr, void*) ()
> at /usr/local/include/thrift/TDispatchProcessor.h:114
> #7  0x00ddd96f in apache::thrift::server::TConnectedClient::run() () 
> at src/thrift/server/TConnectedClient.cpp:62
> #8  0x00dd6ef8 in 
> apache::thrift::server::TThreadedServer::TConnectedClientRunner::run() () at 
> src/thrift/server/TThreadedServer.cpp:147
> #9  0x00dd9891 in 
> apache::thrift::concurrency::PthreadThread::threadMain(void*) () at 
> src/thrift/concurrency/PosixThreadFactory.cpp:208
> #10 0x7f34da66d7f1 in start_thread () from /lib64/libpthread.so.0
> #11 0x7f34d9a25ccd in clone () from /lib64/libc.so.6



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


[jira] [Updated] (THRIFT-4366) upgrade to 0.10 CPP ,when readMessageBegin coredump

2017-10-21 Thread xiaomingzhongguo (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-4366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

xiaomingzhongguo updated THRIFT-4366:
-
Priority: Critical  (was: Major)

> upgrade to 0.10 CPP ,when readMessageBegin coredump 
> 
>
> Key: THRIFT-4366
> URL: https://issues.apache.org/jira/browse/THRIFT-4366
> Project: Thrift
>  Issue Type: Bug
> Environment: thrift 0.10 CPP 
>Reporter: xiaomingzhongguo
>Priority: Critical
>
> (gdb) bt
> #0  0x7f34d99c85ae in memcpy () from /lib64/libc.so.6
> #1  0x0100f9fb in std::basic_string std::allocator >::_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  0x009cec48 in unsigned int 
> apache::thrift::protocol::TBinaryProtocolT  
> apache::thrift::protocol::TNetworkBigEndian>::readStringBody  std::char_traits, std::allocator > >(std::basic_string std::char_traits, std::allocator >&, int) () at 
> /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:441
> #3  0x009ce34f in 
> apache::thrift::protocol::TBinaryProtocolT  
> apache::thrift::protocol::TNetworkBigEndian>::readMessageBegin(std::basic_string  std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) () at 
> /usr/local/include/thrift/protocol/TBinaryProtocol.tcc:223
> #4  0x009cd798 in 
> apache::thrift::protocol::TVirtualProtocol  apache::thrift::protocol::TNetworkBigEndian>, 
> apache::thrift::protocol::TProtocolDefaults>::readMessageBegin_virt(std::basic_string  std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) () at 
> /usr/local/include/thrift/protocol/TVirtualProtocol.h:403
> #5  0x009d047c in 
> apache::thrift::protocol::TProtocol::readMessageBegin(std::basic_string std::char_traits, std::allocator >&, 
> apache::thrift::protocol::TMessageType&, int&) ()
> at /usr/local/include/thrift/protocol/TProtocol.h:436
> #6  0x009d09b9 in 
> apache::thrift::TDispatchProcessor::process(boost::shared_ptr,
>  boost::shared_ptr, void*) ()
> at /usr/local/include/thrift/TDispatchProcessor.h:114
> #7  0x00ddd96f in apache::thrift::server::TConnectedClient::run() () 
> at src/thrift/server/TConnectedClient.cpp:62
> #8  0x00dd6ef8 in 
> apache::thrift::server::TThreadedServer::TConnectedClientRunner::run() () at 
> src/thrift/server/TThreadedServer.cpp:147
> #9  0x00dd9891 in 
> apache::thrift::concurrency::PthreadThread::threadMain(void*) () at 
> src/thrift/concurrency/PosixThreadFactory.cpp:208
> #10 0x7f34da66d7f1 in start_thread () from /lib64/libpthread.so.0
> #11 0x7f34d9a25ccd in clone () from /lib64/libc.so.6



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


[jira] [Created] (THRIFT-4366) upgrade to 0.10 CPP ,when readMessageBegin coredump

2017-10-20 Thread xiaomingzhongguo (JIRA)
xiaomingzhongguo created THRIFT-4366:


 Summary: upgrade to 0.10 CPP ,when readMessageBegin coredump 
 Key: THRIFT-4366
 URL: https://issues.apache.org/jira/browse/THRIFT-4366
 Project: Thrift
  Issue Type: Bug
 Environment: thrift 0.10 CPP 
Reporter: xiaomingzhongguo


(gdb) bt
#0  0x7f34d99c85ae in memcpy () from /lib64/libc.so.6
#1  0x0100f9fb in std::basic_string::_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  0x009cec48 in unsigned int 
apache::thrift::protocol::TBinaryProtocolT::readStringBody >(std::basic_string&, int) () at 
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:441
#3  0x009ce34f in 
apache::thrift::protocol::TBinaryProtocolT::readMessageBegin(std::basic_string&, 
apache::thrift::protocol::TMessageType&, int&) () at 
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:223
#4  0x009cd798 in 
apache::thrift::protocol::TVirtualProtocol, 
apache::thrift::protocol::TProtocolDefaults>::readMessageBegin_virt(std::basic_string&, 
apache::thrift::protocol::TMessageType&, int&) () at 
/usr/local/include/thrift/protocol/TVirtualProtocol.h:403
#5  0x009d047c in 
apache::thrift::protocol::TProtocol::readMessageBegin(std::basic_string&, 
apache::thrift::protocol::TMessageType&, int&) ()
at /usr/local/include/thrift/protocol/TProtocol.h:436
#6  0x009d09b9 in 
apache::thrift::TDispatchProcessor::process(boost::shared_ptr,
 boost::shared_ptr, void*) ()
at /usr/local/include/thrift/TDispatchProcessor.h:114
#7  0x00ddd96f in apache::thrift::server::TConnectedClient::run() () at 
src/thrift/server/TConnectedClient.cpp:62
#8  0x00dd6ef8 in 
apache::thrift::server::TThreadedServer::TConnectedClientRunner::run() () at 
src/thrift/server/TThreadedServer.cpp:147
#9  0x00dd9891 in 
apache::thrift::concurrency::PthreadThread::threadMain(void*) () at 
src/thrift/concurrency/PosixThreadFactory.cpp:208
#10 0x7f34da66d7f1 in start_thread () from /lib64/libpthread.so.0
#11 0x7f34d9a25ccd in clone () from /lib64/libc.so.6




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


[jira] [Commented] (THRIFT-4336) TThreadedServer mode maybe lock and can't work

2017-09-28 Thread xiaomingzhongguo (JIRA)

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

xiaomingzhongguo commented on THRIFT-4336:
--

Thank you, I have compiled whith 0.10.0 and used it test.
 

> TThreadedServer  mode maybe lock and can't work
> ---
>
> Key: THRIFT-4336
> URL: https://issues.apache.org/jira/browse/THRIFT-4336
> Project: Thrift
>  Issue Type: Bug
>  Components: C++ - Library
>Affects Versions: 0.9.3
> Environment: Linux 2.6.32 
>Reporter: xiaomingzhongguo
>Assignee: James E. King, III
>Priority: Critical
>  Labels: performance
> Fix For: 0.10.0
>
>
> Run in TThreadedServer mode 
> run some times,thrift accept thread  lock at onClientConnected and can't work 
> call stack like this:
> Thread 14 (Thread 0x7f79de7e4700 (LWP 2214)):
> #0  0x7f7a1235ffbe in __lll_lock_wait_private () from 
> /lib64/libpthread.so.0
> #1  0x7f7a12359c9a in _L_lock_1834 () from /lib64/libpthread.so.0
> #2  0x7f7a123588ef in pthread_create@@GLIBC_2.2.5 () from 
> /lib64/libpthread.so.0
> #3  0x00db139e in apache::thrift::concurrency::PthreadThread::start() 
> ()
> #4  0x00dae7f7 in 
> apache::thrift::server::TThreadedServer::onClientConnected(boost::shared_ptr
>  const&) ()
> #5  0x00db1eef in 
> apache::thrift::server::TServerFramework::newlyConnectedClient(boost::shared_ptr
>  const&) ()
> #6  0x00db27e9 in apache::thrift::server::TServerFramework::serve() ()
> #7  0x00daeb77 in apache::thrift::server::TThreadedServer::serve() ()
> #8  0x009c279e in CmdServer::run() ()
> #9  0x00900a88 in gseThread::run_helper(void*) ()
> #10 0x0099318c in tos::util_thread_start(void*) ()
> #11 0x7f7a123597f1 in start_thread () from /lib64/libpthread.so.0
> #12 0x7f7a11711ccd in clone () from /lib64/libc.so.6
> Thread 13 (Thread 0x7f79ddfe3700 (LWP 2215)):
> #0  0x7f7a1235ffbe in __lll_lock_wait_private () from 
> /lib64/libpthread.so.0
> #1  0x7f7a12359c9a in _L_lock_1834 () from /lib64/libpthread.so.0
> #2  0x7f7a123588ef in pthread_create@@GLIBC_2.2.5 () from 
> /lib64/libpthread.so.0
> #3  0x00db139e in apache::thrift::concurrency::PthreadThread::start() 
> ()
> #4  0x00dae7f7 in 
> apache::thrift::server::TThreadedServer::onClientConnected(boost::shared_ptr
>  const&) ()
> #5  0x00db1eef in 
> apache::thrift::server::TServerFramework::newlyConnectedClient(boost::shared_ptr
>  const&) ()
> #6  0x00db27e9 in apache::thrift::server::TServerFramework::serve() ()
> #7  0x00daeb77 in apache::thrift::server::TThreadedServer::serve() ()
> #8  0x009c2fc3 in CmdServerV2::run() ()
> #9  0x00900a88 in gseThread::run_helper(void*) ()
> #10 0x0099318c in tos::util_thread_start(void*) ()
> #11 0x7f7a123597f1 in start_thread () from /lib64/libpthread.so.0
> #12 0x7f7a11711ccd in clone () from /lib64/libc.so.6



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


[jira] [Updated] (THRIFT-4336) TThreadedServer mode maybe lock and can't work

2017-09-22 Thread xiaomingzhongguo (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

xiaomingzhongguo updated THRIFT-4336:
-
Description: 
Run in TThreadedServer mode 
run some times,thrift accept thread  lock at onClientConnected and can't work 
call stack like this:
Thread 14 (Thread 0x7f79de7e4700 (LWP 2214)):
#0  0x7f7a1235ffbe in __lll_lock_wait_private () from /lib64/libpthread.so.0
#1  0x7f7a12359c9a in _L_lock_1834 () from /lib64/libpthread.so.0
#2  0x7f7a123588ef in pthread_create@@GLIBC_2.2.5 () from 
/lib64/libpthread.so.0
#3  0x00db139e in apache::thrift::concurrency::PthreadThread::start() ()
#4  0x00dae7f7 in 
apache::thrift::server::TThreadedServer::onClientConnected(boost::shared_ptr
 const&) ()
#5  0x00db1eef in 
apache::thrift::server::TServerFramework::newlyConnectedClient(boost::shared_ptr
 const&) ()
#6  0x00db27e9 in apache::thrift::server::TServerFramework::serve() ()
#7  0x00daeb77 in apache::thrift::server::TThreadedServer::serve() ()
#8  0x009c279e in CmdServer::run() ()
#9  0x00900a88 in gseThread::run_helper(void*) ()
#10 0x0099318c in tos::util_thread_start(void*) ()
#11 0x7f7a123597f1 in start_thread () from /lib64/libpthread.so.0
#12 0x7f7a11711ccd in clone () from /lib64/libc.so.6
Thread 13 (Thread 0x7f79ddfe3700 (LWP 2215)):
#0  0x7f7a1235ffbe in __lll_lock_wait_private () from /lib64/libpthread.so.0
#1  0x7f7a12359c9a in _L_lock_1834 () from /lib64/libpthread.so.0
#2  0x7f7a123588ef in pthread_create@@GLIBC_2.2.5 () from 
/lib64/libpthread.so.0
#3  0x00db139e in apache::thrift::concurrency::PthreadThread::start() ()
#4  0x00dae7f7 in 
apache::thrift::server::TThreadedServer::onClientConnected(boost::shared_ptr
 const&) ()
#5  0x00db1eef in 
apache::thrift::server::TServerFramework::newlyConnectedClient(boost::shared_ptr
 const&) ()
#6  0x00db27e9 in apache::thrift::server::TServerFramework::serve() ()
#7  0x00daeb77 in apache::thrift::server::TThreadedServer::serve() ()
#8  0x009c2fc3 in CmdServerV2::run() ()
#9  0x00900a88 in gseThread::run_helper(void*) ()
#10 0x0099318c in tos::util_thread_start(void*) ()
#11 0x7f7a123597f1 in start_thread () from /lib64/libpthread.so.0
#12 0x7f7a11711ccd in clone () from /lib64/libc.so.6


  was:
Run in TThreadedServer mode 
run some times,thrift accept thread  lock at onClientConnected and can't work 
call stack like this:
#0  0x7f9f0f82efbe in __lll_lock_wait_private () from /lib64/libpthread.so.0
#1  0x7f9f0f828c9a in _L_lock_1834 () from /lib64/libpthread.so.0
#2  0x7f9f0f8278ef in pthread_create@@GLIBC_2.2.5 () from 
/lib64/libpthread.so.0
#3  0x00db139e in apache::thrift::concurrency::PthreadThread::start() ()
#4  0x00dae7f7 in 
apache::thrift::server::TThreadedServer::onClientConnected(boost::shared_ptr
 const&) ()
#5  0x00db1eef in 
apache::thrift::server::TServerFramework::newlyConnectedClient(boost::shared_ptr
 const&) ()
#6  0x00db27e9 in apache::thrift::server::TServerFramework::serve() ()
#7  0x00daeb77 in apache::thrift::server::TThreadedServer::serve() ()
#8  0x00a3bec9 in ServerComm::run() ()
#9  0x00900a88 in gseThread::run_helper(void*) ()
#10 0x0099318c in tos::util_thread_start(void*) ()
#11 0x7f9f0f8287f1 in start_thread () from /lib64/libpthread.so.0
#12 0x7f9f0ebe0ccd in clone () from /lib64/libc.so.6



> TThreadedServer  mode maybe lock and can't work
> ---
>
> Key: THRIFT-4336
> URL: https://issues.apache.org/jira/browse/THRIFT-4336
> Project: Thrift
>  Issue Type: Bug
>  Components: C++ - Library
>Affects Versions: 0.9.3
> Environment: Linux 2.6.32 
>Reporter: xiaomingzhongguo
>Priority: Critical
>  Labels: performance
>
> Run in TThreadedServer mode 
> run some times,thrift accept thread  lock at onClientConnected and can't work 
> call stack like this:
> Thread 14 (Thread 0x7f79de7e4700 (LWP 2214)):
> #0  0x7f7a1235ffbe in __lll_lock_wait_private () from 
> /lib64/libpthread.so.0
> #1  0x7f7a12359c9a in _L_lock_1834 () from /lib64/libpthread.so.0
> #2  0x7f7a123588ef in pthread_create@@GLIBC_2.2.5 () from 
> /lib64/libpthread.so.0
> #3  0x00db139e in apache::thrift::concurrency::PthreadThread::start() 
> ()
> #4  0x00dae7f7 in 
> apache::thrift::server::TThreadedServer::onClientConnected(boost::shared_ptr
>  const&) ()
> #5  0x00db1eef in 
> apache::thrift::server::TServerFramework::newlyConnectedClient(boost::shared_ptr
>  const&) ()
> #6  0x00db27e9 in apache::thrift::server::TServerFramework::serve() ()
> #7  0x00daeb77 in apache::thrift::server::TThreadedServer::serve() ()

[jira] [Updated] (THRIFT-4336) TThreadedServer mode maybe lock and can't work

2017-09-20 Thread xiaomingzhongguo (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

xiaomingzhongguo updated THRIFT-4336:
-
Priority: Critical  (was: Blocker)

> TThreadedServer  mode maybe lock and can't work
> ---
>
> Key: THRIFT-4336
> URL: https://issues.apache.org/jira/browse/THRIFT-4336
> Project: Thrift
>  Issue Type: Bug
>  Components: C++ - Library
>Affects Versions: 0.9.3
> Environment: Linux 2.6.32 
>Reporter: xiaomingzhongguo
>Priority: Critical
>  Labels: performance
>
> Run in TThreadedServer mode 
> run some times,thrift accept thread  lock at onClientConnected and can't work 
> call stack like this:
> #0  0x7f9f0f82efbe in __lll_lock_wait_private () from 
> /lib64/libpthread.so.0
> #1  0x7f9f0f828c9a in _L_lock_1834 () from /lib64/libpthread.so.0
> #2  0x7f9f0f8278ef in pthread_create@@GLIBC_2.2.5 () from 
> /lib64/libpthread.so.0
> #3  0x00db139e in apache::thrift::concurrency::PthreadThread::start() 
> ()
> #4  0x00dae7f7 in 
> apache::thrift::server::TThreadedServer::onClientConnected(boost::shared_ptr
>  const&) ()
> #5  0x00db1eef in 
> apache::thrift::server::TServerFramework::newlyConnectedClient(boost::shared_ptr
>  const&) ()
> #6  0x00db27e9 in apache::thrift::server::TServerFramework::serve() ()
> #7  0x00daeb77 in apache::thrift::server::TThreadedServer::serve() ()
> #8  0x00a3bec9 in ServerComm::run() ()
> #9  0x00900a88 in gseThread::run_helper(void*) ()
> #10 0x0099318c in tos::util_thread_start(void*) ()
> #11 0x7f9f0f8287f1 in start_thread () from /lib64/libpthread.so.0
> #12 0x7f9f0ebe0ccd in clone () from /lib64/libc.so.6



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


[jira] [Updated] (THRIFT-4336) TThreadedServer mode maybe lock and can't work

2017-09-20 Thread xiaomingzhongguo (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

xiaomingzhongguo updated THRIFT-4336:
-
Priority: Blocker  (was: Critical)

> TThreadedServer  mode maybe lock and can't work
> ---
>
> Key: THRIFT-4336
> URL: https://issues.apache.org/jira/browse/THRIFT-4336
> Project: Thrift
>  Issue Type: Bug
>  Components: C++ - Library
>Affects Versions: 0.9.3
> Environment: Linux 2.6.32 
>Reporter: xiaomingzhongguo
>Priority: Blocker
>  Labels: performance
>
> Run in TThreadedServer mode 
> run some times,thrift accept thread  lock at onClientConnected and can't work 
> call stack like this:
> #0  0x7f9f0f82efbe in __lll_lock_wait_private () from 
> /lib64/libpthread.so.0
> #1  0x7f9f0f828c9a in _L_lock_1834 () from /lib64/libpthread.so.0
> #2  0x7f9f0f8278ef in pthread_create@@GLIBC_2.2.5 () from 
> /lib64/libpthread.so.0
> #3  0x00db139e in apache::thrift::concurrency::PthreadThread::start() 
> ()
> #4  0x00dae7f7 in 
> apache::thrift::server::TThreadedServer::onClientConnected(boost::shared_ptr
>  const&) ()
> #5  0x00db1eef in 
> apache::thrift::server::TServerFramework::newlyConnectedClient(boost::shared_ptr
>  const&) ()
> #6  0x00db27e9 in apache::thrift::server::TServerFramework::serve() ()
> #7  0x00daeb77 in apache::thrift::server::TThreadedServer::serve() ()
> #8  0x00a3bec9 in ServerComm::run() ()
> #9  0x00900a88 in gseThread::run_helper(void*) ()
> #10 0x0099318c in tos::util_thread_start(void*) ()
> #11 0x7f9f0f8287f1 in start_thread () from /lib64/libpthread.so.0
> #12 0x7f9f0ebe0ccd in clone () from /lib64/libc.so.6



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


[jira] [Updated] (THRIFT-4336) TThreadedServer mode maybe lock and can't work

2017-09-20 Thread xiaomingzhongguo (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

xiaomingzhongguo updated THRIFT-4336:
-
Labels: performance  (was: )

> TThreadedServer  mode maybe lock and can't work
> ---
>
> Key: THRIFT-4336
> URL: https://issues.apache.org/jira/browse/THRIFT-4336
> Project: Thrift
>  Issue Type: Bug
>  Components: C++ - Library
>Affects Versions: 0.9.3
> Environment: Linux 2.6.32 
>Reporter: xiaomingzhongguo
>Priority: Critical
>  Labels: performance
>
> Run in TThreadedServer mode 
> run some times,thrift accept thread  lock at onClientConnected and can't work 
> call stack like this:
> #0  0x7f9f0f82efbe in __lll_lock_wait_private () from 
> /lib64/libpthread.so.0
> #1  0x7f9f0f828c9a in _L_lock_1834 () from /lib64/libpthread.so.0
> #2  0x7f9f0f8278ef in pthread_create@@GLIBC_2.2.5 () from 
> /lib64/libpthread.so.0
> #3  0x00db139e in apache::thrift::concurrency::PthreadThread::start() 
> ()
> #4  0x00dae7f7 in 
> apache::thrift::server::TThreadedServer::onClientConnected(boost::shared_ptr
>  const&) ()
> #5  0x00db1eef in 
> apache::thrift::server::TServerFramework::newlyConnectedClient(boost::shared_ptr
>  const&) ()
> #6  0x00db27e9 in apache::thrift::server::TServerFramework::serve() ()
> #7  0x00daeb77 in apache::thrift::server::TThreadedServer::serve() ()
> #8  0x00a3bec9 in ServerComm::run() ()
> #9  0x00900a88 in gseThread::run_helper(void*) ()
> #10 0x0099318c in tos::util_thread_start(void*) ()
> #11 0x7f9f0f8287f1 in start_thread () from /lib64/libpthread.so.0
> #12 0x7f9f0ebe0ccd in clone () from /lib64/libc.so.6



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


[jira] [Created] (THRIFT-4336) TThreadedServer mode maybe lock and can't work

2017-09-19 Thread xiaomingzhongguo (JIRA)
xiaomingzhongguo created THRIFT-4336:


 Summary: TThreadedServer  mode maybe lock and can't work
 Key: THRIFT-4336
 URL: https://issues.apache.org/jira/browse/THRIFT-4336
 Project: Thrift
  Issue Type: Bug
  Components: C++ - Library
Affects Versions: 0.9.3
 Environment: Linux 2.6.32 

Reporter: xiaomingzhongguo
Priority: Critical


Run in TThreadedServer mode 
run some times,thrift accept thread  lock at onClientConnected and can't work 
call stack like this:
#0  0x7f9f0f82efbe in __lll_lock_wait_private () from /lib64/libpthread.so.0
#1  0x7f9f0f828c9a in _L_lock_1834 () from /lib64/libpthread.so.0
#2  0x7f9f0f8278ef in pthread_create@@GLIBC_2.2.5 () from 
/lib64/libpthread.so.0
#3  0x00db139e in apache::thrift::concurrency::PthreadThread::start() ()
#4  0x00dae7f7 in 
apache::thrift::server::TThreadedServer::onClientConnected(boost::shared_ptr
 const&) ()
#5  0x00db1eef in 
apache::thrift::server::TServerFramework::newlyConnectedClient(boost::shared_ptr
 const&) ()
#6  0x00db27e9 in apache::thrift::server::TServerFramework::serve() ()
#7  0x00daeb77 in apache::thrift::server::TThreadedServer::serve() ()
#8  0x00a3bec9 in ServerComm::run() ()
#9  0x00900a88 in gseThread::run_helper(void*) ()
#10 0x0099318c in tos::util_thread_start(void*) ()
#11 0x7f9f0f8287f1 in start_thread () from /lib64/libpthread.so.0
#12 0x7f9f0ebe0ccd in clone () from /lib64/libc.so.6




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