Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 42889 invoked from network); 14 Aug 2009 20:43:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Aug 2009 20:43:34 -0000 Received: (qmail 28613 invoked by uid 500); 14 Aug 2009 20:43:40 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 28539 invoked by uid 500); 14 Aug 2009 20:43:40 -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 28521 invoked by uid 99); 14 Aug 2009 20:43:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Aug 2009 20:43:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Aug 2009 20:43:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E63F1234C045 for ; Fri, 14 Aug 2009 13:43:14 -0700 (PDT) Message-ID: <1999911443.1250282594941.JavaMail.jira@brutus> Date: Fri, 14 Aug 2009 13:43:14 -0700 (PDT) From: "Catherine Hope (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-6309) [classlib][luni] glibc from java.net.NetworkInterface.getNetworkInterfacesImpl() (Java 6 only) In-Reply-To: <260619293.1250280914833.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-6309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743428#action_12743428 ] Catherine Hope commented on HARMONY-6309: ----------------------------------------- Fix just for Java 6 branch. Also I haven't added a testcase, as the original testcase will recreate the problem, if run on a machine that has multiple aliases for the same network adapter. -- Catherine Hope Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU > [classlib][luni] glibc from java.net.NetworkInterface.getNetworkInterfacesImpl() (Java 6 only) > ---------------------------------------------------------------------------------------------- > > Key: HARMONY-6309 > URL: https://issues.apache.org/jira/browse/HARMONY-6309 > Project: Harmony > Issue Type: Bug > Components: Classlib > Environment: All unix environments > Reporter: Catherine Hope > Attachments: 6309-patch.txt > > > glibc occurring calling java.net.NetworkInterface.getNetworkInterfacesImpl() on a unix platform that has multiple aliases for the same adapter. The org.apache.harmony.luni.tests.java.net.unix.UnixNetworkInterfaceTest found the problem when run on a platform set up in this way. > *** glibc detected *** /home/vmfarm/chope/jdk/jre/bin/java: free(): invalid next size (fast): 0x08385c10 *** > ======= Backtrace: ========= > /lib/libc.so.6[0xb7e4fab1] > /lib/libc.so.6(__libc_free+0x84)[0xb7e51184] > /lib/libc.so.6(fclose+0x152)[0xb7e40de2] > /home/vmfarm/chope/jdk/jre/bin/libhyluni.so(Java_java_net_NetworkInterface_getNetworkInterfacesImpl+0xf7f)[0x96887887] > /home/vmfarm/chope/jdk/jre/bin/default/libj9vm26.so[0xb7bc3a73] > /home/vmfarm/chope/jdk/jre/bin/default/libj9vm26.so[0xb7bbe345] > /home/vmfarm/chope/jdk/jre/bin/default/libj9vm26.so[0xb7bc02f5] > /home/vmfarm/chope/jdk/jre/bin/default/libj9prt26.so[0xb7c4fe74] > /home/vmfarm/chope/jdk/jre/bin/default/libj9vm26.so[0xb7bbe577] > /home/vmfarm/chope/jdk/jre/bin/default/libj9vm26.so[0xb7bbe9a3] > /home/vmfarm/chope/jdk/jre/bin/default/libj9vm26.so[0xb7bbd7a5] > /home/vmfarm/chope/jdk/jre/bin/java[0x804b3a1] > /home/vmfarm/chope/jdk/jre/bin/java[0x804a057] > /home/vmfarm/chope/jdk/jre/bin/java[0x80494f5] > /home/vmfarm/chope/jdk/jre/bin/java[0x804bd2b] > /lib/libc.so.6(__libc_start_main+0xdc)[0xb7e0189c] > /home/vmfarm/chope/jdk/jre/bin/java[0x8048b01] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.