Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 90937 invoked from network); 27 Dec 2006 13:10:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Dec 2006 13:10:44 -0000 Received: (qmail 48342 invoked by uid 500); 27 Dec 2006 13:10:50 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 48317 invoked by uid 500); 27 Dec 2006 13:10:50 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 48306 invoked by uid 99); 27 Dec 2006 13:10:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Dec 2006 05:10:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Wed, 27 Dec 2006 05:10:43 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9F8D47142BB for ; Wed, 27 Dec 2006 05:10:22 -0800 (PST) Message-ID: <30950301.1167225022650.JavaMail.jira@brutus> Date: Wed, 27 Dec 2006 05:10:22 -0800 (PST) From: "Ivan Volosyuk (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-2899) [drlvm][em64t] VM doesn't support native methods with big number of arguments In-Reply-To: <9032977.1167224421129.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/HARMONY-2899?page=comments#action_12460994 ] Ivan Volosyuk commented on HARMONY-2899: ---------------------------------------- DRLVM use fixed size buffer for each JNI stubs. The size is equal to MAX_CODE_LENGTH. When number of arguments is large enough the buffer overflows. > [drlvm][em64t] VM doesn't support native methods with big number of arguments > ----------------------------------------------------------------------------- > > Key: HARMONY-2899 > URL: http://issues.apache.org/jira/browse/HARMONY-2899 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: Linux/em64t > Reporter: Ivan Volosyuk > Attachments: test.zip > > > VM crashes with following diagnostic message: > java: /nfs/ims/proj/drl/mrt1/users/ivanrt/harmony/drlvm/trunk/vm/port/src/lil/em64t/pim/lil_code_generator_em64t.cpp:1045: size_t LcgEM64TCodeGen::get_size() const: Assertion `(unsigned)(buf - buf_beg) < MAX_CODE_LENGTH' failed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira