harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Catherine Hope (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6309) [classlib][luni] glibc from java.net.NetworkInterface.getNetworkInterfacesImpl() (Java 6 only)
Date Fri, 14 Aug 2009 20:43:14 GMT

    [ 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.


Mime
View raw message