SAP Knowledge Base Article - Preview

3009445 - Crash due malloc(): smallbin double linked list corrupted - SAP IQ

Symptom

IQ writer node crashed due error: malloc(): smallbin double linked list corrupted: 0x00007fff50005c80 ***.

A query was launched from the client against a very complex view, and immediately a SAP IQ Abort appeared.

There is not a stack trace on iqmsgs or stktrc files.

We can see the following messages in the "stderr" file:

=====

**************************************************
***   SAP IQ Abort:
***      From:  stcxtlib/st_server.cxx:2354
***      PID: 6865
***      Message: caught signal 11, program abort
***      Thread: 140723838162688  (TID: 371)
**************************************************
 
*** Error in `/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/bin64/iqsrv16': malloc(): smallbin double linked list corrupted: 0x00007fff50005c80 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7f3e4)[0x7ffff585b3e4]
/lib64/libc.so.6(+0x82b20)[0x7ffff585eb20]
/lib64/libc.so.6(__libc_malloc+0x4c)[0x7ffff58616fc]
/lib64/ld-linux-x86-64.so.2(+0x5afe)[0x7ffff7de0afe]
/lib64/ld-linux-x86-64.so.2(+0x8777)[0x7ffff7de3777]
/lib64/ld-linux-x86-64.so.2(+0x142a4)[0x7ffff7def2a4]
/lib64/ld-linux-x86-64.so.2(+0xf7d4)[0x7ffff7dea7d4]
/lib64/ld-linux-x86-64.so.2(+0x13b8b)[0x7ffff7deeb8b]
/lib64/libdl.so.2(+0xfab)[0x7ffff5eacfab]
/lib64/ld-linux-x86-64.so.2(+0xf7d4)[0x7ffff7dea7d4]
/lib64/libdl.so.2(+0x15ad)[0x7ffff5ead5ad]
/lib64/libdl.so.2(dlopen+0x31)[0x7ffff5ead041]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiq16.so(+0x120b451)[0x7ffd91060451]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiq16.so(_Z14DumpAllThreadsPKcji+0x29c)[0x7ffd910631bc]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiq16.so(_Z9hos_ABORTPKcjS0_PcS1_P10sigcontext+0x748)[0x7ffd90dd9098]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiq16.so(SigHndlr+0x51)[0x7ffd91c86901]
/lib64/libpthread.so.0(+0xf630)[0x7ffff63c7630]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiq16.so(_ZN7s_phash6InsertEv+0x755)[0x7ffd91a03525]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiq16.so(_ZN9dfjo_Hash17Fetch_T2_IntoHashEv+0x832)[0x7ffd909a16b2]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiq16.so(_ZN9dfjo_Hash8ExecWorkERij+0x78)[0x7ffd9099b438]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiq16.so(_ZN13workAllocator6DoWorkEj+0xc4)[0x7ffd91031414]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiq16.so(_ZN8hos_team9StartWorkEPFvPvS0_ES0_+0xe9)[0x7ffd91056c23]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiq16.so(_ZN8hos_team4ExecER12hos_workIter+0x41)[0x7ffd91030e31]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiq16.so(_ZN9dfjo_Hash14SourcePreFetchEv+0x8c)[0x7ffd9099980c]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiq16.so(_ZN8dfo_Join14SourcePreFetchEv+0x40)[0x7ffd90a34370]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiq16.so(_ZN18dfo_cOrderByParaIn15PrefetchAndSortEv+0x25d)[0x7ffd90ae6fbd]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiq16.so(_ZN12dfo_cOrderBy14SourcePreFetchEv+0x88)[0x7ffd90ada888]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiq16.so(_ZN3dfo14SourcePreFetchEv+0x83)[0x7ffd909ce3c3]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiq16.so(_ZN24df_UnionAllFetchIterator8ExecWorkERij+0x143)[0x7ffd90ab0013]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiq16.so(_ZN13workAllocator6DoWorkEj+0xc4)[0x7ffd91031414]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiq16.so(_ZN10hos_thread4MainEv+0x23d)[0x7ffd9105837b]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiq16.so(_ZN10hos_lwtask5StartEPS_+0x5a)[0x7ffd90fbabca]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiqserv16_r.so(+0x344d1e)[0x7ffff6b38d1e]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiqserv16_r.so(+0xa404be)[0x7ffff72344be]
/opt/sybase/IQ-161_SP03_PL08/IQ-16_1/lib64/libiqserv16_r.so(+0x60c4b1)[0x7ffff6e004b1]
/lib64/libpthread.so.0(+0x7ea5)[0x7ffff63bfea5]
/lib64/libc.so.6(clone+0x6d)[0x7ffff58da96d]
======= Memory map: ========
00400000-00402000 r-xp 00000000 fd:26 393902                             /opt/sybase/IQ-161_SP03_PL08/IQ-16_1/bin64/iqsrv16
00601000-00602000 r--p 00001000 fd:26 393902                             /opt/sybase/IQ-161_SP03_PL08/IQ-16_1/bin64/iqsrv16
00602000-00603000 rw-p 00002000 fd:26 393902                             /opt/sybase/IQ-161_SP03_PL08/IQ-16_1/bin64/iqsrv16
00603000-05249000 rw-p 00000000 00:00 0                                  [heap]
7fc58c000000-7fc58fffe000 rw-p 00000000 00:00 0
.....
.....
.....

=====


Read more...

Environment

  • SAP IQ 16.1 SP03 PL08
  • LINUX

Product

SAP IQ 16.1

Keywords

abort crash malloc() smallbin double linked list corrupted  CR 823881 CR823881 823881 CR 823702 CR823702 823702 , KBA , BC-SYB-IQ , Sybase IQ , Bug Filed

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.