You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Naveen Neelakantam (JIRA)" <ji...@apache.org> on 2006/12/19 19:15:21 UTC

[jira] Created: (HARMONY-2803) stress.Mix hangs on RHEL4 update 4

stress.Mix hangs on RHEL4 update 4
----------------------------------

                 Key: HARMONY-2803
                 URL: http://issues.apache.org/jira/browse/HARMONY-2803
             Project: Harmony
          Issue Type: Bug
          Components: build - test - ci
         Environment: RHEL4 update 4, gcc 3.4.6, core2 (i386)
            Reporter: Naveen Neelakantam
            Priority: Critical


This test consistently hangs on RHEL4 update 4 for i386.  It has been preventing Cruise Control from making any progress.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2803) stress.Mix hangs on RHEL4 update 4

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

weldon washburn commented on HARMONY-2803:
------------------------------------------

I attached MegaSpawn.java, a test that seems to aggrevate the hang problem.  MegaSpawn.java is basically  stress.Mix with all the non-essentials removed.

> stress.Mix hangs on RHEL4 update 4
> ----------------------------------
>
>                 Key: HARMONY-2803
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2803
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: RHEL4 update 4, gcc 3.4.6, core2 (i386)
>            Reporter: Naveen Neelakantam
>         Assigned To: weldon washburn
>            Priority: Critical
>         Attachments: MegaSpawn.java
>
>
> This test consistently hangs on RHEL4 update 4 for i386.  It has been preventing Cruise Control from making any progress.

-- 
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] Assigned: (HARMONY-2803) stress.Mix hangs on RHEL4 update 4

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

weldon washburn reassigned HARMONY-2803:
----------------------------------------

    Assignee: weldon washburn

> stress.Mix hangs on RHEL4 update 4
> ----------------------------------
>
>                 Key: HARMONY-2803
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2803
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: RHEL4 update 4, gcc 3.4.6, core2 (i386)
>            Reporter: Naveen Neelakantam
>         Assigned To: weldon washburn
>            Priority: Critical
>
> This test consistently hangs on RHEL4 update 4 for i386.  It has been preventing Cruise Control from making any progress.

-- 
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-2803) stress.Mix hangs on RHEL4 update 4

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

Naveen Neelakantam updated HARMONY-2803:
----------------------------------------

    Priority: Minor  (was: Critical)

Per Weldon's suggestion on the dev list, and considering that HARMONY-2963 has been fixed, it makes sense to downgrade this issue.

> stress.Mix hangs on RHEL4 update 4
> ----------------------------------
>
>                 Key: HARMONY-2803
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2803
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: RHEL4 update 4, gcc 3.4.6, core2 (i386)
>            Reporter: Naveen Neelakantam
>         Assigned To: weldon washburn
>            Priority: Minor
>         Attachments: MegaSpawn.java, Mix.java.load.patch
>
>
> This test consistently hangs on RHEL4 update 4 for i386.  It has been preventing Cruise Control from making any progress.

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


[jira] Commented: (HARMONY-2803) stress.Mix hangs on RHEL4 update 4

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

Peter Novodvorsky commented on HARMONY-2803:
--------------------------------------------

Naveen, how many times did you run the test. I've ran it 100 times on Windows uniprocessor and Linux smp (with latest classlib/vm, the patch is already commited) and didn't catch the bug. 



> stress.Mix hangs on RHEL4 update 4
> ----------------------------------
>
>                 Key: HARMONY-2803
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2803
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: RHEL4 update 4, gcc 3.4.6, core2 (i386)
>            Reporter: Naveen Neelakantam
>         Assigned To: weldon washburn
>            Priority: Critical
>         Attachments: MegaSpawn.java, Mix.java.load.patch
>
>
> This test consistently hangs on RHEL4 update 4 for i386.  It has been preventing Cruise Control from making any progress.

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


[jira] Closed: (HARMONY-2803) stress.Mix hangs on RHEL4 update 4

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

Naveen Neelakantam closed HARMONY-2803.
---------------------------------------

    Resolution: Fixed

> stress.Mix hangs on RHEL4 update 4
> ----------------------------------
>
>                 Key: HARMONY-2803
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2803
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: RHEL4 update 4, gcc 3.4.6, core2 (i386)
>            Reporter: Naveen Neelakantam
>         Assigned To: weldon washburn
>            Priority: Minor
>         Attachments: MegaSpawn.java, Mix.java.load.patch, Mix.java.noload.patch
>
>
> This test consistently hangs on RHEL4 update 4 for i386.  It has been preventing Cruise Control from making any progress.

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


[jira] Updated: (HARMONY-2803) stress.Mix hangs on RHEL4 update 4

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

Naveen Neelakantam updated HARMONY-2803:
----------------------------------------

    Attachment: Mix.java.load.patch

I took a play out of the Washburn playbook:

The issue can be reproduces by patching Mix.java so that it only "load"s.  The attached patch (Mix.java.load.patch) does the trick.

the patched stress.Mix will still only hang intermittently.

> stress.Mix hangs on RHEL4 update 4
> ----------------------------------
>
>                 Key: HARMONY-2803
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2803
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: RHEL4 update 4, gcc 3.4.6, core2 (i386)
>            Reporter: Naveen Neelakantam
>         Assigned To: weldon washburn
>            Priority: Critical
>         Attachments: MegaSpawn.java, Mix.java.load.patch
>
>
> This test consistently hangs on RHEL4 update 4 for i386.  It has been preventing Cruise Control from making any progress.

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


[jira] Commented: (HARMONY-2803) stress.Mix hangs on RHEL4 update 4

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

Naveen Neelakantam commented on HARMONY-2803:
---------------------------------------------

NOTE, my environment has changes since I reported this bug.  I now use gcc 4.1.0

> stress.Mix hangs on RHEL4 update 4
> ----------------------------------
>
>                 Key: HARMONY-2803
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2803
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: RHEL4 update 4, gcc 3.4.6, core2 (i386)
>            Reporter: Naveen Neelakantam
>         Assigned To: weldon washburn
>            Priority: Critical
>         Attachments: MegaSpawn.java, Mix.java.load.patch
>
>
> This test consistently hangs on RHEL4 update 4 for i386.  It has been preventing Cruise Control from making any progress.

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


[jira] Commented: (HARMONY-2803) stress.Mix hangs on RHEL4 update 4

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

weldon washburn commented on HARMONY-2803:
------------------------------------------

I am also observing that stress.Mix consistently hangs on 2cpu RHEL4.  I will start looking into stress.Mix problems soon and also start a discussion on dev list.

> stress.Mix hangs on RHEL4 update 4
> ----------------------------------
>
>                 Key: HARMONY-2803
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2803
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: RHEL4 update 4, gcc 3.4.6, core2 (i386)
>            Reporter: Naveen Neelakantam
>         Assigned To: weldon washburn
>            Priority: Critical
>
> This test consistently hangs on RHEL4 update 4 for i386.  It has been preventing Cruise Control from making any progress.

-- 
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-2803) stress.Mix hangs on RHEL4 update 4

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

Gregory Shimansky commented on HARMONY-2803:
--------------------------------------------

AFAIK HARMONY-2187 is different. It doesn't finish because AWT code create a new thread for getting windows messages, so this thread loops entirely inside of native code. DRLVM can interrupt a thread only if it sometimes executes VM code (either from Java via helper e.g. GC safe point or from native through JNI). But this AWT thread doesn't execute VM code because no window messages are received. So this daemon thread cannot be interrupted by VM.

> stress.Mix hangs on RHEL4 update 4
> ----------------------------------
>
>                 Key: HARMONY-2803
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2803
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: RHEL4 update 4, gcc 3.4.6, core2 (i386)
>            Reporter: Naveen Neelakantam
>         Assigned To: weldon washburn
>            Priority: Critical
>         Attachments: MegaSpawn.java
>
>
> This test consistently hangs on RHEL4 update 4 for i386.  It has been preventing Cruise Control from making any progress.

-- 
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-2803) stress.Mix hangs on RHEL4 update 4

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

Peter Novodvorsky commented on HARMONY-2803:
--------------------------------------------

Does patch from HARMONY-2963 fix the problem? isn't it the same bug?


> stress.Mix hangs on RHEL4 update 4
> ----------------------------------
>
>                 Key: HARMONY-2803
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2803
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: RHEL4 update 4, gcc 3.4.6, core2 (i386)
>            Reporter: Naveen Neelakantam
>         Assigned To: weldon washburn
>            Priority: Critical
>         Attachments: MegaSpawn.java
>
>
> This test consistently hangs on RHEL4 update 4 for i386.  It has been preventing Cruise Control from making any progress.

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


[jira] Commented: (HARMONY-2803) stress.Mix hangs on RHEL4 update 4

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

Naveen Neelakantam commented on HARMONY-2803:
---------------------------------------------

What version of Linux did you try?  It could be RHEL4 specific.

It hangs for me after only a couple runs (I just tried latest classlib/vm, r512413).  I've even seen a Segfault with the following message:

java.lang.OutOfMemoryError: Failed to create new thread
        at java.lang.Thread.start(Thread.java:743)
        at stress.Mix.spawn(Mix.java:268)
        at stress.Mix.run(Mix.java:77)
Cannot allocate pool storage: 0x10000 bytes of virtual memory for code or data.
Error code = 12
SIGABRT in VM code.
Stack trace:

> stress.Mix hangs on RHEL4 update 4
> ----------------------------------
>
>                 Key: HARMONY-2803
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2803
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: RHEL4 update 4, gcc 3.4.6, core2 (i386)
>            Reporter: Naveen Neelakantam
>         Assigned To: weldon washburn
>            Priority: Critical
>         Attachments: MegaSpawn.java, Mix.java.load.patch
>
>
> This test consistently hangs on RHEL4 update 4 for i386.  It has been preventing Cruise Control from making any progress.

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


[jira] Updated: (HARMONY-2803) stress.Mix hangs on RHEL4 update 4

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

Naveen Neelakantam updated HARMONY-2803:
----------------------------------------

    Attachment: Mix.java.noload.patch

If someone does remove stress.Mix from the x86 excludes list, please apply Mix.java.noload.patch.

It removes the "load" test from stress.Mix, which prevents it from hanging on RHEL4 systems.

> stress.Mix hangs on RHEL4 update 4
> ----------------------------------
>
>                 Key: HARMONY-2803
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2803
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: RHEL4 update 4, gcc 3.4.6, core2 (i386)
>            Reporter: Naveen Neelakantam
>         Assigned To: weldon washburn
>            Priority: Minor
>         Attachments: MegaSpawn.java, Mix.java.load.patch, Mix.java.noload.patch
>
>
> This test consistently hangs on RHEL4 update 4 for i386.  It has been preventing Cruise Control from making any progress.

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


[jira] Updated: (HARMONY-2803) stress.Mix hangs on RHEL4 update 4

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

weldon washburn updated HARMONY-2803:
-------------------------------------

    Attachment: MegaSpawn.java

> stress.Mix hangs on RHEL4 update 4
> ----------------------------------
>
>                 Key: HARMONY-2803
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2803
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: RHEL4 update 4, gcc 3.4.6, core2 (i386)
>            Reporter: Naveen Neelakantam
>         Assigned To: weldon washburn
>            Priority: Critical
>         Attachments: MegaSpawn.java
>
>
> This test consistently hangs on RHEL4 update 4 for i386.  It has been preventing Cruise Control from making any progress.

-- 
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-2803) stress.Mix hangs on RHEL4 update 4

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

Naveen Neelakantam commented on HARMONY-2803:
---------------------------------------------

oddly enough, the patch from HARMONY-2963 does not fix this issue.

I tried running stress.Mix a handful of times and it continues to hang (although now it only hangs occasionally)

> stress.Mix hangs on RHEL4 update 4
> ----------------------------------
>
>                 Key: HARMONY-2803
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2803
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: RHEL4 update 4, gcc 3.4.6, core2 (i386)
>            Reporter: Naveen Neelakantam
>         Assigned To: weldon washburn
>            Priority: Critical
>         Attachments: MegaSpawn.java
>
>
> This test consistently hangs on RHEL4 update 4 for i386.  It has been preventing Cruise Control from making any progress.

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