SAP Knowledge Base Article - Preview

3724393 - Stack trace on hs_subohc::SmallDelete - SAP IQ

Symptom

  • During a stored procedure call, the server raised a stack trace with the error on hs_subohc::SmallDelete and "Bitmap result bitcount not in legal range."

  • I. 02/20 13:07:45. 0000151199 ***************** This is the STACKTRACE ***************
    I. 02/20 13:07:45. 0000151199 ===== Thread Number 140709457262272 (IQ connID: 0000151199) =====
    I. 02/20 13:07:45. 0000151199 pc: 0x400e71 backtrace+21
    I. 02/20 13:07:45. 0000151199 pc: 0x7ff9dc7a791c pcstkwalk(stk_trace*, int, db_log*, hos_fd*, unsigned long long)+3c
    I. 02/20 13:07:45. 0000151199 pc: 0x7ff9dc7a80bb ucstkgentrace(int, int)+15b
    I. 02/20 13:07:45. 0000151199 pc: 0x7ff9dc7a9280 StackTraceForThisThread(char const*, int, char const*, char const*, char const*)+2e0
    I. 02/20 13:07:45. 0000151199 pc: 0x7ff9dc8b851c sbm_exception::sbm_exception(char const*, unsigned int, sbm_exception::bmerrors)+43c
    I. 02/20 13:07:45. 0000151199 pc: 0x7ff9dc8cd6d7 s_bm::SetBits(unsigned long long, unsigned long long, int)+6c7
    I. 02/20 13:07:45. 0000151199 pc: 0x7ff9dcf7dcec s_gDeleteCursor::Delete(s_groupID const&, s_bm const&, s_bmFastROCursor*, hos_bitvec const*, s_bm*, s_bm*, unsigned long long&)+11bc
    I. 02/20 13:07:45. 0000151199 pc: 0x7ff9dcfe6b0f hs_subohc::SmallDelete(s_bm const&, hs_csort*, s_packedRecDesc*, unsigned int, unsigned int, unsigned int)+57f
    I. 02/20 13:07:45. 0000151199 pc: 0x7ff9dcfed184 hs_subohc::DeleteForUpdate(hs_subohc::hgDeleteType, s_bm const&, hs_csort*, s_packedRecDesc*, unsigned int, unsigned int, s_CKInfo*, unsigned int)+1d4
    I. 02/20 13:07:45. 0000151199 pc: 0x7ff9dcff3ec9 hs_ohc::Delete(s_bm const*, unsigned long long, int, int, s_CKInfo*, hos_ValueRange const*, hs_csort*, s_packedRecDesc*, unsigned int, unsigned int, hs_subohc::hgDeleteType, int)+16a9
    I. 02/20 13:07:45. 0000151199 pc: 0x7ff9dd10d247 hs_ohcUpdate::Complete()+97
    I. 02/20 13:07:45. 0000151199 pc: 0x7ff9dd5bf72c db_UpdateCompleteIterator::CompleteIndex(s_indexUpdate*)+1c
    I. 02/20 13:07:45. 0000151199 pc: 0x7ff9dd5777af db_UpdateCompleteIterator::ExecWork(int&, unsigned int)+5f
    I. 02/20 13:07:45. 0000151199 pc: 0x7ff9dc77cbbc workAllocator::DoWork(unsigned int)+ac
    I. 02/20 13:07:45. 0000151199 pc: 0x7ff9dc79c8e9 hos_thread::Main()+209
    I. 02/20 13:07:45. 0000151199 pc: 0x7ff9dc70ca89 hos_lwtask::Start(hos_lwtask*)+69
    I. 02/20 13:07:45. 0000151199 pc: 0x7ffff6d59fbe IQWorkerStarter(void*)+3e
    I. 02/20 13:07:45. 0000151199 pc: 0x7ffff74757be run_task_body+1e
    I. 02/20 13:07:45. 0000151199 pc: 0x7ffff702dda8 UnixTask::pre_body(void*)+78
    I. 02/20 13:07:45. 0000151199 pc: 0x7ffff62a760c <unknown>
    I. 02/20 13:07:45. 0000151199 pc: 0x7ffff632eaa8 <unknown>
    I. 02/20 13:07:45. 0000151199 ******************* End of STACKTRACE ******************
    ...
    I. 02/20 13:07:45. 0000151199  I. 02/20 13:07:45. Exception Thrown from slib/s_bm.cxx:1470, Err# 1, tid 140709457262272 origtid 140709457262272
    I. 02/20 13:07:45. 0000151199    O/S Err#: 0, ErrID: 2049 (sbm_exception); SQLCode: -1009045, SQLState: 'QSA45', Severity: 14
    I. 02/20 13:07:45. 0000151199 [20066]: Bitmap failed internal checks. Please check your IQ message file for additional information.
     


Read more...

Environment

  • SAP IQ 16.1 SP05 PL16

Product

SAP IQ 16.1

Keywords

bitmap assertion, bitmap result bitcount, sybase iq, slib/s_bm.cxx, hg_delete_method, sp_iqcheckdb, flat fp, stored procedure, update operation, non-fatal iq internal error, sqlcode -1009045, sqlstate qsa45, hg index, stack trace error , 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.