ouch: ORA-07445: exception encountered: core dump [qcplgte_multibyte()+302] [SIGSEGV]

August 8, 2014 — Leave a comment

tested on and on Linux x64:

echo "select * from ( " > ${SQLFILE}
for x in {1..100000}
  if [ $x == "100000" ]; then
    echo "select * from dual )" >>  ${SQLFILE}
    echo " select * from ( " >> ${SQLFILE}

for x in {1..99999}
  echo ")"  >> ${SQLFILE}

execute the generated /var/tmp/subqueries.sql script:

200001  ;
select * from (
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Process ID: 21287
Session ID: 34 Serial number: 2369

I do not say, that using 100000 subqueries is in any way useful :)

maybe this is not related to the amount of subqueries but rather to the number of lines or the number of characters in the statement. did not test this.

No Comments

Be the first to start the conversation!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.