You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Alexey Serbin (Jira)" <ji...@apache.org> on 2019/10/18 04:52:00 UTC

[jira] [Created] (KUDU-2978) NVM-based cache test scenario in cfile-test crashes on CentOS6

Alexey Serbin created KUDU-2978:
-----------------------------------

             Summary: NVM-based cache test scenario in cfile-test crashes on CentOS6
                 Key: KUDU-2978
                 URL: https://issues.apache.org/jira/browse/KUDU-2978
             Project: Kudu
          Issue Type: Bug
    Affects Versions: 1.10.0
            Reporter: Alexey Serbin


Changelist {{5e3af4e2ae45ee5f700b9c6c28d56ff84ffeb319}} brought an issue into the cfile-test running with NVM cache: the scenario {{TestCFileBothCacheMemoryTypes.TestReadWriteLargeStrings}} started to crash with SIGSEGV pretty often.

To reproduce, run
{noformat}
./bin/cfile-test --gtest_filter='*CacheMemoryTypes/TestCFileBothCacheMemoryTypes.TestReadWriteLargeStrings/1'
{noformat}

The stack trace looks like the following:
{noformat}
*** Aborted at 1571371818 (unix time) try "date -d @1571371818" if you are using GNU date ***
PC: @     0x7f020c89a719 kudu::(anonymous namespace)::ShardedLRUCache::Allocate()
*** SIGSEGV (@0x7f01e424a4f8) received by PID 59228 (TID 0x7f020787f040) from PID 18446744073242191096; stack trace: ***
    @       0x3ae0e0f710 (unknown)
    @     0x7f020c89a719 kudu::(anonymous namespace)::ShardedLRUCache::Allocate()
    @     0x7f020cdf36a9 kudu::Cache::Allocate()
    @     0x7f020cdf2f3e kudu::cfile::BlockCache::Allocate()
    @     0x7f020ce029aa kudu::cfile::(anonymous namespace)::ScratchMemory::TryAllocateFromCache()
    @     0x7f020ce03298 kudu::cfile::CFileReader::ReadBlock()
    @     0x7f020ce072f0 kudu::cfile::CFileIterator::ReadCurrentDataBlock()
    @     0x7f020ce07b16 kudu::cfile::CFileIterator::QueueCurrentDataBlock()
    @     0x7f020ce081b4 kudu::cfile::CFileIterator::PrepareBatch()
    @     0x7f020ce0a460 kudu::cfile::CFileIterator::CopyNextValues()
    @           0x498b1e kudu::cfile::TestCFile::TestReadWriteStrings()
    @           0x499dd3 kudu::cfile::TestCFileBothCacheMemoryTypes_TestReadWriteLargeStrings_Test::TestBody()
    @     0x7f020caeeb98 testing::internal::HandleExceptionsInMethodIfSupported<>()
    @     0x7f020cadc1b2 testing::Test::Run()
    @     0x7f020cadc2f8 testing::TestInfo::Run()
    @     0x7f020cadc3d5 testing::TestCase::Run()
    @     0x7f020cae2ed8 testing::internal::UnitTestImpl::RunAllTests()
    @     0x7f020caef0a8 testing::internal::HandleExceptionsInMethodIfSupported<>()
    @     0x7f020cadc4ad testing::UnitTest::Run()
    @     0x7f020d2f0f7f RUN_ALL_TESTS()
    @     0x7f020d2eed90 main
    @       0x3ae0a1ed5d __libc_start_main
    @           0x4944d9 (unknown)
Segmentation fault (core dumped)
{noformat}

Reverting changelist {{5e3af4e2ae45ee5f700b9c6c28d56ff84ffeb319}} fixes the issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)