harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Markov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2962) [classlib][net] org/apache/harmony/luni/tests/java/net/InetAddressTest.java intermittently hangs up
Date Tue, 27 Feb 2007 19:54:06 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-2962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476344
] 

Mikhail Markov commented on HARMONY-2962:
-----------------------------------------

Vladimir,
I could not reproduce the issue on my SLES 9 on 2x Xeon (for several hundreds of iterations).
I do confirm that some iteration requires up to 5 minutes to finish, but they always pass
to the finish without hanging.

Perhaps you waited too little before getting the dump?
(As i'm not quite understand how one of threads could wait on java/net/Inet4Address.<init>([B)V
because according to sources it just initialize fields without other complex operations).


> [classlib][net] org/apache/harmony/luni/tests/java/net/InetAddressTest.java intermittently
hangs up
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2962
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2962
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Vladimir Ivanov
>            Priority: Minor
>         Attachments: exclude.patch
>
>
> harmony unit test org/apache/harmony/luni/tests/java/net/InetAddressTest.java intermittently
hangs up on SUSE 9 (2.6.5-7.191-bigsmp) 2 CPU box.
> Note, it may be drlvm problem while I can't reproduce it over IBMVM.
> run script:
> ------------------
> #!/bin/sh
>  
> A=0
> while [ "$A" -lt "100" ]; do
>     drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/java -cp modules/luni/bin/test:depends/jars/junit_3.8.2/junit.jar:build/test_support
junit.textui.TestRunner org.apache.harmony.luni.tests.java.net.InetAddressTest
>     echo $?
>     A=`expr $A + 1`
>     echo $A
> done
> ---------------
> execution log (and Ctrl+'\' after ~5 minutes of hangs up):
> <snip>
> 1
> 22
> ..F.E...........The stack trace of the 0x8811b30 java thread:
>  
> The stack trace of the 0x86f58c8 java thread:
>   [0x86f58c8] 0x40b1f25d(n): java/lang/FinalizerThread.doFinalization(I)I
>   [0x86f58c8] 0x52b662cf(m): java/lang/FinalizerThread.run()V
>   [0x86f58c8] 0x52953f88(m): java/lang/Thread.runImpl()V
>  
> The stack trace of the 0x80bf9c8 java thread:
>   [0x80bf9c8] (nil)(n): java/lang/VMThreadManager.wait(Ljava/lang/Object;JI)I
>   [0x80bf9c8] 0x52953cfb(m): java/lang/Object.wait()V
>   [0x80bf9c8] 0x52e6fa6b(m): java/net/InetAddress.isReachableByMultiThread(Ljava/net/NetworkInterface;IIZ)Z
>   [0x80bf9c8] 0x52e71051(m): java/net/InetAddress.isReachableByTCPUseMultiThread(Ljava/net/NetworkInterface;II)Z
>   [0x80bf9c8] 0x52e62740(m): java/net/InetAddress.isReachable(Ljava/net/NetworkInterface;II)Z
>   [0x80bf9c8] 0x52963964(m): org/apache/harmony/luni/tests/java/net/InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII()V
>   [0x80bf9c8] 0x40b1f25d(n): java/lang/reflect/VMReflection.invokeMethod(JLjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
>   [0x80bf9c8] 0x52b8f4b0(m): java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
>   [0x80bf9c8] 0x5295c137(m): junit/framework/TestCase.runTest()V
>   [0x80bf9c8] 0x5295bbc6(m): junit/framework/TestCase.runBare()V
>   [0x80bf9c8] 0x5295baf8(m): junit/framework/TestResult$1.protect()V
>   [0x80bf9c8] 0x5295b9cd(m): junit/framework/TestResult.runProtected(Ljunit/framework/Test;Ljunit/framework/Protectable;)V
>   [0x80bf9c8] 0x5295b147(m): junit/framework/TestResult.run(Ljunit/framework/TestCase;)V
>   [0x80bf9c8] 0x5295afe6(m): junit/framework/TestCase.run(Ljunit/framework/TestResult;)V
>   [0x80bf9c8] 0x5295af2c(m): junit/framework/TestSuite.runTest(Ljunit/framework/Test;Ljunit/framework/TestResult;)V
>   [0x80bf9c8] 0x5295ac94(m): junit/framework/TestSuite.run(Ljunit/framework/TestResult;)V
>   [0x80bf9c8] 0x5295a6de(m): junit/textui/TestRunner.doRun(Ljunit/framework/Test;Z)Ljunit/framework/TestResult;
>   [0x80bf9c8] 0x52956df3(m): junit/textui/TestRunner.start([Ljava/lang/String;)Ljunit/framework/TestResult;
>   [0x80bf9c8] 0x52955eac(m): junit/textui/TestRunner.main([Ljava/lang/String;)V

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