Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 22704 invoked from network); 26 Oct 2007 23:33:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2007 23:33:12 -0000 Received: (qmail 37504 invoked by uid 500); 26 Oct 2007 23:33:00 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 37296 invoked by uid 500); 26 Oct 2007 23:32:59 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 37281 invoked by uid 99); 26 Oct 2007 23:32:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2007 16:32:59 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2007 23:33:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EAA2D71424E for ; Fri, 26 Oct 2007 16:32:50 -0700 (PDT) Message-ID: <23082715.1193441570958.JavaMail.jira@brutus> Date: Fri, 26 Oct 2007 16:32:50 -0700 (PDT) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Reopened: (DERBY-176) Derby throws ERROR XBCM1: Java linkage error thrown during load of generated class org.apache.derby.exe.aced07c066x0102xca87x3319x00004aa5686e1 during execution of large query In-Reply-To: <891076659.1111501104623.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden reopened DERBY-176: ---------------------------------- Reopen to backport to 10.1 > Derby throws ERROR XBCM1: Java linkage error thrown during load of generated class org.apache.derby.exe.aced07c066x0102xca87x3319x00004aa5686e1 during execution of large query > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-176 > URL: https://issues.apache.org/jira/browse/DERBY-176 > Project: Derby > Issue Type: Bug > Components: SQL > Affects Versions: 10.0.2.0, 10.0.2.1, 10.0.2.2, 10.1.1.0 > Reporter: Kathey Marsden > Assignee: Daniel John Debrunner > Fix For: 10.2.1.6, 10.3.1.4 > > Attachments: largeCodeGen.java > > > When executing a large query or oather large operations, Derby throws a java linkage exception. > This is because the generated byte code exceeds the JVM limits for method sizes constant pool entries etc, the amount of code in a conditional etc. The attached repro demonstrates the problem but the problem can also occur for other operations that generate lots of byte code. The repro is just a new functional test, > so should be copied to derbyTesting/functionTests/lang/largeCodeGen.java and run like > java -Djvmflags=-Xmx512M org.apache.derbyTesting.harness.RunTest lang/largeCodeGen > When this problem is fixed additional scenarios should be added to this test. > ERROR XBCM1: Java linkage error thrown during load of > generated class org.apache.derby.exe.aced07c066x0102xca87x3319x00004aa5686e1. > at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:315) > at org.apache.derby.impl.services.reflect.DatabaseClasses.loadGeneratedClass(DatabaseClasses.java:162) > at org.apache.derby.impl.services.bytecode.GClass.getGeneratedClass(GClass.java:59) > at org.apache.derby.impl.sql.compile.ExpressionClassBuilder.getGeneratedClass(ExpressionClassBuilder.java:920) > at org.apache.derby.impl.sql.compile.StatementNode.generate(StatementNode.java:270) > at org.apache.derby.impl.sql.GenericStatement.prepMinion(GenericStatement.java:432) > at org.apache.derby.impl.sql.GenericStatement.prepare(GenericStatement.java:107) > at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(GenericLanguageConnectionContext.java:688) > at org.apache.derby.impl.jdbc.EmbedPreparedStatement.(EmbedPreparedStatement.java:118) > at org.apache.derby.impl.jdbc.EmbedPreparedStatement20.(EmbedPreparedStatement20.java:82) > at org.apache.derby.impl.jdbc.EmbedPreparedStatement30.(EmbedPreparedStatement30.java:62) > at org.apache.derby.jdbc.Driver30.newEmbedPreparedStatement(Driver30.java:92) > at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(EmbedConnection.java:675) > at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(EmbedConnection.java:519) > at org.apache.derbyTesting.functionTests.tests.lang.largeCodeGen.main(largeCodeGen.java:86) > Exception in thread "main" -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.