You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ilya Leviev (JIRA)" <ji...@apache.org> on 2008/01/22 10:00:58 UTC

[jira] Created: (HARMONY-5408) [drlvm][jdwp] tests stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD hungs

[drlvm][jdwp]  tests stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD hungs 
-------------------------------------------------------------------------------------------

                 Key: HARMONY-5408
                 URL: https://issues.apache.org/jira/browse/HARMONY-5408
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: Windows x86_32, Linux x86_32, Linux x86_64
            Reporter: Ilya Leviev


tests stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD hungs  starting with r612140.

stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD001
stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD003
stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD005
stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD007
stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD009
stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD011 


log:

TestHarness:ExecUnit	runProc(): Timeout!!!. The test hung (not finished in 180 second).

java version "1.5.0" 
pre-alpha : not complete or compatible
svn = r613602, (Jan 21 2008), Windows/ia32/msvc 1310, release build
http://harmony.apache.org

11:54:04| Test: class org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD003.ThreadTest003
		test case(s) to run 1
11:54:04| Launching as a server listening on: NSTDRLXW5:2851
11:54:04| Launching: C:\cc\cc-suites\build\checkouts\snapshot\hdk\jdk\jre/bin/java -cp "C:/cc/cc-suites/build/classes/stress/classes;C:/cc/cc-suites/build/results/stress/temp;C:\cc\cc-suites\build\classes\stress\classes;C:\cc\cc-suites\build\classes\stress\lib;C:\cc\cc-suites\build\classes\stress\tools\th.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\junit-4.3.1.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit\p-unit-0.12.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\p-unit-extension-0.12.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\itext-2.0.2.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\jcommon-1.0.9.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\jfreechart-1.0.5.jar" -agentlib:jdwp=transport=dt_socket,address=NSTDRLXW5:2851,server=n -Dvm.assert_dialog=false -Djpda.settings.verbose=true org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD003.ThreadDebuggee003
11:54:05| Start redirectors
11:54:05| Accepting connection
11:54:05| Redirector started: STDOUT
11:54:05| Redirector started: STDERR
11:54:05| Established connection
11:54:05| Launched debuggee VM process and established connection
11:54:05| Received VM_START event
11:54:05| Adjusted VM-dependent type lengths
11:54:05| ====&gt; testStartTimeMlsec = 1200981244921
11:54:05| ====&gt; testTimeout = 300000
11:54:07| ==&gt; testThread003: START (Tue Jan 22 11:54:05 GMT+06:00 2008)...
11:54:07| ==&gt; Wait for debuggee class load...
11:54:07| ==&gt; Debuggee class load - OK.
11:54:07| =========&gt; DEBUG info: setupThreadSignalWithWait(): threadSignalWithWaitRequestID = 2
11:54:07| =========&gt; DEBUG info: Resuming Debuggee: Marker = #1...
11:54:07| 

11:54:07| ==&gt; Wait for debuggee to create and start thread...
11:54:07| =========&gt; DEBUG info: receiving 'SIGNAL_READY_01' Thread Signal from debuggee...
11:54:07| =========&gt; DEBUG info: receiveSignal(): with timeout(mlsecs) = 297282...
11:54:07| --&gt; ThreadDebuggee003: START...
11:54:07| STDERR&gt; 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: Create and start thread for invoke method...
11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: freeMemory (bytes) BEFORE creating thread = 14747648
11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: Created thread is started!
11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: freeMemory (bytes) AFTER creating and starting thread = 14747648
11:54:07| STDERR&gt; 11:54:07| ---------&gt; DEBUG info: ThreadDebuggee003: sendThreadSignalAndWait(SIGNAL_READY_01)
11:54:07| =========&gt; DEBUG info: receiveSignal(): signal = 'READY_01'
11:54:07| =========&gt; DEBUG info: received debuggee Thread Signal = READY_01
11:54:07| ==&gt; Time(mlsecs) of waiting for debuggee to start thread = 329
11:54:07| =========&gt; DEBUG info: waiting for suspend thread by event for ClassType.InvokeMethod command...
11:54:07| =========&gt; DEBUG info: toInvokeMethodThreadID = 2006
11:54:07| ==&gt; Get debuggeeRefTypeID...
11:54:07| =========&gt; DEBUG info: debuggeeRefTypeID = 1000000674
11:54:07| =========&gt; DEBUG info: toInvokeMethodID = 315026120
11:54:07| =========&gt; DEBUG info: Resuming SignalThread: ThreadID = 1162;  Marker = #2...
11:54:08| 

11:54:08| ==&gt; Wait for debuggee to create memory stress...
11:54:08| =========&gt; DEBUG info: receiving 'SIGNAL_READY_02' Thread Signal from debuggee...
11:54:08| =========&gt; DEBUG info: receiveSignal(): with timeout(mlsecs) = 296860...
11:54:08| ---------&gt; DEBUG info: ThreadDebuggee003: After sendThreadSignalAndWait(SIGNAL_READY_01)
11:54:08| --&gt; ThreadDebuggee003: Creating memory stress until OutOfMemory
11:54:08| --&gt; Debuggee: createMemoryStress: freeMemory (bytes) before memory stress = 14714880
11:54:08| STDERR&gt; 11:54:08| STDERR&gt; 11:54:08| STDERR&gt; 11:54:08| STDERR&gt; 11:54:08| --&gt; Debuggee: createMemoryStress: OutOfMemoryError!!!
11:54:08| STDERR&gt; 11:54:08| ---------&gt; DEBUG info: createMemoryStress: OutOfMemoryError on loop step = 32
11:54:08| STDERR&gt; 11:54:08| ---------&gt; DEBUG info: createMemoryStress: expended time(mlsecs) = 766
11:54:08| STDERR&gt; 11:54:08| --&gt; Debuggee: createMemoryStress: freeMemory after creating memory stress = 7330816
11:54:08| STDERR&gt; 11:54:08| ---------&gt; DEBUG info: ThreadDebuggee003: sendThreadSignalAndWait(SIGNAL_READY_02)
11:54:08| =========&gt; DEBUG info: receiveSignal(): signal = 'READY_02'
11:54:08| =========&gt; DEBUG info: received debuggee Thread Signal = READY_02
11:54:08| ==&gt; Time(mlsecs) of waiting for debuggee to create memory stress = 860
11:54:08| 

11:54:08| ==&gt; Send ClassType.InvokeMethod asynchronous commands (100) without waiting for reply...

Apache Harmony Launcher : (c) Copyright 1991, 2007 The Apache Software Foundation or its licensors, as applicable.





-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5408) [drlvm][jdwp] tests stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD hungs

Posted by "Pavel Rebriy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564026#action_12564026 ] 

Pavel Rebriy commented on HARMONY-5408:
---------------------------------------

The problem is with RawMonitorWait function - JDWP agent doesn't expect changing Java thread state during RawMonitorWait.

> [drlvm][jdwp]  tests stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD hungs 
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5408
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5408
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows x86_32, Linux x86_32, Linux x86_64
>            Reporter: Ilya Leviev
>
> tests stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD hungs  starting with r612140.
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD001
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD003
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD005
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD007
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD009
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD011 
> log:
> TestHarness:ExecUnit	runProc(): Timeout!!!. The test hung (not finished in 180 second).
> java version "1.5.0" 
> pre-alpha : not complete or compatible
> svn = r613602, (Jan 21 2008), Windows/ia32/msvc 1310, release build
> http://harmony.apache.org
> 11:54:04| Test: class org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD003.ThreadTest003
> 		test case(s) to run 1
> 11:54:04| Launching as a server listening on: NSTDRLXW5:2851
> 11:54:04| Launching: C:\cc\cc-suites\build\checkouts\snapshot\hdk\jdk\jre/bin/java -cp "C:/cc/cc-suites/build/classes/stress/classes;C:/cc/cc-suites/build/results/stress/temp;C:\cc\cc-suites\build\classes\stress\classes;C:\cc\cc-suites\build\classes\stress\lib;C:\cc\cc-suites\build\classes\stress\tools\th.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\junit-4.3.1.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit\p-unit-0.12.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\p-unit-extension-0.12.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\itext-2.0.2.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\jcommon-1.0.9.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\jfreechart-1.0.5.jar" -agentlib:jdwp=transport=dt_socket,address=NSTDRLXW5:2851,server=n -Dvm.assert_dialog=false -Djpda.settings.verbose=true org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD003.ThreadDebuggee003
> 11:54:05| Start redirectors
> 11:54:05| Accepting connection
> 11:54:05| Redirector started: STDOUT
> 11:54:05| Redirector started: STDERR
> 11:54:05| Established connection
> 11:54:05| Launched debuggee VM process and established connection
> 11:54:05| Received VM_START event
> 11:54:05| Adjusted VM-dependent type lengths
> 11:54:05| ====&gt; testStartTimeMlsec = 1200981244921
> 11:54:05| ====&gt; testTimeout = 300000
> 11:54:07| ==&gt; testThread003: START (Tue Jan 22 11:54:05 GMT+06:00 2008)...
> 11:54:07| ==&gt; Wait for debuggee class load...
> 11:54:07| ==&gt; Debuggee class load - OK.
> 11:54:07| =========&gt; DEBUG info: setupThreadSignalWithWait(): threadSignalWithWaitRequestID = 2
> 11:54:07| =========&gt; DEBUG info: Resuming Debuggee: Marker = #1...
> 11:54:07| 
> 11:54:07| ==&gt; Wait for debuggee to create and start thread...
> 11:54:07| =========&gt; DEBUG info: receiving 'SIGNAL_READY_01' Thread Signal from debuggee...
> 11:54:07| =========&gt; DEBUG info: receiveSignal(): with timeout(mlsecs) = 297282...
> 11:54:07| --&gt; ThreadDebuggee003: START...
> 11:54:07| STDERR&gt; 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: Create and start thread for invoke method...
> 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: freeMemory (bytes) BEFORE creating thread = 14747648
> 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: Created thread is started!
> 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: freeMemory (bytes) AFTER creating and starting thread = 14747648
> 11:54:07| STDERR&gt; 11:54:07| ---------&gt; DEBUG info: ThreadDebuggee003: sendThreadSignalAndWait(SIGNAL_READY_01)
> 11:54:07| =========&gt; DEBUG info: receiveSignal(): signal = 'READY_01'
> 11:54:07| =========&gt; DEBUG info: received debuggee Thread Signal = READY_01
> 11:54:07| ==&gt; Time(mlsecs) of waiting for debuggee to start thread = 329
> 11:54:07| =========&gt; DEBUG info: waiting for suspend thread by event for ClassType.InvokeMethod command...
> 11:54:07| =========&gt; DEBUG info: toInvokeMethodThreadID = 2006
> 11:54:07| ==&gt; Get debuggeeRefTypeID...
> 11:54:07| =========&gt; DEBUG info: debuggeeRefTypeID = 1000000674
> 11:54:07| =========&gt; DEBUG info: toInvokeMethodID = 315026120
> 11:54:07| =========&gt; DEBUG info: Resuming SignalThread: ThreadID = 1162;  Marker = #2...
> 11:54:08| 
> 11:54:08| ==&gt; Wait for debuggee to create memory stress...
> 11:54:08| =========&gt; DEBUG info: receiving 'SIGNAL_READY_02' Thread Signal from debuggee...
> 11:54:08| =========&gt; DEBUG info: receiveSignal(): with timeout(mlsecs) = 296860...
> 11:54:08| ---------&gt; DEBUG info: ThreadDebuggee003: After sendThreadSignalAndWait(SIGNAL_READY_01)
> 11:54:08| --&gt; ThreadDebuggee003: Creating memory stress until OutOfMemory
> 11:54:08| --&gt; Debuggee: createMemoryStress: freeMemory (bytes) before memory stress = 14714880
> 11:54:08| STDERR&gt; 11:54:08| STDERR&gt; 11:54:08| STDERR&gt; 11:54:08| STDERR&gt; 11:54:08| --&gt; Debuggee: createMemoryStress: OutOfMemoryError!!!
> 11:54:08| STDERR&gt; 11:54:08| ---------&gt; DEBUG info: createMemoryStress: OutOfMemoryError on loop step = 32
> 11:54:08| STDERR&gt; 11:54:08| ---------&gt; DEBUG info: createMemoryStress: expended time(mlsecs) = 766
> 11:54:08| STDERR&gt; 11:54:08| --&gt; Debuggee: createMemoryStress: freeMemory after creating memory stress = 7330816
> 11:54:08| STDERR&gt; 11:54:08| ---------&gt; DEBUG info: ThreadDebuggee003: sendThreadSignalAndWait(SIGNAL_READY_02)
> 11:54:08| =========&gt; DEBUG info: receiveSignal(): signal = 'READY_02'
> 11:54:08| =========&gt; DEBUG info: received debuggee Thread Signal = READY_02
> 11:54:08| ==&gt; Time(mlsecs) of waiting for debuggee to create memory stress = 860
> 11:54:08| 
> 11:54:08| ==&gt; Send ClassType.InvokeMethod asynchronous commands (100) without waiting for reply...
> Apache Harmony Launcher : (c) Copyright 1991, 2007 The Apache Software Foundation or its licensors, as applicable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-5408) [drlvm][jdwp] tests stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD hungs

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

Gregory Shimansky resolved HARMONY-5408.
----------------------------------------

    Resolution: Fixed
      Assignee: Gregory Shimansky

Patch is applied at 616837. Please check that the bug is fixed for you.

> [drlvm][jdwp]  tests stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD hungs 
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5408
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5408
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows x86_32, Linux x86_32, Linux x86_64
>            Reporter: Ilya Leviev
>            Assignee: Gregory Shimansky
>         Attachments: H5408.patch
>
>
> tests stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD hungs  starting with r612140.
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD001
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD003
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD005
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD007
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD009
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD011 
> log:
> TestHarness:ExecUnit	runProc(): Timeout!!!. The test hung (not finished in 180 second).
> java version "1.5.0" 
> pre-alpha : not complete or compatible
> svn = r613602, (Jan 21 2008), Windows/ia32/msvc 1310, release build
> http://harmony.apache.org
> 11:54:04| Test: class org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD003.ThreadTest003
> 		test case(s) to run 1
> 11:54:04| Launching as a server listening on: NSTDRLXW5:2851
> 11:54:04| Launching: C:\cc\cc-suites\build\checkouts\snapshot\hdk\jdk\jre/bin/java -cp "C:/cc/cc-suites/build/classes/stress/classes;C:/cc/cc-suites/build/results/stress/temp;C:\cc\cc-suites\build\classes\stress\classes;C:\cc\cc-suites\build\classes\stress\lib;C:\cc\cc-suites\build\classes\stress\tools\th.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\junit-4.3.1.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit\p-unit-0.12.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\p-unit-extension-0.12.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\itext-2.0.2.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\jcommon-1.0.9.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\jfreechart-1.0.5.jar" -agentlib:jdwp=transport=dt_socket,address=NSTDRLXW5:2851,server=n -Dvm.assert_dialog=false -Djpda.settings.verbose=true org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD003.ThreadDebuggee003
> 11:54:05| Start redirectors
> 11:54:05| Accepting connection
> 11:54:05| Redirector started: STDOUT
> 11:54:05| Redirector started: STDERR
> 11:54:05| Established connection
> 11:54:05| Launched debuggee VM process and established connection
> 11:54:05| Received VM_START event
> 11:54:05| Adjusted VM-dependent type lengths
> 11:54:05| ====&gt; testStartTimeMlsec = 1200981244921
> 11:54:05| ====&gt; testTimeout = 300000
> 11:54:07| ==&gt; testThread003: START (Tue Jan 22 11:54:05 GMT+06:00 2008)...
> 11:54:07| ==&gt; Wait for debuggee class load...
> 11:54:07| ==&gt; Debuggee class load - OK.
> 11:54:07| =========&gt; DEBUG info: setupThreadSignalWithWait(): threadSignalWithWaitRequestID = 2
> 11:54:07| =========&gt; DEBUG info: Resuming Debuggee: Marker = #1...
> 11:54:07| 
> 11:54:07| ==&gt; Wait for debuggee to create and start thread...
> 11:54:07| =========&gt; DEBUG info: receiving 'SIGNAL_READY_01' Thread Signal from debuggee...
> 11:54:07| =========&gt; DEBUG info: receiveSignal(): with timeout(mlsecs) = 297282...
> 11:54:07| --&gt; ThreadDebuggee003: START...
> 11:54:07| STDERR&gt; 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: Create and start thread for invoke method...
> 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: freeMemory (bytes) BEFORE creating thread = 14747648
> 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: Created thread is started!
> 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: freeMemory (bytes) AFTER creating and starting thread = 14747648
> 11:54:07| STDERR&gt; 11:54:07| ---------&gt; DEBUG info: ThreadDebuggee003: sendThreadSignalAndWait(SIGNAL_READY_01)
> 11:54:07| =========&gt; DEBUG info: receiveSignal(): signal = 'READY_01'
> 11:54:07| =========&gt; DEBUG info: received debuggee Thread Signal = READY_01
> 11:54:07| ==&gt; Time(mlsecs) of waiting for debuggee to start thread = 329
> 11:54:07| =========&gt; DEBUG info: waiting for suspend thread by event for ClassType.InvokeMethod command...
> 11:54:07| =========&gt; DEBUG info: toInvokeMethodThreadID = 2006
> 11:54:07| ==&gt; Get debuggeeRefTypeID...
> 11:54:07| =========&gt; DEBUG info: debuggeeRefTypeID = 1000000674
> 11:54:07| =========&gt; DEBUG info: toInvokeMethodID = 315026120
> 11:54:07| =========&gt; DEBUG info: Resuming SignalThread: ThreadID = 1162;  Marker = #2...
> 11:54:08| 
> 11:54:08| ==&gt; Wait for debuggee to create memory stress...
> 11:54:08| =========&gt; DEBUG info: receiving 'SIGNAL_READY_02' Thread Signal from debuggee...
> 11:54:08| =========&gt; DEBUG info: receiveSignal(): with timeout(mlsecs) = 296860...
> 11:54:08| ---------&gt; DEBUG info: ThreadDebuggee003: After sendThreadSignalAndWait(SIGNAL_READY_01)
> 11:54:08| --&gt; ThreadDebuggee003: Creating memory stress until OutOfMemory
> 11:54:08| --&gt; Debuggee: createMemoryStress: freeMemory (bytes) before memory stress = 14714880
> 11:54:08| STDERR&gt; 11:54:08| STDERR&gt; 11:54:08| STDERR&gt; 11:54:08| STDERR&gt; 11:54:08| --&gt; Debuggee: createMemoryStress: OutOfMemoryError!!!
> 11:54:08| STDERR&gt; 11:54:08| ---------&gt; DEBUG info: createMemoryStress: OutOfMemoryError on loop step = 32
> 11:54:08| STDERR&gt; 11:54:08| ---------&gt; DEBUG info: createMemoryStress: expended time(mlsecs) = 766
> 11:54:08| STDERR&gt; 11:54:08| --&gt; Debuggee: createMemoryStress: freeMemory after creating memory stress = 7330816
> 11:54:08| STDERR&gt; 11:54:08| ---------&gt; DEBUG info: ThreadDebuggee003: sendThreadSignalAndWait(SIGNAL_READY_02)
> 11:54:08| =========&gt; DEBUG info: receiveSignal(): signal = 'READY_02'
> 11:54:08| =========&gt; DEBUG info: received debuggee Thread Signal = READY_02
> 11:54:08| ==&gt; Time(mlsecs) of waiting for debuggee to create memory stress = 860
> 11:54:08| 
> 11:54:08| ==&gt; Send ClassType.InvokeMethod asynchronous commands (100) without waiting for reply...
> Apache Harmony Launcher : (c) Copyright 1991, 2007 The Apache Software Foundation or its licensors, as applicable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5408) [drlvm][jdwp] tests stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD hungs

Posted by "Pavel Rebriy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564025#action_12564025 ] 

Pavel Rebriy commented on HARMONY-5408:
---------------------------------------

Yes, it is a real regression after HARMONY-5352 commit. I'll take a look on it.

> [drlvm][jdwp]  tests stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD hungs 
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5408
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5408
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows x86_32, Linux x86_32, Linux x86_64
>            Reporter: Ilya Leviev
>
> tests stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD hungs  starting with r612140.
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD001
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD003
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD005
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD007
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD009
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD011 
> log:
> TestHarness:ExecUnit	runProc(): Timeout!!!. The test hung (not finished in 180 second).
> java version "1.5.0" 
> pre-alpha : not complete or compatible
> svn = r613602, (Jan 21 2008), Windows/ia32/msvc 1310, release build
> http://harmony.apache.org
> 11:54:04| Test: class org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD003.ThreadTest003
> 		test case(s) to run 1
> 11:54:04| Launching as a server listening on: NSTDRLXW5:2851
> 11:54:04| Launching: C:\cc\cc-suites\build\checkouts\snapshot\hdk\jdk\jre/bin/java -cp "C:/cc/cc-suites/build/classes/stress/classes;C:/cc/cc-suites/build/results/stress/temp;C:\cc\cc-suites\build\classes\stress\classes;C:\cc\cc-suites\build\classes\stress\lib;C:\cc\cc-suites\build\classes\stress\tools\th.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\junit-4.3.1.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit\p-unit-0.12.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\p-unit-extension-0.12.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\itext-2.0.2.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\jcommon-1.0.9.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\jfreechart-1.0.5.jar" -agentlib:jdwp=transport=dt_socket,address=NSTDRLXW5:2851,server=n -Dvm.assert_dialog=false -Djpda.settings.verbose=true org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD003.ThreadDebuggee003
> 11:54:05| Start redirectors
> 11:54:05| Accepting connection
> 11:54:05| Redirector started: STDOUT
> 11:54:05| Redirector started: STDERR
> 11:54:05| Established connection
> 11:54:05| Launched debuggee VM process and established connection
> 11:54:05| Received VM_START event
> 11:54:05| Adjusted VM-dependent type lengths
> 11:54:05| ====&gt; testStartTimeMlsec = 1200981244921
> 11:54:05| ====&gt; testTimeout = 300000
> 11:54:07| ==&gt; testThread003: START (Tue Jan 22 11:54:05 GMT+06:00 2008)...
> 11:54:07| ==&gt; Wait for debuggee class load...
> 11:54:07| ==&gt; Debuggee class load - OK.
> 11:54:07| =========&gt; DEBUG info: setupThreadSignalWithWait(): threadSignalWithWaitRequestID = 2
> 11:54:07| =========&gt; DEBUG info: Resuming Debuggee: Marker = #1...
> 11:54:07| 
> 11:54:07| ==&gt; Wait for debuggee to create and start thread...
> 11:54:07| =========&gt; DEBUG info: receiving 'SIGNAL_READY_01' Thread Signal from debuggee...
> 11:54:07| =========&gt; DEBUG info: receiveSignal(): with timeout(mlsecs) = 297282...
> 11:54:07| --&gt; ThreadDebuggee003: START...
> 11:54:07| STDERR&gt; 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: Create and start thread for invoke method...
> 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: freeMemory (bytes) BEFORE creating thread = 14747648
> 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: Created thread is started!
> 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: freeMemory (bytes) AFTER creating and starting thread = 14747648
> 11:54:07| STDERR&gt; 11:54:07| ---------&gt; DEBUG info: ThreadDebuggee003: sendThreadSignalAndWait(SIGNAL_READY_01)
> 11:54:07| =========&gt; DEBUG info: receiveSignal(): signal = 'READY_01'
> 11:54:07| =========&gt; DEBUG info: received debuggee Thread Signal = READY_01
> 11:54:07| ==&gt; Time(mlsecs) of waiting for debuggee to start thread = 329
> 11:54:07| =========&gt; DEBUG info: waiting for suspend thread by event for ClassType.InvokeMethod command...
> 11:54:07| =========&gt; DEBUG info: toInvokeMethodThreadID = 2006
> 11:54:07| ==&gt; Get debuggeeRefTypeID...
> 11:54:07| =========&gt; DEBUG info: debuggeeRefTypeID = 1000000674
> 11:54:07| =========&gt; DEBUG info: toInvokeMethodID = 315026120
> 11:54:07| =========&gt; DEBUG info: Resuming SignalThread: ThreadID = 1162;  Marker = #2...
> 11:54:08| 
> 11:54:08| ==&gt; Wait for debuggee to create memory stress...
> 11:54:08| =========&gt; DEBUG info: receiving 'SIGNAL_READY_02' Thread Signal from debuggee...
> 11:54:08| =========&gt; DEBUG info: receiveSignal(): with timeout(mlsecs) = 296860...
> 11:54:08| ---------&gt; DEBUG info: ThreadDebuggee003: After sendThreadSignalAndWait(SIGNAL_READY_01)
> 11:54:08| --&gt; ThreadDebuggee003: Creating memory stress until OutOfMemory
> 11:54:08| --&gt; Debuggee: createMemoryStress: freeMemory (bytes) before memory stress = 14714880
> 11:54:08| STDERR&gt; 11:54:08| STDERR&gt; 11:54:08| STDERR&gt; 11:54:08| STDERR&gt; 11:54:08| --&gt; Debuggee: createMemoryStress: OutOfMemoryError!!!
> 11:54:08| STDERR&gt; 11:54:08| ---------&gt; DEBUG info: createMemoryStress: OutOfMemoryError on loop step = 32
> 11:54:08| STDERR&gt; 11:54:08| ---------&gt; DEBUG info: createMemoryStress: expended time(mlsecs) = 766
> 11:54:08| STDERR&gt; 11:54:08| --&gt; Debuggee: createMemoryStress: freeMemory after creating memory stress = 7330816
> 11:54:08| STDERR&gt; 11:54:08| ---------&gt; DEBUG info: ThreadDebuggee003: sendThreadSignalAndWait(SIGNAL_READY_02)
> 11:54:08| =========&gt; DEBUG info: receiveSignal(): signal = 'READY_02'
> 11:54:08| =========&gt; DEBUG info: received debuggee Thread Signal = READY_02
> 11:54:08| ==&gt; Time(mlsecs) of waiting for debuggee to create memory stress = 860
> 11:54:08| 
> 11:54:08| ==&gt; Send ClassType.InvokeMethod asynchronous commands (100) without waiting for reply...
> Apache Harmony Launcher : (c) Copyright 1991, 2007 The Apache Software Foundation or its licensors, as applicable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-5408) [drlvm][jdwp] tests stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD hungs

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

Ilya Leviev closed HARMONY-5408.
--------------------------------


> [drlvm][jdwp]  tests stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD hungs 
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5408
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5408
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows x86_32, Linux x86_32, Linux x86_64
>            Reporter: Ilya Leviev
>            Assignee: Gregory Shimansky
>         Attachments: H5408.patch
>
>
> tests stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD hungs  starting with r612140.
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD001
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD003
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD005
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD007
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD009
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD011 
> log:
> TestHarness:ExecUnit	runProc(): Timeout!!!. The test hung (not finished in 180 second).
> java version "1.5.0" 
> pre-alpha : not complete or compatible
> svn = r613602, (Jan 21 2008), Windows/ia32/msvc 1310, release build
> http://harmony.apache.org
> 11:54:04| Test: class org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD003.ThreadTest003
> 		test case(s) to run 1
> 11:54:04| Launching as a server listening on: NSTDRLXW5:2851
> 11:54:04| Launching: C:\cc\cc-suites\build\checkouts\snapshot\hdk\jdk\jre/bin/java -cp "C:/cc/cc-suites/build/classes/stress/classes;C:/cc/cc-suites/build/results/stress/temp;C:\cc\cc-suites\build\classes\stress\classes;C:\cc\cc-suites\build\classes\stress\lib;C:\cc\cc-suites\build\classes\stress\tools\th.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\junit-4.3.1.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit\p-unit-0.12.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\p-unit-extension-0.12.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\itext-2.0.2.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\jcommon-1.0.9.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\jfreechart-1.0.5.jar" -agentlib:jdwp=transport=dt_socket,address=NSTDRLXW5:2851,server=n -Dvm.assert_dialog=false -Djpda.settings.verbose=true org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD003.ThreadDebuggee003
> 11:54:05| Start redirectors
> 11:54:05| Accepting connection
> 11:54:05| Redirector started: STDOUT
> 11:54:05| Redirector started: STDERR
> 11:54:05| Established connection
> 11:54:05| Launched debuggee VM process and established connection
> 11:54:05| Received VM_START event
> 11:54:05| Adjusted VM-dependent type lengths
> 11:54:05| ====&gt; testStartTimeMlsec = 1200981244921
> 11:54:05| ====&gt; testTimeout = 300000
> 11:54:07| ==&gt; testThread003: START (Tue Jan 22 11:54:05 GMT+06:00 2008)...
> 11:54:07| ==&gt; Wait for debuggee class load...
> 11:54:07| ==&gt; Debuggee class load - OK.
> 11:54:07| =========&gt; DEBUG info: setupThreadSignalWithWait(): threadSignalWithWaitRequestID = 2
> 11:54:07| =========&gt; DEBUG info: Resuming Debuggee: Marker = #1...
> 11:54:07| 
> 11:54:07| ==&gt; Wait for debuggee to create and start thread...
> 11:54:07| =========&gt; DEBUG info: receiving 'SIGNAL_READY_01' Thread Signal from debuggee...
> 11:54:07| =========&gt; DEBUG info: receiveSignal(): with timeout(mlsecs) = 297282...
> 11:54:07| --&gt; ThreadDebuggee003: START...
> 11:54:07| STDERR&gt; 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: Create and start thread for invoke method...
> 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: freeMemory (bytes) BEFORE creating thread = 14747648
> 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: Created thread is started!
> 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: freeMemory (bytes) AFTER creating and starting thread = 14747648
> 11:54:07| STDERR&gt; 11:54:07| ---------&gt; DEBUG info: ThreadDebuggee003: sendThreadSignalAndWait(SIGNAL_READY_01)
> 11:54:07| =========&gt; DEBUG info: receiveSignal(): signal = 'READY_01'
> 11:54:07| =========&gt; DEBUG info: received debuggee Thread Signal = READY_01
> 11:54:07| ==&gt; Time(mlsecs) of waiting for debuggee to start thread = 329
> 11:54:07| =========&gt; DEBUG info: waiting for suspend thread by event for ClassType.InvokeMethod command...
> 11:54:07| =========&gt; DEBUG info: toInvokeMethodThreadID = 2006
> 11:54:07| ==&gt; Get debuggeeRefTypeID...
> 11:54:07| =========&gt; DEBUG info: debuggeeRefTypeID = 1000000674
> 11:54:07| =========&gt; DEBUG info: toInvokeMethodID = 315026120
> 11:54:07| =========&gt; DEBUG info: Resuming SignalThread: ThreadID = 1162;  Marker = #2...
> 11:54:08| 
> 11:54:08| ==&gt; Wait for debuggee to create memory stress...
> 11:54:08| =========&gt; DEBUG info: receiving 'SIGNAL_READY_02' Thread Signal from debuggee...
> 11:54:08| =========&gt; DEBUG info: receiveSignal(): with timeout(mlsecs) = 296860...
> 11:54:08| ---------&gt; DEBUG info: ThreadDebuggee003: After sendThreadSignalAndWait(SIGNAL_READY_01)
> 11:54:08| --&gt; ThreadDebuggee003: Creating memory stress until OutOfMemory
> 11:54:08| --&gt; Debuggee: createMemoryStress: freeMemory (bytes) before memory stress = 14714880
> 11:54:08| STDERR&gt; 11:54:08| STDERR&gt; 11:54:08| STDERR&gt; 11:54:08| STDERR&gt; 11:54:08| --&gt; Debuggee: createMemoryStress: OutOfMemoryError!!!
> 11:54:08| STDERR&gt; 11:54:08| ---------&gt; DEBUG info: createMemoryStress: OutOfMemoryError on loop step = 32
> 11:54:08| STDERR&gt; 11:54:08| ---------&gt; DEBUG info: createMemoryStress: expended time(mlsecs) = 766
> 11:54:08| STDERR&gt; 11:54:08| --&gt; Debuggee: createMemoryStress: freeMemory after creating memory stress = 7330816
> 11:54:08| STDERR&gt; 11:54:08| ---------&gt; DEBUG info: ThreadDebuggee003: sendThreadSignalAndWait(SIGNAL_READY_02)
> 11:54:08| =========&gt; DEBUG info: receiveSignal(): signal = 'READY_02'
> 11:54:08| =========&gt; DEBUG info: received debuggee Thread Signal = READY_02
> 11:54:08| ==&gt; Time(mlsecs) of waiting for debuggee to create memory stress = 860
> 11:54:08| 
> 11:54:08| ==&gt; Send ClassType.InvokeMethod asynchronous commands (100) without waiting for reply...
> Apache Harmony Launcher : (c) Copyright 1991, 2007 The Apache Software Foundation or its licensors, as applicable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5408) [drlvm][jdwp] tests stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD hungs

Posted by "Ilya Leviev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564715#action_12564715 ] 

Ilya Leviev commented on HARMONY-5408:
--------------------------------------

verified at 616841
thanks for the fix


> [drlvm][jdwp]  tests stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD hungs 
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5408
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5408
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows x86_32, Linux x86_32, Linux x86_64
>            Reporter: Ilya Leviev
>            Assignee: Gregory Shimansky
>         Attachments: H5408.patch
>
>
> tests stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD hungs  starting with r612140.
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD001
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD003
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD005
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD007
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD009
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD011 
> log:
> TestHarness:ExecUnit	runProc(): Timeout!!!. The test hung (not finished in 180 second).
> java version "1.5.0" 
> pre-alpha : not complete or compatible
> svn = r613602, (Jan 21 2008), Windows/ia32/msvc 1310, release build
> http://harmony.apache.org
> 11:54:04| Test: class org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD003.ThreadTest003
> 		test case(s) to run 1
> 11:54:04| Launching as a server listening on: NSTDRLXW5:2851
> 11:54:04| Launching: C:\cc\cc-suites\build\checkouts\snapshot\hdk\jdk\jre/bin/java -cp "C:/cc/cc-suites/build/classes/stress/classes;C:/cc/cc-suites/build/results/stress/temp;C:\cc\cc-suites\build\classes\stress\classes;C:\cc\cc-suites\build\classes\stress\lib;C:\cc\cc-suites\build\classes\stress\tools\th.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\junit-4.3.1.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit\p-unit-0.12.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\p-unit-extension-0.12.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\itext-2.0.2.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\jcommon-1.0.9.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\jfreechart-1.0.5.jar" -agentlib:jdwp=transport=dt_socket,address=NSTDRLXW5:2851,server=n -Dvm.assert_dialog=false -Djpda.settings.verbose=true org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD003.ThreadDebuggee003
> 11:54:05| Start redirectors
> 11:54:05| Accepting connection
> 11:54:05| Redirector started: STDOUT
> 11:54:05| Redirector started: STDERR
> 11:54:05| Established connection
> 11:54:05| Launched debuggee VM process and established connection
> 11:54:05| Received VM_START event
> 11:54:05| Adjusted VM-dependent type lengths
> 11:54:05| ====&gt; testStartTimeMlsec = 1200981244921
> 11:54:05| ====&gt; testTimeout = 300000
> 11:54:07| ==&gt; testThread003: START (Tue Jan 22 11:54:05 GMT+06:00 2008)...
> 11:54:07| ==&gt; Wait for debuggee class load...
> 11:54:07| ==&gt; Debuggee class load - OK.
> 11:54:07| =========&gt; DEBUG info: setupThreadSignalWithWait(): threadSignalWithWaitRequestID = 2
> 11:54:07| =========&gt; DEBUG info: Resuming Debuggee: Marker = #1...
> 11:54:07| 
> 11:54:07| ==&gt; Wait for debuggee to create and start thread...
> 11:54:07| =========&gt; DEBUG info: receiving 'SIGNAL_READY_01' Thread Signal from debuggee...
> 11:54:07| =========&gt; DEBUG info: receiveSignal(): with timeout(mlsecs) = 297282...
> 11:54:07| --&gt; ThreadDebuggee003: START...
> 11:54:07| STDERR&gt; 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: Create and start thread for invoke method...
> 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: freeMemory (bytes) BEFORE creating thread = 14747648
> 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: Created thread is started!
> 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: freeMemory (bytes) AFTER creating and starting thread = 14747648
> 11:54:07| STDERR&gt; 11:54:07| ---------&gt; DEBUG info: ThreadDebuggee003: sendThreadSignalAndWait(SIGNAL_READY_01)
> 11:54:07| =========&gt; DEBUG info: receiveSignal(): signal = 'READY_01'
> 11:54:07| =========&gt; DEBUG info: received debuggee Thread Signal = READY_01
> 11:54:07| ==&gt; Time(mlsecs) of waiting for debuggee to start thread = 329
> 11:54:07| =========&gt; DEBUG info: waiting for suspend thread by event for ClassType.InvokeMethod command...
> 11:54:07| =========&gt; DEBUG info: toInvokeMethodThreadID = 2006
> 11:54:07| ==&gt; Get debuggeeRefTypeID...
> 11:54:07| =========&gt; DEBUG info: debuggeeRefTypeID = 1000000674
> 11:54:07| =========&gt; DEBUG info: toInvokeMethodID = 315026120
> 11:54:07| =========&gt; DEBUG info: Resuming SignalThread: ThreadID = 1162;  Marker = #2...
> 11:54:08| 
> 11:54:08| ==&gt; Wait for debuggee to create memory stress...
> 11:54:08| =========&gt; DEBUG info: receiving 'SIGNAL_READY_02' Thread Signal from debuggee...
> 11:54:08| =========&gt; DEBUG info: receiveSignal(): with timeout(mlsecs) = 296860...
> 11:54:08| ---------&gt; DEBUG info: ThreadDebuggee003: After sendThreadSignalAndWait(SIGNAL_READY_01)
> 11:54:08| --&gt; ThreadDebuggee003: Creating memory stress until OutOfMemory
> 11:54:08| --&gt; Debuggee: createMemoryStress: freeMemory (bytes) before memory stress = 14714880
> 11:54:08| STDERR&gt; 11:54:08| STDERR&gt; 11:54:08| STDERR&gt; 11:54:08| STDERR&gt; 11:54:08| --&gt; Debuggee: createMemoryStress: OutOfMemoryError!!!
> 11:54:08| STDERR&gt; 11:54:08| ---------&gt; DEBUG info: createMemoryStress: OutOfMemoryError on loop step = 32
> 11:54:08| STDERR&gt; 11:54:08| ---------&gt; DEBUG info: createMemoryStress: expended time(mlsecs) = 766
> 11:54:08| STDERR&gt; 11:54:08| --&gt; Debuggee: createMemoryStress: freeMemory after creating memory stress = 7330816
> 11:54:08| STDERR&gt; 11:54:08| ---------&gt; DEBUG info: ThreadDebuggee003: sendThreadSignalAndWait(SIGNAL_READY_02)
> 11:54:08| =========&gt; DEBUG info: receiveSignal(): signal = 'READY_02'
> 11:54:08| =========&gt; DEBUG info: received debuggee Thread Signal = READY_02
> 11:54:08| ==&gt; Time(mlsecs) of waiting for debuggee to create memory stress = 860
> 11:54:08| 
> 11:54:08| ==&gt; Send ClassType.InvokeMethod asynchronous commands (100) without waiting for reply...
> Apache Harmony Launcher : (c) Copyright 1991, 2007 The Apache Software Foundation or its licensors, as applicable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-5408) [drlvm][jdwp] tests stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD hungs

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

Pavel Rebriy updated HARMONY-5408:
----------------------------------

    Attachment: H5408.patch

This is a patch to fix the regression.

> [drlvm][jdwp]  tests stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD hungs 
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5408
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5408
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows x86_32, Linux x86_32, Linux x86_64
>            Reporter: Ilya Leviev
>         Attachments: H5408.patch
>
>
> tests stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD hungs  starting with r612140.
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD001
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD003
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD005
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD007
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD009
> stress.org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD011 
> log:
> TestHarness:ExecUnit	runProc(): Timeout!!!. The test hung (not finished in 180 second).
> java version "1.5.0" 
> pre-alpha : not complete or compatible
> svn = r613602, (Jan 21 2008), Windows/ia32/msvc 1310, release build
> http://harmony.apache.org
> 11:54:04| Test: class org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD003.ThreadTest003
> 		test case(s) to run 1
> 11:54:04| Launching as a server listening on: NSTDRLXW5:2851
> 11:54:04| Launching: C:\cc\cc-suites\build\checkouts\snapshot\hdk\jdk\jre/bin/java -cp "C:/cc/cc-suites/build/classes/stress/classes;C:/cc/cc-suites/build/results/stress/temp;C:\cc\cc-suites\build\classes\stress\classes;C:\cc\cc-suites\build\classes\stress\lib;C:\cc\cc-suites\build\classes\stress\tools\th.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\junit-4.3.1.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit\p-unit-0.12.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\p-unit-extension-0.12.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\itext-2.0.2.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\jcommon-1.0.9.jar;C:\cc\cc-suites\tests\stress\classlib\trunk\depends\punit\trunk\punit.extension\lib\jfreechart-1.0.5.jar" -agentlib:jdwp=transport=dt_socket,address=NSTDRLXW5:2851,server=n -Dvm.assert_dialog=false -Djpda.settings.verbose=true org.apache.harmony.test.stress.jpda.jdwp.scenario.THREAD003.ThreadDebuggee003
> 11:54:05| Start redirectors
> 11:54:05| Accepting connection
> 11:54:05| Redirector started: STDOUT
> 11:54:05| Redirector started: STDERR
> 11:54:05| Established connection
> 11:54:05| Launched debuggee VM process and established connection
> 11:54:05| Received VM_START event
> 11:54:05| Adjusted VM-dependent type lengths
> 11:54:05| ====&gt; testStartTimeMlsec = 1200981244921
> 11:54:05| ====&gt; testTimeout = 300000
> 11:54:07| ==&gt; testThread003: START (Tue Jan 22 11:54:05 GMT+06:00 2008)...
> 11:54:07| ==&gt; Wait for debuggee class load...
> 11:54:07| ==&gt; Debuggee class load - OK.
> 11:54:07| =========&gt; DEBUG info: setupThreadSignalWithWait(): threadSignalWithWaitRequestID = 2
> 11:54:07| =========&gt; DEBUG info: Resuming Debuggee: Marker = #1...
> 11:54:07| 
> 11:54:07| ==&gt; Wait for debuggee to create and start thread...
> 11:54:07| =========&gt; DEBUG info: receiving 'SIGNAL_READY_01' Thread Signal from debuggee...
> 11:54:07| =========&gt; DEBUG info: receiveSignal(): with timeout(mlsecs) = 297282...
> 11:54:07| --&gt; ThreadDebuggee003: START...
> 11:54:07| STDERR&gt; 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: Create and start thread for invoke method...
> 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: freeMemory (bytes) BEFORE creating thread = 14747648
> 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: Created thread is started!
> 11:54:07| STDERR&gt; 11:54:07| --&gt; ThreadDebuggee003: freeMemory (bytes) AFTER creating and starting thread = 14747648
> 11:54:07| STDERR&gt; 11:54:07| ---------&gt; DEBUG info: ThreadDebuggee003: sendThreadSignalAndWait(SIGNAL_READY_01)
> 11:54:07| =========&gt; DEBUG info: receiveSignal(): signal = 'READY_01'
> 11:54:07| =========&gt; DEBUG info: received debuggee Thread Signal = READY_01
> 11:54:07| ==&gt; Time(mlsecs) of waiting for debuggee to start thread = 329
> 11:54:07| =========&gt; DEBUG info: waiting for suspend thread by event for ClassType.InvokeMethod command...
> 11:54:07| =========&gt; DEBUG info: toInvokeMethodThreadID = 2006
> 11:54:07| ==&gt; Get debuggeeRefTypeID...
> 11:54:07| =========&gt; DEBUG info: debuggeeRefTypeID = 1000000674
> 11:54:07| =========&gt; DEBUG info: toInvokeMethodID = 315026120
> 11:54:07| =========&gt; DEBUG info: Resuming SignalThread: ThreadID = 1162;  Marker = #2...
> 11:54:08| 
> 11:54:08| ==&gt; Wait for debuggee to create memory stress...
> 11:54:08| =========&gt; DEBUG info: receiving 'SIGNAL_READY_02' Thread Signal from debuggee...
> 11:54:08| =========&gt; DEBUG info: receiveSignal(): with timeout(mlsecs) = 296860...
> 11:54:08| ---------&gt; DEBUG info: ThreadDebuggee003: After sendThreadSignalAndWait(SIGNAL_READY_01)
> 11:54:08| --&gt; ThreadDebuggee003: Creating memory stress until OutOfMemory
> 11:54:08| --&gt; Debuggee: createMemoryStress: freeMemory (bytes) before memory stress = 14714880
> 11:54:08| STDERR&gt; 11:54:08| STDERR&gt; 11:54:08| STDERR&gt; 11:54:08| STDERR&gt; 11:54:08| --&gt; Debuggee: createMemoryStress: OutOfMemoryError!!!
> 11:54:08| STDERR&gt; 11:54:08| ---------&gt; DEBUG info: createMemoryStress: OutOfMemoryError on loop step = 32
> 11:54:08| STDERR&gt; 11:54:08| ---------&gt; DEBUG info: createMemoryStress: expended time(mlsecs) = 766
> 11:54:08| STDERR&gt; 11:54:08| --&gt; Debuggee: createMemoryStress: freeMemory after creating memory stress = 7330816
> 11:54:08| STDERR&gt; 11:54:08| ---------&gt; DEBUG info: ThreadDebuggee003: sendThreadSignalAndWait(SIGNAL_READY_02)
> 11:54:08| =========&gt; DEBUG info: receiveSignal(): signal = 'READY_02'
> 11:54:08| =========&gt; DEBUG info: received debuggee Thread Signal = READY_02
> 11:54:08| ==&gt; Time(mlsecs) of waiting for debuggee to create memory stress = 860
> 11:54:08| 
> 11:54:08| ==&gt; Send ClassType.InvokeMethod asynchronous commands (100) without waiting for reply...
> Apache Harmony Launcher : (c) Copyright 1991, 2007 The Apache Software Foundation or its licensors, as applicable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.