You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Ivanov (JIRA)" <ji...@apache.org> on 2007/01/10 12:44:27 UTC

[jira] Created: (HARMONY-2962) [classlib][net] org/apache/harmony/luni/tests/java/net/InetAddressTest.java intermittently hangs up

[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
            Reporter: Vladimir Ivanov
            Priority: Minor


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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2962) [classlib][net] org/apache/harmony/luni/tests/java/net/InetAddressTest.java intermittently hangs up

Posted by "Vladimir Ivanov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-2962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Ivanov updated HARMONY-2962:
-------------------------------------

    Attachment: exclude.patch

> [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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2962) [classlib][net] org/apache/harmony/luni/tests/java/net/InetAddressTest.java intermittently hangs up

Posted by "Vladimir Ivanov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476561 ] 

Vladimir Ivanov commented on HARMONY-2962:
------------------------------------------

Today I also can't reproduce it on the box mentioned above, build svn = r512635, (Feb 28 2007), Linux/ia32/gcc 3.3.3, debug build. And even can't observe 5 minutes delay.
Seems it may be closed as fixed and reopen if this issue rises again.



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


[jira] Commented: (HARMONY-2962) [classlib][net] org/apache/harmony/luni/tests/java/net/InetAddressTest.java intermittently hangs up

Posted by "Mikhail Markov (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (HARMONY-2962) [classlib][net] org/apache/harmony/luni/tests/java/net/InetAddressTest.java intermittently hangs up

Posted by "Mikhail Markov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468961 ] 

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

I think adding synchronization to InetAddress.isReachableByMultiThread() method will resolve the issue described in this JIRA.
See the patch for HARMONY-2973.

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


[jira] Closed: (HARMONY-2962) [classlib][net] org/apache/harmony/luni/tests/java/net/InetAddressTest.java intermittently hangs up

Posted by "Vladimir Ivanov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-2962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Ivanov closed HARMONY-2962.
------------------------------------

    Resolution: Cannot Reproduce

Seems, was fixed.

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


[jira] Commented: (HARMONY-2962) [classlib][net] org/apache/harmony/luni/tests/java/net/InetAddressTest.java intermittently hangs up

Posted by "Vladimir Ivanov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470823 ] 

Vladimir Ivanov commented on HARMONY-2962:
------------------------------------------

This test hangs up for me on the:
vivanov1@nstdrlel5:/export/users/viv/trunk/cc/projects/classlib/trunk> ../../drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/java -version
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
java version "1.5.0" 
pre-alpha : not complete or compatible
svn = r504432, (Feb  7 2007), Linux/ia32/gcc 3.3.3, debug build
http://incubator.apache.org/harmony

Execution log:
....
1
10
..F.E...The stack trace of the 0x8982e00 java thread:
 
The stack trace of the 0x8978db8 java thread:
 
The stack trace of the 0x88f3710 java thread:
  [0x88f3710] 0x52bab41a(m): java/net/Inet4Address.<init>([B)V
  [0x88f3710] 0x52bb5172(m): java/net/InetAddress.createHostNameFromIPAddress(Ljava/lang/String;)Ljava/net/InetAddress;
  [0x88f3710] 0x52c1c8d8(m): java/net/InetAddress.getByName(Ljava/lang/String;)Ljava/net/InetAddress;
  [0x88f3710] 0x5297cbed(m): org/apache/harmony/luni/tests/java/net/InetAddressTest$threadsafeTestThread.run()V
  [0x88f3710] 0x52968de8(m): java/lang/Thread.runImpl()V
 
The stack trace of the 0x88ff990 java thread:
  [0x88ff990] 0x52960797(m): java/security/AccessController.getContext()Ljava/security/AccessControlContext;
  [0x88ff990] 0x52966d7a(m): java/lang/Thread.<init>(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;J)V
  [0x88ff990] 0x529667ca(m): java/lang/Thread.<init>(Ljava/lang/ThreadGroup;Ljava/lang/String;)V
  [0x88ff990] 0x52966657(m): java/lang/FinalizerThread.<init>(Z)V
  [0x88ff990] 0x52c12574(m): java/lang/FinalizerThread.spawnBalanceThreads()V
  [0x88ff990] 0x52c1224c(m): java/lang/FinalizerThread.startFinalization(Z)V
  [0x88ff990] 0x52bb0a6a(m): java/net/InetAddress.getByAddressInternal(Ljava/lang/String;[BI)Ljava/net/InetAddress;
  [0x88ff990] 0x52bb09bc(m): java/net/InetAddress.getByAddress(Ljava/lang/String;[B)Ljava/net/InetAddress;
  [0x88ff990] 0x40b02a21(n): java/net/InetAddress.getHostByAddrImpl([B)Ljava/net/InetAddress;
  [0x88ff990] 0x52c0c11d(m): java/net/InetAddress.getHostName()Ljava/lang/String;
  [0x88ff990] 0x5297cc15(m): org/apache/harmony/luni/tests/java/net/InetAddressTest$threadsafeTestThread.run()V
  [0x88ff990] 0x52968de8(m): java/lang/Thread.runImpl()V
 
The stack trace of the 0x531004d0 java thread:
  [0x531004d0] 0x52baeecb(m): java/net/InetAddress.lookupHostByName(Ljava/lang/String;)Ljava/net/InetAddress;
  [0x531004d0] 0x52c1c8c4(m): java/net/InetAddress.getByName(Ljava/lang/String;)Ljava/net/InetAddress;
  [0x531004d0] 0x5297cbed(m): org/apache/harmony/luni/tests/java/net/InetAddressTest$threadsafeTestThread.run()V
  [0x531004d0] 0x52968de8(m): java/lang/Thread.runImpl()V
 
The stack trace of the 0x88ef700 java thread:
  [0x88ef700] 0x51ddad6a(m): java/lang/Object.equals(Ljava/lang/Object;)Z
  [0x88ef700] 0x52967774(m): java/util/WeakHashMap.get(Ljava/lang/Object;)Ljava/lang/Object;
  [0x88ef700] 0x51dc2cef(m): java/security/AccessController.doPrivilegedImpl(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
  [0x88ef700] 0x51dc2af9(m): java/security/AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
  [0x88ef700] 0x52bb0579(m): java/net/InetAddress.preferIPv6Addresses()Z
  [0x88ef700] 0x52baf398(m): java/net/InetAddress.lookupHostByName(Ljava/lang/String;)Ljava/net/InetAddress;
  [0x88ef700] 0x52c1c8c4(m): java/net/InetAddress.getByName(Ljava/lang/String;)Ljava/net/InetAddress;
  [0x88ef700] 0x5297cbed(m): org/apache/harmony/luni/tests/java/net/InetAddressTest$threadsafeTestThread.run()V
  [0x88ef700] 0x52968de8(m): java/lang/Thread.runImpl()V
 
The stack trace of the 0x86f5eb0 java thread:
  [0x86f5eb0] (nil)(n): java/lang/VMThreadManager.wait(Ljava/lang/Object;JI)I
  [0x86f5eb0] 0x5296897b(m): java/lang/Object.wait()V
  [0x86f5eb0] 0x5296a31c(m): java/lang/FinalizerThread.waitNewTask()V
  [0x86f5eb0] 0x52969652(m): java/lang/FinalizerThread.run()V
  [0x86f5eb0] 0x52968de8(m): java/lang/Thread.runImpl()V
 
The stack trace of the 0x80bfc70 java thread:
  [0x80bfc70] (nil)(n): java/lang/VMThreadManager.wait(Ljava/lang/Object;JI)I
  [0x80bfc70] 0x5296897b(m): java/lang/Object.wait()V
  [0x80bfc70] 0x52c0f39e(m): java/lang/Thread.join()V
  [0x80bfc70] 0x5297c247(m): org/apache/harmony/luni/tests/java/net/InetAddressTest.test_getHostName()V
  [0x80bfc70] 0x40b02a21(n): java/lang/reflect/VMReflection.invokeMethod(JLjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
  [0x80bfc70] 0x52ba9d39(m): java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
  [0x80bfc70] 0x52977157(m): junit/framework/TestCase.runTest()V
  [0x80bfc70] 0x52976bec(m): junit/framework/TestCase.runBare()V
  [0x80bfc70] 0x52976b0b(m): junit/framework/TestResult$1.protect()V
  [0x80bfc70] 0x529769dd(m): junit/framework/TestResult.runProtected(Ljunit/framework/Test;Ljunit/framework/Protectable;)V
  [0x80bfc70] 0x52976157(m): junit/framework/TestResult.run(Ljunit/framework/TestCase;)V
  [0x80bfc70] 0x52975ff6(m): junit/framework/TestCase.run(Ljunit/framework/TestResult;)V
  [0x80bfc70] 0x52975f3c(m): junit/framework/TestSuite.runTest(Ljunit/framework/Test;Ljunit/framework/TestResult;)V
  [0x80bfc70] 0x52975c9a(m): junit/framework/TestSuite.run(Ljunit/framework/TestResult;)V
  [0x80bfc70] 0x529756de(m): junit/textui/TestRunner.doRun(Ljunit/framework/Test;Z)Ljunit/framework/TestResult;
  [0x80bfc70] 0x52971df6(m): junit/textui/TestRunner.start([Ljava/lang/String;)Ljunit/framework/TestResult;
  [0x80bfc70] 0x52970eac(m): junit/textui/TestRunner.main([Ljava/lang/String;)V
 


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


[jira] Commented: (HARMONY-2962) [classlib][net] org/apache/harmony/luni/tests/java/net/InetAddressTest.java intermittently hangs up

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470590 ] 

Tim Ellison commented on HARMONY-2962:
--------------------------------------

FYI  HARMONY-2973 has been resolved in repository revision r504147 onwards.
Please monitor this issue and let me know if it has been fixed by that patch.


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


[jira] Commented: (HARMONY-2962) [classlib][net] org/apache/harmony/luni/tests/java/net/InetAddressTest.java intermittently hangs up

Posted by "Vladimir Ivanov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465394 ] 

Vladimir Ivanov commented on HARMONY-2962:
------------------------------------------

The patch to exclude this test was added (note, this issue is reproducible on winxp too).

> [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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2962) [classlib][net] org/apache/harmony/luni/tests/java/net/InetAddressTest.java intermittently hangs up

Posted by "Mikhail Markov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476929 ] 

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

Agree. Could you please close this issue? Thanks!

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