2638147 - server abort at hos_mem.cxx:243 from hos_memmgr::FreeHosMem - SAP IQ | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2638147 - server abort at hos_mem.cxx:243 from hos_memmgr::FreeHosMem - SAP IQ

Symptom

Server crashed while runing a backup database.

I. 04/29 13:42:32. 0000066999 
I. 04/29 13:42:32. 0000066999 IQ Internal Error Detected:  Memory Corruption
I. 04/29 13:42:32. 0000066999     Idx: 0  Addr: 5e4fa732e0  Size: 205816  File: db_backup.cxx  Line: 1286  Thread: 23  IsArray: 0
I. 04/29 13:42:32. 0000066999     Usage: db_workUnit::_data
I. 04/29 13:42:32. 0000088320 Txn 822711342 0 822711342
I. 04/29 13:42:32. 0000088320 Cmt 822711343
I. 04/29 13:42:32. 0000088320 PostCmt 0
I. 04/29 13:42:32. 0000066999 
I. 04/29 13:42:32. 0000066999 Next Element In List:
I. 04/29 13:42:32. 0000066999     Idx: 0  Addr: 5e24972e50  Size: 32  File: db_backup.cxx  Line: 1279  Thread: 23  IsArray: 0
I. 04/29 13:42:32. 0000066999     Usage: db_workUnit::_blockType
I. 04/29 13:42:32. 0000066999 
I. 04/29 13:42:32. 0000066999 Previous Element In List:
I. 04/29 13:42:32. 0000066999     Idx: 0  Addr: 5e0fb6a680  Size: 32  File: db_backup.cxx  Line: 999  Thread: 23  IsArray: 0
I. 04/29 13:42:32. 0000066999     Usage: db_backup_workiterator::_workunit[i]
I. 04/29 13:42:32. 0000066999 
I. 04/29 13:42:32. 0000066999     Failure(s):   _end bad data: 0xb0df4dc0b2875276
I. 04/29 13:42:32. 0000066999 
I. 04/29 13:42:32. 0000066999 
I. 04/29 13:42:32. 0000066999 **************************************************
I. 04/29 13:42:32. 0000066999 ***   Sybase IQ Abort:
I. 04/29 13:42:32. 0000066999 ***      From:  hos_mem.cxx:243
I. 04/29 13:42:32. 0000066999 ***      PID: 898
I. 04/29 13:42:32. 0000066999 ***      Exception Location: 0xfffffc7f0a5fc910
I. 04/29 13:42:32. 0000066999 ***      Error ID: 517,  Exception Type: hos_memexception
I. 04/29 13:42:32. 0000066999 ***      Thread: 218  (TID: 23, Original TID: 23)
I. 04/29 13:42:32. 0000066999 ***      Error #: 0,  O/S Error #: 0
I. 04/29 13:42:32. 0000066999 **************************************************
I. 04/29 13:42:32. 0000066999 
I. 04/29 13:42:32. 0000066999     **  Error from IQ connection:  SA connHandle: 15139  SA connID: 42  IQ connID: 0000066999  User: XXX
I. 04/29 13:42:32. 0000066999     **  Time of error:  2018-04-29 13:42:32
I. 04/29 13:42:32. 0000066999     **  IQ Version:  Sybase IQ/15.4.0/130221/P/ESD 3
I. 04/29 13:42:32. 0000066999     **  OS info:  IQ built on: Sun_x64/OS 5.10,  Executed on: SunOS/XXXXXXX/5.10/Generic_150401-49/i86pc
I. 04/29 13:42:32. 0000066999     **  Command status when error occured:  COMMAND ACTIVE
I. 04/29 13:42:32. 0000066999     **  Command text:

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

I. 04/29 13:43:50. 0000066999
===== Thread Number  218  (IQ connID: 0000066999) =====
I. 04/29 13:43:50. 0000066999 pc: 0x0 (0x220, 0x25f5c41908)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7ef975272f void DumpAllThreads(const char*,unsigned,int)+0x29f(0xfffffc7efa6efd70, 0x90)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7ef9497695 void hos_ABORT(const char*,unsigned,const hos_exception&,char*,char*)+0x4ed(0x0, 0x4cdee0)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7ef977c142 void Throw(const hos_exception&)+0x2ba(0xfffffc7efa7f63b0, 0x100000000)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7ef970d391 void hos_memmgr::FreeHosMem(void*)+0x2ed(0xfffffc7f0a5fceb0, 0x5e0f0b9448)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7ef8f217d1 db_backup_workiterator::~db_backup_workiterator()+0x55(0x0, 0xfffffc7f0a5fd000)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7ef8f245b0 __SLIP.DELETER__F+0x14(0xfffffc7f0a5fceb0, 0xe247be91cdd137)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7ef8f1cf1f db_backup::~db_backup()+0x17b(0x6c00000001, 0x5e0d30d8e8)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7ef8f263c4 void db_DoBackup::Execute()+0x110(0x0, 0xfffffc7f0a5fd990)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7efa1b773e void st_command::DoCmdThroughResourceGate()+0x1c2(0xfffffc7efa5a0230, 0x1700000002)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7efa23c626 unsigned st_iqctl::DoBackupRestore(UIConnection*,UIDatabase*,unsigned char,void**,int,backupAPIRtns*,backupInfo*)+0x6a(0xfffffc7f86328430, 0xfffffc7fa238fc30)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7ef97c0914 UIQCtl_DoBackupRestore+0x40(0xfffffc7f0a5fda88, 0xfffffc7f0a5fecb0)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7efa1b3ee4 void st_SAIQInterfaceInfo::callFunction()+0x1c(0xfffffc7f0a003125, 0xfffffc7fff22ab84)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7efa1b5bc5 void st_SAIQInterface::RunIQFunc(st_SAIQInterfaceInfo*)+0x279(0x16f732e72, 0xfffffc7f678a0108)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7efa1b44d5 void st_SAIQInterface::Execute(int,void*,unsigned(*)(void*,void*),void*,unsigned)+0x25d(0xfffffc7ff8010a18, 0xfffffc7fff28e640)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7efa1879eb unsigned saint_iqthresholdctl::DoBackupRestore(IConnection*,IDatabase*,unsigned char,void**,int,backupAPIRtns*,backupInfo*)+0x12b(0xfffffc7f86328430, 0xfffffc7fa238fc30)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7ffe7ec0d1 void ArchiveBackup(backupCommand*)+0xdbd(0x0, 0xfffffc7fa24142b0)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7ffe7f1555 void dbi_backup_database(a_statement*)+0xbd(0x5e1f782cc0, 0x5e1f782c80)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7ffe8319ed a_cursor*DoExecuteBodyLocal(Connection*,a_stmt*,a_statement*,a_stmt_identifier*,bool,unsigned,unsigned short)+0x241(0x0, 0x5e1f782c80)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7ffe834436 void DoExecuteStmt(Connection*,a_stmt*,a_statement*,a_stmt_identifier*,unsigned short,unsigned)+0xa6e(0xfffffc7f0a6019a0, 0x0)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7ffe83dda5 void db__execute_any_imm(Connection*,an_sqlpres_receive*)+0x195(0x1fa073a878, 0xfffffc7fa0b83ac0)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7ffe84a767 void RequestProcedure::call()+0x743(0x0, 0x4bc9b8)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7ffe66d215 void Context::call(Procedure*,Context**)+0xb1(0x50a601c10, 0xfffffc7fff37b7c0)
I. 04/29 13:43:50. 0000066999 pc: 0xfffffc7ffe66db49 void Worker::call_


Read more...

Environment

SAP IQ 15.4

Product

SAP Sybase IQ 15.4

Keywords

Sybase, CR783696, CR#783696, 783696, hos_memmgr::FreeHosMem, db_backup , 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 ONE Support launchpad (Login required).

Search for additional results

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