SAP Knowledge Base Article - Preview

3232060 - IQ backup crashes in hos_memmgr::FreeHosMem due to memory corruption

Symptom

IQ backup crashed IQ almost when the backup was ending. No stktrc file gets generated.
iqmsg file shows following information

----- Linked list memory corruption 

I. 07/24 14:13:53. 0000983968 IQ Internal Error Detected:  Memory Corruption
I. 07/24 14:13:53. 0000983968     Idx: 0  Addr:49424c610  Size: 205816  File: dblib/db_backup.cxx  Line: 3784  Thread: 14  IsArray: 0
I. 07/24 14:13:53. 0000983968     Usage: db_workUnit::_data
I. 07/24 14:13:53. 0000983968
I. 07/24 14:13:53. 0000983968 Next Element In List:
I. 07/24 14:13:53. 0000983968     Idx: 0  Addr:137d04570  Size: 8  File: dblib/db_table.cxx  Line: 3585  Thread: 54  IsArray: 0
I. 07/24 14:13:53. 0000983968     Usage: _Columns
I. 07/24 14:13:53. 0000983968
I. 07/24 14:13:53. 0000983968 Previous Element In List:
I. 07/24 14:13:53. 0000983968     Idx: 0  Addr:1e2110550  Size: 200  File: dblib/db_backup.cxx  Line: 3774  Thread: 14  IsArray: 0
I. 07/24 14:13:53. 0000983968     Usage: db_workUnit::_blocks
I. 07/24 14:13:53. 0000983968
I. 07/24 14:13:53. 0000983968     Failure(s):   _end bad data: 0x0xfc0eb043031c319
I. 07/24 14:13:53. 0000983968

---- Stack trace 

I. 07/24 14:13:53. 0000983968     **  IQ Version:  SAP IQ/16.1.040/16615/P/SP04.12
I. 07/24 14:13:53. 0000983968     **  OS info:  IQ built on: RS6000MP/AIX 7.1,  Executed on: AIX/.../1/7/00C955F74C00
I. 07/24 14:13:53. 0000983968     **  Command status when error occurred:  COMMAND ACTIVE
I. 07/24 14:13:53. 0000983968     **  Command text:
I. 07/24 14:13:53. 0000983968  to
I. 07/24 14:13:53. 0000983968 ddump27' to
I. 07/24 14:13:53. 0000983968     **  Dump all thread stacks at oslib/hos_mem.cxx:245 for PID: 7536766
I. 07/24 14:13:53. 0000983968
I. 07/24 14:13:53. 0000983968
===== Thread Number 100489 (IQ connID: 0000983968) =====
I. 07/24 14:13:53. 0000983968 pc: 90000001657ccc8 .pcstkwalk(stk_trace*,int,db_log*,hos_fd*)+0x1c8()
I. 07/24 14:13:53. 0000983968 pc: 90000001657be1c .ucstkgentrace(int,int)+0xbc()
I. 07/24 14:13:53. 0000983968 pc: 90000001657c6e0 .DumpAllThreads(const char*,unsigned int,int)+0x340()
I. 07/24 14:13:53. 0000983968 pc: 900000016578a44 .hos_ABORT(const char*,unsigned int,const hos_exception&,char*,char*,__sigcontext*)+0x4e4()
I. 07/24 14:13:53. 0000983968 pc: 900000016588a58 .ThrowAbort(const hos_exception&)+0x278()
I. 07/24 14:13:53. 0000983968 pc: 900000016588704 .Throw(const hos_exception&)+0x4e4()
I. 07/24 14:13:53. 0000983968 pc: 90000001655f324 .hos_memmgr::FreeHosMem(void*)+0x5c4()
I. 07/24 14:13:53. 0000983968 pc: 90000001657645c .operator delete(void*)+0x1c()
I. 07/24 14:13:53. 0000983968 pc: 900000016560678 .operator delete(void*)+0x18()
I. 07/24 14:13:53. 0000983968 pc: 900000016560630 .operator delete[](void*)+0x10()
I. 07/24 14:13:53. 0000983968 pc: 9000000183ef238 .db_workUnit::~db_workUnit()+0xf8()
I. 07/24 14:13:53. 0000983968 pc: 9000000183fa674 .db_backup_workiterator::~db_backup_workiterator()+0x374()
I. 07/24 14:13:53. 0000983968 pc: 9000000183eed3c .db_IQbackup::~db_IQbackup()+0x17c()
I. 07/24 14:13:53. 0000983968 pc: 9000000183b0c80 .db_DoBackup::Execute()+0x200()
-----


Read more...

Environment

IQ 16.1 sp04 PL12

Product

SAP IQ 16.1

Keywords

.hos_memmgr::FreeHosMem , .operator delete , .db_backup_workiterator::~db_backup_workiterator , .db_IQbackup::~db_IQbackup , .db_DoBackup::Execute , Memory Corruption , linked list , KBA , BC-SYB-IQ , Sybase IQ , 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.