Mario Salazar de Torres created GEODE-9274: ----------------------------------------------
Summary: Coredump while cluster is restarted Key: GEODE-9274 URL: https://issues.apache.org/jira/browse/GEODE-9274 Project: Geode Issue Type: Bug Components: native client Reporter: Mario Salazar de Torres A coredump was observed while runing the following non-functional test scenario: # Setup a cluster with 1 locators and 3 servers. # Setup 2 partitioned regions without persistence enabled. # Setup 12 worker threads executing the following operations on a single client cache: ## Begin transaction. ## Make the following operations on both partitioned regions: ### Put a random PdxInstance entry. ### Get the entry written. ### 1/8 times remove the entry. ## Commit transaction. # At the same time requests are made, there is an script restarting the cluster every 45-105secs. As a result of the above test the following coredump happens: {noformat} 0# handler(int) at nc-connections/main.cpp:225 1# 0x00007FA2226723C0 in /lib/x86_64-linux-gnu/libpthread.so.0 2# apache::geode::client::TcrConnection::sendData(char const*, unsigned long, std::chrono::duration<long, std::ratio<1l, 1000000l> >) at geode-native/cppcache/src/TcrConnection.cpp:518 3# apache::geode::client::TcrConnection::send(char const*, unsigned long, std::chrono::duration<long, std::ratio<1l, 1000000l> >, bool) at geode-native/cppcache/src/TcrConnection.cpp:617 4# apache::geode::client::TcrConnection::close() at geode-native/cppcache/src/TcrConnection.cpp:930 5# apache::geode::client::TcrEndpoint::closeConnection(apache::geode::client::TcrConnection*&) at geode-native/cppcache/src/TcrEndpoint.cpp:1179 6# apache::geode::client::TcrEndpoint::sendRequestWithRetry(apache::geode::client::TcrMessage const&, apache::geode::client::TcrMessageReply&, apache::geode::client::TcrConnection*&, bool&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int, bool, std::chrono::duration<long, std::ratio<1l, 1000000l> >, bool) at geode-native/cppcache/src/TcrEndpoint.cpp:1003 7# apache::geode::client::TcrEndpoint::sendRequestConnWithRetry(apache::geode::client::TcrMessage const&, apache::geode::client::TcrMessageReply&, apache::geode::client::TcrConnection*&, bool) at geode-native/cppcache/src/TcrEndpoint.cpp:1115 8# apache::geode::client::ThinClientPoolDM::sendSyncRequest(apache::geode::client::TcrMessage&, apache::geode::client::TcrMessageReply&, bool, bool, std::shared_ptr<apache::geode::client::BucketServerLocation> const&) at geode-native/cppcache/src/ThinClientPoolDM.cpp:1417 9# apache::geode::client::ThinClientPoolDM::sendSyncRequest(apache::geode::client::TcrMessage&, apache::geode::client::TcrMessageReply&, bool, bool) at geode-native/cppcache/src/ThinClientPoolDM.cpp:1259 10# apache::geode::client::ThinClientPoolHADM::sendSyncRequest(apache::geode::client::TcrMessage&, apache::geode::client::TcrMessageReply&, bool, bool) at geode-native/cppcache/src/ThinClientPoolHADM.cpp:109 11# apache::geode::client::CacheTransactionManagerImpl::commit() at geode-native/cppcache/src/CacheTransactionManagerImpl.cpp:77 12# apache::geode::client::InternalCacheTransactionManager2PCImpl::afterCompletion(int) at geode-native/cppcache/src/InternalCacheTransactionManager2PCImpl.cpp:146 13# apache::geode::client::InternalCacheTransactionManager2PCImpl::commit() at geode-native/cppcache/src/InternalCacheTransactionManager2PCImpl.cpp:111 14# writePartitionedRegions(ClientData*) at nc-connections/main.cpp:763 15# void std::__invoke_impl<void, void (*)(ClientData*), ClientData*>(std::__invoke_other, void (*&&)(ClientData*), ClientData*&&) at /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/invoke.h:60 16# std::__invoke_result<void (*)(ClientData*), ClientData*>::type std::__invoke<void (*)(ClientData*), ClientData*>(void (*&&)(ClientData*), ClientData*&&) at /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/invoke.h:95 17# void std::thread::_Invoker<std::tuple<void (*)(ClientData*), ClientData*> >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) at /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/thread:244 18# std::thread::_Invoker<std::tuple<void (*)(ClientData*), ClientData*> >::operator()() at /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/thread:251 19# std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(ClientData*), ClientData*> > >::_M_run() at /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/thread:195 20# 0x00007FA22254CD84 in /lib/x86_64-linux-gnu/libstdc++.so.6 21# start_thread at /build/glibc-eX1tMB/glibc-2.31/nptl/pthread_create.c:478 22# __clone in /lib/x86_64-linux-gnu/libc.so.6{noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)