From dev-return-35666-apmail-harmony-dev-archive=harmony.apache.org@harmony.apache.org Wed Dec 17 11:24:26 2008 Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 14129 invoked from network); 17 Dec 2008 11:24:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Dec 2008 11:24:26 -0000 Received: (qmail 90198 invoked by uid 500); 17 Dec 2008 11:24:36 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 90168 invoked by uid 500); 17 Dec 2008 11:24:36 -0000 Mailing-List: contact dev-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 dev@harmony.apache.org Received: (qmail 90157 invoked by uid 99); 17 Dec 2008 11:24:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2008 03:24:36 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of xu.regis@gmail.com designates 64.233.170.185 as permitted sender) Received: from [64.233.170.185] (HELO rn-out-0910.google.com) (64.233.170.185) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2008 11:24:14 +0000 Received: by rn-out-0910.google.com with SMTP id k57so2779687rnd.13 for ; Wed, 17 Dec 2008 03:23:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=YLKapKeMNAqKY35C42+8cIGW5AKgM06fyvPeDYsWTPs=; b=wMeB9wXoGVjPe3d83ikGiMahKvLTWv3v9mMmJQRQa3+CiQdw6GpL4IuwWVrjxbCy4/ 9ClgV4oCE187sLF92iT7ZTbRDdqyvg9fBnqi3rAf14wWkEC9CKBGhNfF7DcVtzmFcv8k BPZ5GsNkfPXPANLZgwvnu6qiSvOG2TaoYYvfc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=oi84/ug9EannSK0aDCR8JulWovG1NZjk8MLebt8/AfKDUOu6OgvYed2nbynBC45xsd bSfbPxOovO5fRfIDyHXBr5huYJZFCxsvusksvLPBCrKsHParvbR8GiByzzmStLn23Svs Yz5jgyOpmPd7CgDltAUjKbkGeU341f/kuwzxE= Received: by 10.150.52.2 with SMTP id z2mr1210612ybz.72.1229513034143; Wed, 17 Dec 2008 03:23:54 -0800 (PST) Received: from ?9.123.233.47? ([220.248.0.145]) by mx.google.com with ESMTPS id k49sm1940744rnd.5.2008.12.17.03.23.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 17 Dec 2008 03:23:53 -0800 (PST) Message-ID: <4948E141.3020907@gmail.com> Date: Wed, 17 Dec 2008 19:23:45 +0800 From: Regis User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: dev@harmony.apache.org Subject: Re: svn commit: r727062 - in /harmony/enhanced/classlib/trunk/modules/luni/src/main: java/java/net/ java/org/apache/harmony/luni/net/ java/org/apache/harmony/luni/platform/ native/luni/shared/ native/luni/unix/ References: <20081216150656.E300523888A0@eris.apache.org> <4948D7DB.8010604@gmail.com> <4948DAE2.2000608@gmail.com> In-Reply-To: <4948DAE2.2000608@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I rebuild the native code, it works fine. Thanks. Tim Ellison wrote: > Regis wrote: >> I found this commit cause luni test crash on my window32 machine, and >> the core dump show: > > Have you updated the native code and rebuilt it too? > > It looks like your Java is out of sync with the natives. > >>> hyluni.dll!netGetJavaNetInetAddressValue(const JNINativeInterface_ >> * * env=0x015b8600, _jobject * anInetAddress=0x00000000, unsigned char * >> buffer=0x0013f724, unsigned int * length=0x0013f7c4) Line 675 + 0x3f C >> hyluni.dll!Java_org_apache_harmony_luni_platform_OSNetworkSystem_bind(const >> JNINativeInterface_ * * env=0x015b8600, _jobject * thiz=0x021feb30, >> _jobject * fileDescriptor=0x021feb2c, int localPort=35646248, _jobject * >> inetAddress=0x00000000) Line 648 + 0x18 C > > I reversed the order of the int localPort and jobject inetAddress in my > commit, so you need to run with that change too. > > Regards, > Tim > >> Did anyone also see this? > -- Best Regards, Regis.