Symptom
- jConnect client connection terminates unexpectedly.
- ASE errorlog contains an 'Infected with signal 11 (SIGSEGV)' sequence
- With one of two different stack traces, in either com__exctnume_copy or $cold_subparams:
Current process (0x5d9f031d) infected with signal 11 (SIGSEGV)
Address 0x4000000001b15740 ($cold_subparams+0x5a0) ...
Current process (0xdf30263) infected with signal 11 (SIGSEGV)
kernel Address 0xc0000000004b2320 (com__exctnume_copy+0x6b4), siginfo (code, address) - Stack trace header may indicate a previous error 12828:
lasterror = 12828 - ASE functions in the stack traces reported in errorlog include:
- $cold_subparams
$cold_s_setupvar
s_compile
curs_compile_at_open
$cold_s_execute
sequencer
tdsrecv_open
or
- com__exctnume_copy
comnb_numtonum
srv_numtonum
relop__retrocast_cnst
relop__retrocast
relop__sqlt
ResRelOp
Optimize
- The Java stack may report below Exception:
java.sql.SQLException: JZ006: Caught IOException: com.sybase.jdbc4.jdbc.SybConnectionDeadException: JZ0C0: Connection is already closed.
at com.sybase.jdbc4.jdbc.ErrorMessage.createIOEKilledConnEx(ErrorMessage.java:1152)
at com.sybase.jdbc4.jdbc.ErrorMessage.raiseErrorCheckDead(ErrorMessage.java:1195)
at com.sybase.jdbc4.tds.Tds.handleIOE(Tds.java:5340)
at com.sybase.jdbc4.tds.Tds.handleIOE(Tds.java:5285)
at com.sybase.jdbc4.tds.Tds.cancel(Tds.java:2519)
at com.sybase.jdbc4.tds.Tds.cancel(Tds.java:2443)
at com.sybase.jdbc4.jdbc.SybStatement.doCancel(SybStatement.java:1034)
at com.sybase.jdbc4.jdbc.SybStatement.batchLoop(SybStatement.java:2362)
at com.sybase.jdbc4.jdbc.SybStatement.sendBatch(SybStatement.java:2170)
at com.sybase.jdbc4.jdbc.SybStatement.executeBatch(SybStatement.java:2128)
at com.sybase.jdbc4.jdbc.SybStatement.executeBatch(SybStatement.java:2046)
at com.sybase.jdbc4.jdbc.SybPreparedStatement.executeBatch(SybPreparedStatement.java:2092)
at com.sap.customer.mseb.TinyIntTest.main(TinyIntTest.java:59)
Note: Complete signal 11 stacktraces are attached.
Read more...
Environment
-
SAP Sybase Adaptive Server Enterprise 15.7
-
SAP Sybase Adaptive Server Enterprise 16.0
-
SAP Adaptive Server Enterprise SDK 15.7 prior to SP140
-
SAP Adaptive Server Enterprise SDK 16.0 SP02 prior to PL08
-
SAP Adaptive Server Enterprise SDK 16.0 SP03 prior to PL04
- jConnect Client
- Java
- Connection property 'HOMOGENEOUS_BATCH=true'
Product
Keywords
CR811189, 811189, CR#811189, TINYINT, HOMOGENEOUS_BATCH, SEGV, segmentation, storage, access, violation, fault, segfault, kisignal, stacktrace, stack, registers , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , BC-SYB-SDK , SDK , Bug Filed
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.
SAP Knowledge Base Article - Preview