You may experience problems if the thread stack overflows.
AbortIfEndofStack in the stack trace file (stktrc-YYYYMMDD-HHNNSS_#.iq), indicates that the thread stack has overflowed.
To avoid this problem, restart SAP Sybase IQ with the server parameter -iqtss set to 300 on 32-bit operating systems, or 500 on 64-bit operating systems. The server startup switch -iqtss specifies thread stack size in KB. If this is inadequate, raise the value of -iqtss by 72 until the problem is solved.
If possible, identify the command that caused the error and forward it to Technical Support.