SAP Knowledge Base Article - Preview

2714381 - HANA service crash with : MemoryBlock "Bad Block"

Symptom

HANA service crashes with following stack :

----> Pending exceptions (possible root cause) <----
exception 1: no.2030004 (Basis/MemoryManager/impl/CheckedBlockHandler.cpp:663)
Block 0x00007f430004a800/0x00007f430004a800+5120/5120 dealloc pointer 0x00007f430004b090 invalid; $condition$=p == userPtr; $addr$=0x0000000000000000; $operation$=free; $flags$=0x1
$Bad Block$=
MemoryBlock "Bad Block":
Unreadable block 0x0000000000000000

$alloc_trace$=
1: 0x00007f4f64c18f69 in void ltt::impl::vectorResize<AttributeEngine::BTreeLeafNodeGroup<AttributeEngine::BTree_Key<TrexTypes::StringAttributeValue> > >(ltt::vector<AttributeEngine::BTreeLeafNodeGroup<AttributeEngine::BTree_Key<TrexTypes::StringAttributeValue> > >&, unsigned long)+0x4b5 at memory.hpp:866 (libhdbcs.so)

$free_trace$=
1: 0x00007f4f64cf05cc in AttributeEngine::BtreeAttribute::DeltaContainer<AttributeEngine::BTree_Key<TrexTypes::StringAttributeValue> >::~DeltaContainer()+0xc8 at TopValues.h:41 (libhdbcs.so)

$Block before bad block$=
MemoryBlock "Block before bad block":
In-use block 0x00007f4300049400, size 5120B, flags 0x1/Page, head 0x00007f4300049400, type <unknown>, alloc <unknown>
Block was allocated at 1: 0x00007f4f64c18f69 in void ltt::impl::vectorResize<AttributeEngine::BTreeLeafNodeGroup<AttributeEngine::BTree_Key<TrexTypes::StringAttributeValue> > >(ltt::vector<AttributeEngine::BTreeLeafNodeGroup<AttributeEngine::BTree_Key<TrexTypes::StringAttributeValue> > >&, unsigned long)+0x4b5 at memory.hpp:866 (libhdbcs.so)
Address 0x00007f430004a7f8 lies 5112B in block 0x00007f4300049400, type@address <unknown>

$Block after bad block$=
MemoryBlock "Block after bad block":
In-use block 0x00007f430004bc00, size 5120B, flags 0x1/Page, head 0x00007f430004bc00, type <unknown>, alloc <unknown>
Block was allocated at 1: 0x00007f4f64c18f69 in void ltt::impl::vectorResize<AttributeEngine::BTreeLeafNodeGroup<AttributeEngine::BTree_Key<TrexTypes::StringAttributeValue> > >(ltt::vector<AttributeEngine::BTreeLeafNodeGroup<AttributeEngine::BTree_Key<TrexTypes::StringAttributeValue> > >&, unsigned long)+0x4b5 at memory.hpp:866 (libhdbcs.so)
Address 0x00007f430004bc08 lies 8B in block 0x00007f430004bc00, type@address <unknown>

exception throw location:
1: 0x00007f4f4ee6d579 in MemoryManager::CheckedBlockHandler::prepareDealloc(void*, void*, unsigned long, unsigned char, unsigned short, unsigned long, unsigned long, void const*)+0x8d5 at CheckedBlockHandler.cpp:661 (libhdbbasis.so)
2: 0x00007f4f4eef01e6 in MemoryManager::PageAllocator::delayedDeallocate(MemoryManager::BlockInfo&, void*, void const*, unsigned short)+0xe2 at PageAllocator.cpp:582 (libhdbbasis.so)
3: 0x00007f4f4eeba460 in MemoryManager::MemoryPool::deallocate(void*, void const*, unsigned short)+0x230 at MemoryPool.cpp:2350 (libhdbbasis.so)
4: 0x00007f4f4eef1abb in MemoryManager::PoolAllocator::deallocateImpl(void*, void const*)+0x17 at PoolAllocator.cpp:1869 (libhdbbasis.so)
5: 0x00007f4f64cf05cc in AttributeEngine::BtreeAttribute::DeltaContainer<AttributeEngine::BTree_Key<TrexTypes::StringAttributeValue> >::~DeltaContainer()+0xc8 at TopValues.h:41 (libhdbcs.so)
6: 0x00007f4f64cf0669 in AttributeEngine::BtreeAttribute::DeltaContainer<AttributeEngine::BTree_Key<TrexTypes::StringAttributeValue> >::~DeltaContainer()+0x5 at DeltaContainer.cpp:78 (libhdbcs.so)
...


Read more...

Environment

 HANA 1.0 & 2.0

Product

SAP S/4HANA, on-premise edition 1511

Keywords

KBA , HAN-DB-MON , SAP HANA Monitoring , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.