SAP Knowledge Base Article - Preview

2543127 - SAP IQ crashed due memory corruption on hos_memmgr::FreeHosMem

Symptom

IQ crashed due memory corruption on hos_memmgr::FreeHosMem:

=======

IQ Internal Error Detected: Memory Corruption
Idx: 0 Addr: 0x7fb2815a6b80 Size: 8 File: oslib/hos_word.cxx Line: 739 Thread: 19 IsArray: 0
Usage: hos_word::_WordBuffer

Next Element In List:
Idx: 0 Addr: 0x7fb2800298e0 Size: 64 File: oslib/hos_word.cxx Line: 738 Thread: 19 IsArray: 0
Usage: hos_word::_NodeBuf

Previous Element In List:
Idx: 0 Addr: 0x7fb280029ae0 Size: 56 File: dflib/dfp_Simple.cxx Line: 781 Thread: 19 IsArray: 0
Usage: dfp_Simple::IndexName
Failure(s): _end bad data: 0x0xdeadbe00

**************************************************
*** SAP IQ Abort:
*** From: oslib/hos_mem.cxx:270
*** Rethrown from: oslib/hos_throw.cxx:313
*** PID: 18048
*** Exception Location: 0x0x7fb3403d2ea0
*** Error ID: 517, Exception Type: hos_memexception
*** Thread: 140407853639424 (TID: 19, Original TID: 19)
*** Error #: 0, O/S Error #: 0
*** Argument:
-- (oslib/hos_mem.cxx 270)
**************************************************
** Error from IQ connection: SA connHandle: 355623 SA connID: 31 IQ connID: 0002211510 User: xxxxxxx
** Time of error: 2017-09-26 15:48:56
** IQ Version: SAP IQ/16.0.110/10299/P/sp11.01
** OS info: IQ built on: Enterprise Linux64 - x86_64 - 2.6.18-194.el5, Executed on: Linux/savpdw01.yyyyyy.com.br/2.6.32-431.el6.x86_64/#1 SMP Sun Nov 10 22:19:54 EST 2013/x86_64
** Command status when error occured: CURSOR ACTIVE
** Command text:
select top 10 *
from "DBA"."tb"
where "user" like 'YYYYYYY%'
Query Plan:
0 #02: Root
Child Node 1: #03
Estimated Result Rows: 1
User Name: xxxxxxx (SA connHandle: 355623 SA connID: 31)
Est. Temp Space Used (Mb): 0.2
Cursor Name: __tds_cursor
Requested attributes: Scroll Read Only Hold Unchained
Effective Number of Users: 1
Number of CPUs: 7
IQ Main Cache Size (Mb): 26000
IQ Temp Cache Size (Mb): 18000
IQ Large Memory Size (Mb): 2048
Threads used for executing local invariant predicates: 1
....
.....
Dump all thread stacks at oslib/hos_mem.cxx:270 for PID: 18048


***************** This is the STACKTRACE ***************

===== Thread Number 140407853639424 (IQ connID: 0002211510) =====
pcstkwalk(stk_trace*, int, db_log*, hos_fd*)+0x32
ucstkgentrace(int, int)+0x121
DumpAllThreads(char const*, unsigned int, int)+0x259
hos_ABORT(char const*, unsigned int, hos_exception const&, char*, char*)+0x436
Throw(hos_exception const&)+0x3e1
hos_memmgr::FreeHosMem(void*)+0x18c
hos_word::~hos_word()+0x8b
vpp_Like::~vpp_Like()+0x2e
hos_vector_noerror::ClearAndDestroy()+0x55
vp_Heap::~vp_Heap()+0x12a
vp_Cursor::ReleaseResources()+0x53
vp_Cursor::Complete()+0x17
dfo_VerticalLeafCursor::CompleteOpus()+0x2ee
dfo::Complete()+0x139
dfo_Cursor::FetchOpus()+0x385
dfo_Root::FetchOpus()+0x1b9
st_cursorIQtoSA::FetchRows(unsigned int)+0x88
....
....
request_task(void*)+0x65


Read more...

Environment

  • SAP IQ 16.0

Product

SAP IQ 16.0

Keywords

hos_memmgr::FreeHosMem Internal Error Detected Memory Corruption -iqlm caches abort crash , KBA , BC-SYB-IQ , Sybase IQ , How To

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.