Symptom
bcp table_test out Fails with the following error message,
"ct_connect(): protocol specific layer: external error: There is a tds protocol error. Premature end of the datastream was encountered."
In some scenarios, the following stack trace with a core dump can occur:
========
*** Error in `bcp': corrupted size vs. prev_size: 0x00000000005d4890 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7f474)[0x2ab9c9d47474]
/lib64/libc.so.6(+0x8156b)[0x2ab9c9d4956b]
bcp(ct__mp_free+0x183)[0x482ef3]
bcp(ct__mm_free+0x75)[0x482095]
bcp(ct__tds_freereshndl+0x44)[0x4983a4]
bcp(ct__tds_closecleanup+0x90)[0x4872c0]
bcp(ct_async_exec_stack+0x9d)[0x4581fd]
bcp(ct_connect+0x4f3)[0x461503]
bcp(establishConnection+0xda)[0x4377ca]
bcp(getConnection+0x117)[0x437f47]
bcp(ctbcp_main+0x161)[0x425791]
bcp(main+0x79)[0x4254f9]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x2ab9c9cea555]
bcp(_start+0x29)[0x425559]
======= Memory map: ========
00400000-00573000 r-xp 00000000 fd:17 132184 /data/sybase/IQ/OCS-16_x/bin/bcp
00573000-00576000 r--p 00172000 fd:17 132184 /data/sybase/IQ/OCS-16_x/bin/bcp
00576000-00594000 rw-p 00175000 fd:17 132184 /data/sybase/IQ/OCS-16_x/bin/bcp
00594000-005f3000 rw-p 00000000 00:00 0 [heap]
.....
.....
========
Read more...
Environment
IQ16.1 SP04 PL09(+)
Product
Keywords
bcp out, CR 827432, 827432,, ct__mp_free, getConnection, establishConnection, corrupted size, _start , 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.