You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2007/04/16 15:54:15 UTC

[jira] Created: (HARMONY-3664) [drlvm][awt] Crash in awt tests

[drlvm][awt] Crash in awt tests
-------------------------------

                 Key: HARMONY-3664
                 URL: https://issues.apache.org/jira/browse/HARMONY-3664
             Project: Harmony
          Issue Type: Bug
          Components: Classlib, DRLVM
         Environment: Linux@ia32
            Reporter: Alexey Varlamov


AWT unit tests segfault quite often when run on DRLVM. Usually VM fails to print stackstrace (Just says "SIGSEGV in VM code."), but once I got the following trace:

    [junit] SIGSEGV in VM code.
    [junit] Stack trace:
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
    [junit]   0: free (??:-1)
    [junit]   1: XFree (??:-1)
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
    [junit]   2: Java_org_apache_harmony_awt_nativebridge_linux_X11_XFree (/export/users/avarlamo/linux.ia32/svn-repo/classlib/modules/awt/src/main/native/x11wrapper/unix/org_apache_harmony_awt_nativebridge_linux_X11.cpp:199)
    [junit]   3: 0x54A115B1  <Generated stub>
    [junit]   4: org/apache/harmony/awt/nativebridge/linux/X11.XFree(Lorg/apache/harmony/awt/nativebridge/VoidPointer;)I (X11.java:918)
    [junit]   5: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID(J)J (LinuxWindow.java:642)
    [junit]   6: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID()J (LinuxWindow.java:618)
    [junit]   7: org/apache/harmony/awt/wtk/linux/LinuxWindow.getBounds()Ljava/awt/Rectangle; (LinuxWindow.java:347)
    [junit]   8: org/apache/harmony/awt/wtk/linux/LinuxWindow.setInsets(Ljava/awt/Insets;)V (LinuxWindow.java:847)
    [junit]   9: org/apache/harmony/awt/wtk/linux/LinuxWindow.updateInsets()Ljava/awt/Insets; (LinuxWindow.java:390)
    [junit]  10: org/apache/harmony/awt/wtk/linux/LinuxEvent.processInsetsChange(Ljava/awt/Insets;)V (LinuxEvent.java:452)
    [junit]  11: org/apache/harmony/awt/wtk/linux/LinuxEvent.processReparentEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XReparentEvent;)V (LinuxEvent.java:247)
    [junit]  12: org/apache/harmony/awt/wtk/linux/LinuxEvent.setEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:166)
    [junit]  13: org/apache/harmony/awt/wtk/linux/LinuxEvent.<init>(Lorg/apache/harmony/awt/wtk/linux/LinuxWindowFactory;Lorg/apache/harmony/awt/wtk/linux/LinuxEventQueue;Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:80)
    [junit]  14: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.enqueue(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEventQueue.java:94)
    [junit]  15: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.dispatchEvent()V (LinuxEventQueue.java:86)
    [junit]  16: org/apache/harmony/awt/wtk/NativeEventThread.runModalLoop()V (NativeEventThread.java:59)
    [junit]  17: org/apache/harmony/awt/wtk/NativeEventThread.run()V (NativeEventThread.java:54)
    [junit]  18: java/lang/Thread.runImpl()V (Thread.java:672)
    [junit]  19: vm_invoke_native_array_stub (/export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
    [junit]  20: .L59 (??:-1)
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
    [junit]  21: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (??:-1)
    [junit]  22: ExecuteMethod (??:-1)
    [junit]  23: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) (??:-1)
    [junit]  24: call_method_no_ref_result(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*, jvalue*, int) (??:-1)
    [junit]  25: wrapper_proc (??:-1)
    [junit]  26: thread_start_proc (??:-1)
    [junit]  27: start_thread (??:-1)
    [junit] Tests run: 16, Failures: 0, Errors: 0, Time elapsed: 0.044 sec
    [junit]  28: clone (??:-1)
    [junit] <end of stack trace>


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


[jira] Commented: (HARMONY-3664) [classlib][awt] Crash in awt tests

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

Alexei Zakharov commented on HARMONY-3664:
------------------------------------------

>From the above description I can't understand if this is the problem from HARMONY-3541 or not. Alexey, can you please give us more details on what tests do you run and (if possible) which test was the reason of the crash (could be determined by zero-sized test report)? Thanks!

> [classlib][awt] Crash in awt tests
> ----------------------------------
>
>                 Key: HARMONY-3664
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib, DRLVM
>         Environment: Linux@ia32
>            Reporter: Alexey Varlamov
>
> AWT unit tests segfault quite often when run on DRLVM. Usually VM fails to print stackstrace (Just says "SIGSEGV in VM code."), but once I got the following trace:
>     [junit] SIGSEGV in VM code.
>     [junit] Stack trace:
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]   0: free (??:-1)
>     [junit]   1: XFree (??:-1)
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]   2: Java_org_apache_harmony_awt_nativebridge_linux_X11_XFree (/export/users/avarlamo/linux.ia32/svn-repo/classlib/modules/awt/src/main/native/x11wrapper/unix/org_apache_harmony_awt_nativebridge_linux_X11.cpp:199)
>     [junit]   3: 0x54A115B1  <Generated stub>
>     [junit]   4: org/apache/harmony/awt/nativebridge/linux/X11.XFree(Lorg/apache/harmony/awt/nativebridge/VoidPointer;)I (X11.java:918)
>     [junit]   5: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID(J)J (LinuxWindow.java:642)
>     [junit]   6: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID()J (LinuxWindow.java:618)
>     [junit]   7: org/apache/harmony/awt/wtk/linux/LinuxWindow.getBounds()Ljava/awt/Rectangle; (LinuxWindow.java:347)
>     [junit]   8: org/apache/harmony/awt/wtk/linux/LinuxWindow.setInsets(Ljava/awt/Insets;)V (LinuxWindow.java:847)
>     [junit]   9: org/apache/harmony/awt/wtk/linux/LinuxWindow.updateInsets()Ljava/awt/Insets; (LinuxWindow.java:390)
>     [junit]  10: org/apache/harmony/awt/wtk/linux/LinuxEvent.processInsetsChange(Ljava/awt/Insets;)V (LinuxEvent.java:452)
>     [junit]  11: org/apache/harmony/awt/wtk/linux/LinuxEvent.processReparentEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XReparentEvent;)V (LinuxEvent.java:247)
>     [junit]  12: org/apache/harmony/awt/wtk/linux/LinuxEvent.setEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:166)
>     [junit]  13: org/apache/harmony/awt/wtk/linux/LinuxEvent.<init>(Lorg/apache/harmony/awt/wtk/linux/LinuxWindowFactory;Lorg/apache/harmony/awt/wtk/linux/LinuxEventQueue;Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:80)
>     [junit]  14: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.enqueue(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEventQueue.java:94)
>     [junit]  15: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.dispatchEvent()V (LinuxEventQueue.java:86)
>     [junit]  16: org/apache/harmony/awt/wtk/NativeEventThread.runModalLoop()V (NativeEventThread.java:59)
>     [junit]  17: org/apache/harmony/awt/wtk/NativeEventThread.run()V (NativeEventThread.java:54)
>     [junit]  18: java/lang/Thread.runImpl()V (Thread.java:672)
>     [junit]  19: vm_invoke_native_array_stub (/export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
>     [junit]  20: .L59 (??:-1)
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]  21: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (??:-1)
>     [junit]  22: ExecuteMethod (??:-1)
>     [junit]  23: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) (??:-1)
>     [junit]  24: call_method_no_ref_result(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*, jvalue*, int) (??:-1)
>     [junit]  25: wrapper_proc (??:-1)
>     [junit]  26: thread_start_proc (??:-1)
>     [junit]  27: start_thread (??:-1)
>     [junit] Tests run: 16, Failures: 0, Errors: 0, Time elapsed: 0.044 sec
>     [junit]  28: clone (??:-1)
>     [junit] <end of stack trace>

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


[jira] Commented: (HARMONY-3664) [classlib][awt] Crash in awt tests

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

Andrey Pavlenko commented on HARMONY-3664:
------------------------------------------

Right, many of AWT tests which create/destroy windows cause the VM crash. This is caused by the XFree() function called several times with the same data. The patch attached to HARMONY-3541 fixes the issue.

> [classlib][awt] Crash in awt tests
> ----------------------------------
>
>                 Key: HARMONY-3664
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib, DRLVM
>         Environment: Linux@ia32
>            Reporter: Alexey Varlamov
>
> AWT unit tests segfault quite often when run on DRLVM. Usually VM fails to print stackstrace (Just says "SIGSEGV in VM code."), but once I got the following trace:
>     [junit] SIGSEGV in VM code.
>     [junit] Stack trace:
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]   0: free (??:-1)
>     [junit]   1: XFree (??:-1)
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]   2: Java_org_apache_harmony_awt_nativebridge_linux_X11_XFree (/export/users/avarlamo/linux.ia32/svn-repo/classlib/modules/awt/src/main/native/x11wrapper/unix/org_apache_harmony_awt_nativebridge_linux_X11.cpp:199)
>     [junit]   3: 0x54A115B1  <Generated stub>
>     [junit]   4: org/apache/harmony/awt/nativebridge/linux/X11.XFree(Lorg/apache/harmony/awt/nativebridge/VoidPointer;)I (X11.java:918)
>     [junit]   5: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID(J)J (LinuxWindow.java:642)
>     [junit]   6: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID()J (LinuxWindow.java:618)
>     [junit]   7: org/apache/harmony/awt/wtk/linux/LinuxWindow.getBounds()Ljava/awt/Rectangle; (LinuxWindow.java:347)
>     [junit]   8: org/apache/harmony/awt/wtk/linux/LinuxWindow.setInsets(Ljava/awt/Insets;)V (LinuxWindow.java:847)
>     [junit]   9: org/apache/harmony/awt/wtk/linux/LinuxWindow.updateInsets()Ljava/awt/Insets; (LinuxWindow.java:390)
>     [junit]  10: org/apache/harmony/awt/wtk/linux/LinuxEvent.processInsetsChange(Ljava/awt/Insets;)V (LinuxEvent.java:452)
>     [junit]  11: org/apache/harmony/awt/wtk/linux/LinuxEvent.processReparentEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XReparentEvent;)V (LinuxEvent.java:247)
>     [junit]  12: org/apache/harmony/awt/wtk/linux/LinuxEvent.setEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:166)
>     [junit]  13: org/apache/harmony/awt/wtk/linux/LinuxEvent.<init>(Lorg/apache/harmony/awt/wtk/linux/LinuxWindowFactory;Lorg/apache/harmony/awt/wtk/linux/LinuxEventQueue;Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:80)
>     [junit]  14: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.enqueue(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEventQueue.java:94)
>     [junit]  15: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.dispatchEvent()V (LinuxEventQueue.java:86)
>     [junit]  16: org/apache/harmony/awt/wtk/NativeEventThread.runModalLoop()V (NativeEventThread.java:59)
>     [junit]  17: org/apache/harmony/awt/wtk/NativeEventThread.run()V (NativeEventThread.java:54)
>     [junit]  18: java/lang/Thread.runImpl()V (Thread.java:672)
>     [junit]  19: vm_invoke_native_array_stub (/export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
>     [junit]  20: .L59 (??:-1)
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]  21: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (??:-1)
>     [junit]  22: ExecuteMethod (??:-1)
>     [junit]  23: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) (??:-1)
>     [junit]  24: call_method_no_ref_result(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*, jvalue*, int) (??:-1)
>     [junit]  25: wrapper_proc (??:-1)
>     [junit]  26: thread_start_proc (??:-1)
>     [junit]  27: start_thread (??:-1)
>     [junit] Tests run: 16, Failures: 0, Errors: 0, Time elapsed: 0.044 sec
>     [junit]  28: clone (??:-1)
>     [junit] <end of stack trace>

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


[jira] Commented: (HARMONY-3664) [classlib][awt] Crash in awt tests

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

Alexey Varlamov commented on HARMONY-3664:
------------------------------------------

Well, I could not understand for sure either, from HARMONY-2541 description ;) 
Actually, many of AWT tests cause crashes, just run a few times the following cmd on a multicore box:
classlib> ant test -Dtest.jre.home=<drlvm> -Dbuild.module=awt
Nearly every second run aborts on а different test.
Unfortunately I cannot say now which particular test caused the stack above - it is rare luck to get the full stack (see HARMONY-3666). 

> [classlib][awt] Crash in awt tests
> ----------------------------------
>
>                 Key: HARMONY-3664
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib, DRLVM
>         Environment: Linux@ia32
>            Reporter: Alexey Varlamov
>
> AWT unit tests segfault quite often when run on DRLVM. Usually VM fails to print stackstrace (Just says "SIGSEGV in VM code."), but once I got the following trace:
>     [junit] SIGSEGV in VM code.
>     [junit] Stack trace:
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]   0: free (??:-1)
>     [junit]   1: XFree (??:-1)
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]   2: Java_org_apache_harmony_awt_nativebridge_linux_X11_XFree (/export/users/avarlamo/linux.ia32/svn-repo/classlib/modules/awt/src/main/native/x11wrapper/unix/org_apache_harmony_awt_nativebridge_linux_X11.cpp:199)
>     [junit]   3: 0x54A115B1  <Generated stub>
>     [junit]   4: org/apache/harmony/awt/nativebridge/linux/X11.XFree(Lorg/apache/harmony/awt/nativebridge/VoidPointer;)I (X11.java:918)
>     [junit]   5: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID(J)J (LinuxWindow.java:642)
>     [junit]   6: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID()J (LinuxWindow.java:618)
>     [junit]   7: org/apache/harmony/awt/wtk/linux/LinuxWindow.getBounds()Ljava/awt/Rectangle; (LinuxWindow.java:347)
>     [junit]   8: org/apache/harmony/awt/wtk/linux/LinuxWindow.setInsets(Ljava/awt/Insets;)V (LinuxWindow.java:847)
>     [junit]   9: org/apache/harmony/awt/wtk/linux/LinuxWindow.updateInsets()Ljava/awt/Insets; (LinuxWindow.java:390)
>     [junit]  10: org/apache/harmony/awt/wtk/linux/LinuxEvent.processInsetsChange(Ljava/awt/Insets;)V (LinuxEvent.java:452)
>     [junit]  11: org/apache/harmony/awt/wtk/linux/LinuxEvent.processReparentEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XReparentEvent;)V (LinuxEvent.java:247)
>     [junit]  12: org/apache/harmony/awt/wtk/linux/LinuxEvent.setEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:166)
>     [junit]  13: org/apache/harmony/awt/wtk/linux/LinuxEvent.<init>(Lorg/apache/harmony/awt/wtk/linux/LinuxWindowFactory;Lorg/apache/harmony/awt/wtk/linux/LinuxEventQueue;Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:80)
>     [junit]  14: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.enqueue(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEventQueue.java:94)
>     [junit]  15: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.dispatchEvent()V (LinuxEventQueue.java:86)
>     [junit]  16: org/apache/harmony/awt/wtk/NativeEventThread.runModalLoop()V (NativeEventThread.java:59)
>     [junit]  17: org/apache/harmony/awt/wtk/NativeEventThread.run()V (NativeEventThread.java:54)
>     [junit]  18: java/lang/Thread.runImpl()V (Thread.java:672)
>     [junit]  19: vm_invoke_native_array_stub (/export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
>     [junit]  20: .L59 (??:-1)
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]  21: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (??:-1)
>     [junit]  22: ExecuteMethod (??:-1)
>     [junit]  23: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) (??:-1)
>     [junit]  24: call_method_no_ref_result(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*, jvalue*, int) (??:-1)
>     [junit]  25: wrapper_proc (??:-1)
>     [junit]  26: thread_start_proc (??:-1)
>     [junit]  27: start_thread (??:-1)
>     [junit] Tests run: 16, Failures: 0, Errors: 0, Time elapsed: 0.044 sec
>     [junit]  28: clone (??:-1)
>     [junit] <end of stack trace>

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


[jira] Commented: (HARMONY-3664) [classlib][awt] Crash in awt tests

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

Alexey Petrenko commented on HARMONY-3664:
------------------------------------------

Alexey,

I've applied HARMONY-3541 patch.
Could you please verify that your is fixed?

> [classlib][awt] Crash in awt tests
> ----------------------------------
>
>                 Key: HARMONY-3664
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib, DRLVM
>         Environment: Linux@ia32
>            Reporter: Alexey Varlamov
>         Assigned To: Alexey Petrenko
>
> AWT unit tests segfault quite often when run on DRLVM. Usually VM fails to print stackstrace (Just says "SIGSEGV in VM code."), but once I got the following trace:
>     [junit] SIGSEGV in VM code.
>     [junit] Stack trace:
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]   0: free (??:-1)
>     [junit]   1: XFree (??:-1)
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]   2: Java_org_apache_harmony_awt_nativebridge_linux_X11_XFree (/export/users/avarlamo/linux.ia32/svn-repo/classlib/modules/awt/src/main/native/x11wrapper/unix/org_apache_harmony_awt_nativebridge_linux_X11.cpp:199)
>     [junit]   3: 0x54A115B1  <Generated stub>
>     [junit]   4: org/apache/harmony/awt/nativebridge/linux/X11.XFree(Lorg/apache/harmony/awt/nativebridge/VoidPointer;)I (X11.java:918)
>     [junit]   5: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID(J)J (LinuxWindow.java:642)
>     [junit]   6: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID()J (LinuxWindow.java:618)
>     [junit]   7: org/apache/harmony/awt/wtk/linux/LinuxWindow.getBounds()Ljava/awt/Rectangle; (LinuxWindow.java:347)
>     [junit]   8: org/apache/harmony/awt/wtk/linux/LinuxWindow.setInsets(Ljava/awt/Insets;)V (LinuxWindow.java:847)
>     [junit]   9: org/apache/harmony/awt/wtk/linux/LinuxWindow.updateInsets()Ljava/awt/Insets; (LinuxWindow.java:390)
>     [junit]  10: org/apache/harmony/awt/wtk/linux/LinuxEvent.processInsetsChange(Ljava/awt/Insets;)V (LinuxEvent.java:452)
>     [junit]  11: org/apache/harmony/awt/wtk/linux/LinuxEvent.processReparentEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XReparentEvent;)V (LinuxEvent.java:247)
>     [junit]  12: org/apache/harmony/awt/wtk/linux/LinuxEvent.setEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:166)
>     [junit]  13: org/apache/harmony/awt/wtk/linux/LinuxEvent.<init>(Lorg/apache/harmony/awt/wtk/linux/LinuxWindowFactory;Lorg/apache/harmony/awt/wtk/linux/LinuxEventQueue;Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:80)
>     [junit]  14: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.enqueue(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEventQueue.java:94)
>     [junit]  15: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.dispatchEvent()V (LinuxEventQueue.java:86)
>     [junit]  16: org/apache/harmony/awt/wtk/NativeEventThread.runModalLoop()V (NativeEventThread.java:59)
>     [junit]  17: org/apache/harmony/awt/wtk/NativeEventThread.run()V (NativeEventThread.java:54)
>     [junit]  18: java/lang/Thread.runImpl()V (Thread.java:672)
>     [junit]  19: vm_invoke_native_array_stub (/export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
>     [junit]  20: .L59 (??:-1)
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]  21: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (??:-1)
>     [junit]  22: ExecuteMethod (??:-1)
>     [junit]  23: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) (??:-1)
>     [junit]  24: call_method_no_ref_result(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*, jvalue*, int) (??:-1)
>     [junit]  25: wrapper_proc (??:-1)
>     [junit]  26: thread_start_proc (??:-1)
>     [junit]  27: start_thread (??:-1)
>     [junit] Tests run: 16, Failures: 0, Errors: 0, Time elapsed: 0.044 sec
>     [junit]  28: clone (??:-1)
>     [junit] <end of stack trace>

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


[jira] Assigned: (HARMONY-3664) [classlib][awt] Crash in awt tests

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

Alexey Petrenko reassigned HARMONY-3664:
----------------------------------------

    Assignee: Alexey Petrenko

> [classlib][awt] Crash in awt tests
> ----------------------------------
>
>                 Key: HARMONY-3664
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib, DRLVM
>         Environment: Linux@ia32
>            Reporter: Alexey Varlamov
>         Assigned To: Alexey Petrenko
>
> AWT unit tests segfault quite often when run on DRLVM. Usually VM fails to print stackstrace (Just says "SIGSEGV in VM code."), but once I got the following trace:
>     [junit] SIGSEGV in VM code.
>     [junit] Stack trace:
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]   0: free (??:-1)
>     [junit]   1: XFree (??:-1)
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]   2: Java_org_apache_harmony_awt_nativebridge_linux_X11_XFree (/export/users/avarlamo/linux.ia32/svn-repo/classlib/modules/awt/src/main/native/x11wrapper/unix/org_apache_harmony_awt_nativebridge_linux_X11.cpp:199)
>     [junit]   3: 0x54A115B1  <Generated stub>
>     [junit]   4: org/apache/harmony/awt/nativebridge/linux/X11.XFree(Lorg/apache/harmony/awt/nativebridge/VoidPointer;)I (X11.java:918)
>     [junit]   5: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID(J)J (LinuxWindow.java:642)
>     [junit]   6: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID()J (LinuxWindow.java:618)
>     [junit]   7: org/apache/harmony/awt/wtk/linux/LinuxWindow.getBounds()Ljava/awt/Rectangle; (LinuxWindow.java:347)
>     [junit]   8: org/apache/harmony/awt/wtk/linux/LinuxWindow.setInsets(Ljava/awt/Insets;)V (LinuxWindow.java:847)
>     [junit]   9: org/apache/harmony/awt/wtk/linux/LinuxWindow.updateInsets()Ljava/awt/Insets; (LinuxWindow.java:390)
>     [junit]  10: org/apache/harmony/awt/wtk/linux/LinuxEvent.processInsetsChange(Ljava/awt/Insets;)V (LinuxEvent.java:452)
>     [junit]  11: org/apache/harmony/awt/wtk/linux/LinuxEvent.processReparentEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XReparentEvent;)V (LinuxEvent.java:247)
>     [junit]  12: org/apache/harmony/awt/wtk/linux/LinuxEvent.setEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:166)
>     [junit]  13: org/apache/harmony/awt/wtk/linux/LinuxEvent.<init>(Lorg/apache/harmony/awt/wtk/linux/LinuxWindowFactory;Lorg/apache/harmony/awt/wtk/linux/LinuxEventQueue;Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:80)
>     [junit]  14: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.enqueue(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEventQueue.java:94)
>     [junit]  15: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.dispatchEvent()V (LinuxEventQueue.java:86)
>     [junit]  16: org/apache/harmony/awt/wtk/NativeEventThread.runModalLoop()V (NativeEventThread.java:59)
>     [junit]  17: org/apache/harmony/awt/wtk/NativeEventThread.run()V (NativeEventThread.java:54)
>     [junit]  18: java/lang/Thread.runImpl()V (Thread.java:672)
>     [junit]  19: vm_invoke_native_array_stub (/export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
>     [junit]  20: .L59 (??:-1)
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]  21: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (??:-1)
>     [junit]  22: ExecuteMethod (??:-1)
>     [junit]  23: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) (??:-1)
>     [junit]  24: call_method_no_ref_result(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*, jvalue*, int) (??:-1)
>     [junit]  25: wrapper_proc (??:-1)
>     [junit]  26: thread_start_proc (??:-1)
>     [junit]  27: start_thread (??:-1)
>     [junit] Tests run: 16, Failures: 0, Errors: 0, Time elapsed: 0.044 sec
>     [junit]  28: clone (??:-1)
>     [junit] <end of stack trace>

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


[jira] Closed: (HARMONY-3664) [classlib][awt] Crash in awt tests

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

Alexey Varlamov closed HARMONY-3664.
------------------------------------

    Resolution: Fixed

No more such crashed appear, resolving fixed.

> [classlib][awt] Crash in awt tests
> ----------------------------------
>
>                 Key: HARMONY-3664
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux@ia32
>            Reporter: Alexey Varlamov
>            Assignee: Alexey Petrenko
>
> AWT unit tests segfault quite often when run on DRLVM. Usually VM fails to print stackstrace (Just says "SIGSEGV in VM code."), but once I got the following trace:
>     [junit] SIGSEGV in VM code.
>     [junit] Stack trace:
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]   0: free (??:-1)
>     [junit]   1: XFree (??:-1)
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]   2: Java_org_apache_harmony_awt_nativebridge_linux_X11_XFree (/export/users/avarlamo/linux.ia32/svn-repo/classlib/modules/awt/src/main/native/x11wrapper/unix/org_apache_harmony_awt_nativebridge_linux_X11.cpp:199)
>     [junit]   3: 0x54A115B1  <Generated stub>
>     [junit]   4: org/apache/harmony/awt/nativebridge/linux/X11.XFree(Lorg/apache/harmony/awt/nativebridge/VoidPointer;)I (X11.java:918)
>     [junit]   5: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID(J)J (LinuxWindow.java:642)
>     [junit]   6: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID()J (LinuxWindow.java:618)
>     [junit]   7: org/apache/harmony/awt/wtk/linux/LinuxWindow.getBounds()Ljava/awt/Rectangle; (LinuxWindow.java:347)
>     [junit]   8: org/apache/harmony/awt/wtk/linux/LinuxWindow.setInsets(Ljava/awt/Insets;)V (LinuxWindow.java:847)
>     [junit]   9: org/apache/harmony/awt/wtk/linux/LinuxWindow.updateInsets()Ljava/awt/Insets; (LinuxWindow.java:390)
>     [junit]  10: org/apache/harmony/awt/wtk/linux/LinuxEvent.processInsetsChange(Ljava/awt/Insets;)V (LinuxEvent.java:452)
>     [junit]  11: org/apache/harmony/awt/wtk/linux/LinuxEvent.processReparentEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XReparentEvent;)V (LinuxEvent.java:247)
>     [junit]  12: org/apache/harmony/awt/wtk/linux/LinuxEvent.setEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:166)
>     [junit]  13: org/apache/harmony/awt/wtk/linux/LinuxEvent.<init>(Lorg/apache/harmony/awt/wtk/linux/LinuxWindowFactory;Lorg/apache/harmony/awt/wtk/linux/LinuxEventQueue;Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:80)
>     [junit]  14: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.enqueue(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEventQueue.java:94)
>     [junit]  15: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.dispatchEvent()V (LinuxEventQueue.java:86)
>     [junit]  16: org/apache/harmony/awt/wtk/NativeEventThread.runModalLoop()V (NativeEventThread.java:59)
>     [junit]  17: org/apache/harmony/awt/wtk/NativeEventThread.run()V (NativeEventThread.java:54)
>     [junit]  18: java/lang/Thread.runImpl()V (Thread.java:672)
>     [junit]  19: vm_invoke_native_array_stub (/export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
>     [junit]  20: .L59 (??:-1)
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]  21: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (??:-1)
>     [junit]  22: ExecuteMethod (??:-1)
>     [junit]  23: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) (??:-1)
>     [junit]  24: call_method_no_ref_result(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*, jvalue*, int) (??:-1)
>     [junit]  25: wrapper_proc (??:-1)
>     [junit]  26: thread_start_proc (??:-1)
>     [junit]  27: start_thread (??:-1)
>     [junit] Tests run: 16, Failures: 0, Errors: 0, Time elapsed: 0.044 sec
>     [junit]  28: clone (??:-1)
>     [junit] <end of stack trace>

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


[jira] Updated: (HARMONY-3664) [classlib][awt] Crash in awt tests

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

Alexey Varlamov updated HARMONY-3664:
-------------------------------------

    Comment: was deleted

> [classlib][awt] Crash in awt tests
> ----------------------------------
>
>                 Key: HARMONY-3664
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib, DRLVM
>         Environment: Linux@ia32
>            Reporter: Alexey Varlamov
>
> AWT unit tests segfault quite often when run on DRLVM. Usually VM fails to print stackstrace (Just says "SIGSEGV in VM code."), but once I got the following trace:
>     [junit] SIGSEGV in VM code.
>     [junit] Stack trace:
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]   0: free (??:-1)
>     [junit]   1: XFree (??:-1)
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]   2: Java_org_apache_harmony_awt_nativebridge_linux_X11_XFree (/export/users/avarlamo/linux.ia32/svn-repo/classlib/modules/awt/src/main/native/x11wrapper/unix/org_apache_harmony_awt_nativebridge_linux_X11.cpp:199)
>     [junit]   3: 0x54A115B1  <Generated stub>
>     [junit]   4: org/apache/harmony/awt/nativebridge/linux/X11.XFree(Lorg/apache/harmony/awt/nativebridge/VoidPointer;)I (X11.java:918)
>     [junit]   5: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID(J)J (LinuxWindow.java:642)
>     [junit]   6: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID()J (LinuxWindow.java:618)
>     [junit]   7: org/apache/harmony/awt/wtk/linux/LinuxWindow.getBounds()Ljava/awt/Rectangle; (LinuxWindow.java:347)
>     [junit]   8: org/apache/harmony/awt/wtk/linux/LinuxWindow.setInsets(Ljava/awt/Insets;)V (LinuxWindow.java:847)
>     [junit]   9: org/apache/harmony/awt/wtk/linux/LinuxWindow.updateInsets()Ljava/awt/Insets; (LinuxWindow.java:390)
>     [junit]  10: org/apache/harmony/awt/wtk/linux/LinuxEvent.processInsetsChange(Ljava/awt/Insets;)V (LinuxEvent.java:452)
>     [junit]  11: org/apache/harmony/awt/wtk/linux/LinuxEvent.processReparentEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XReparentEvent;)V (LinuxEvent.java:247)
>     [junit]  12: org/apache/harmony/awt/wtk/linux/LinuxEvent.setEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:166)
>     [junit]  13: org/apache/harmony/awt/wtk/linux/LinuxEvent.<init>(Lorg/apache/harmony/awt/wtk/linux/LinuxWindowFactory;Lorg/apache/harmony/awt/wtk/linux/LinuxEventQueue;Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:80)
>     [junit]  14: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.enqueue(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEventQueue.java:94)
>     [junit]  15: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.dispatchEvent()V (LinuxEventQueue.java:86)
>     [junit]  16: org/apache/harmony/awt/wtk/NativeEventThread.runModalLoop()V (NativeEventThread.java:59)
>     [junit]  17: org/apache/harmony/awt/wtk/NativeEventThread.run()V (NativeEventThread.java:54)
>     [junit]  18: java/lang/Thread.runImpl()V (Thread.java:672)
>     [junit]  19: vm_invoke_native_array_stub (/export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
>     [junit]  20: .L59 (??:-1)
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]  21: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (??:-1)
>     [junit]  22: ExecuteMethod (??:-1)
>     [junit]  23: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) (??:-1)
>     [junit]  24: call_method_no_ref_result(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*, jvalue*, int) (??:-1)
>     [junit]  25: wrapper_proc (??:-1)
>     [junit]  26: thread_start_proc (??:-1)
>     [junit]  27: start_thread (??:-1)
>     [junit] Tests run: 16, Failures: 0, Errors: 0, Time elapsed: 0.044 sec
>     [junit]  28: clone (??:-1)
>     [junit] <end of stack trace>

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


[jira] Commented: (HARMONY-3664) [classlib][awt] Crash in awt tests

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

Alexey Varlamov commented on HARMONY-3664:
------------------------------------------

Well, I could not understand for sure either, from HARMONY-3541 description ;) They look similar, though.
Actually, many of AWT tests cause crashes, just run a few times the following cmd on a multicore box: 
classlib> ant test -Dtest.jre.home=<drlvm> -Dbuild.module=awt 
Nearly every second run aborts, on а different test. 
Unfortunately I cannot say now which particular test caused the stack above - it is rare luck to get the full stack (see HARMONY-3666). 

> [classlib][awt] Crash in awt tests
> ----------------------------------
>
>                 Key: HARMONY-3664
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib, DRLVM
>         Environment: Linux@ia32
>            Reporter: Alexey Varlamov
>
> AWT unit tests segfault quite often when run on DRLVM. Usually VM fails to print stackstrace (Just says "SIGSEGV in VM code."), but once I got the following trace:
>     [junit] SIGSEGV in VM code.
>     [junit] Stack trace:
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]   0: free (??:-1)
>     [junit]   1: XFree (??:-1)
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]   2: Java_org_apache_harmony_awt_nativebridge_linux_X11_XFree (/export/users/avarlamo/linux.ia32/svn-repo/classlib/modules/awt/src/main/native/x11wrapper/unix/org_apache_harmony_awt_nativebridge_linux_X11.cpp:199)
>     [junit]   3: 0x54A115B1  <Generated stub>
>     [junit]   4: org/apache/harmony/awt/nativebridge/linux/X11.XFree(Lorg/apache/harmony/awt/nativebridge/VoidPointer;)I (X11.java:918)
>     [junit]   5: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID(J)J (LinuxWindow.java:642)
>     [junit]   6: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID()J (LinuxWindow.java:618)
>     [junit]   7: org/apache/harmony/awt/wtk/linux/LinuxWindow.getBounds()Ljava/awt/Rectangle; (LinuxWindow.java:347)
>     [junit]   8: org/apache/harmony/awt/wtk/linux/LinuxWindow.setInsets(Ljava/awt/Insets;)V (LinuxWindow.java:847)
>     [junit]   9: org/apache/harmony/awt/wtk/linux/LinuxWindow.updateInsets()Ljava/awt/Insets; (LinuxWindow.java:390)
>     [junit]  10: org/apache/harmony/awt/wtk/linux/LinuxEvent.processInsetsChange(Ljava/awt/Insets;)V (LinuxEvent.java:452)
>     [junit]  11: org/apache/harmony/awt/wtk/linux/LinuxEvent.processReparentEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XReparentEvent;)V (LinuxEvent.java:247)
>     [junit]  12: org/apache/harmony/awt/wtk/linux/LinuxEvent.setEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:166)
>     [junit]  13: org/apache/harmony/awt/wtk/linux/LinuxEvent.<init>(Lorg/apache/harmony/awt/wtk/linux/LinuxWindowFactory;Lorg/apache/harmony/awt/wtk/linux/LinuxEventQueue;Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:80)
>     [junit]  14: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.enqueue(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEventQueue.java:94)
>     [junit]  15: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.dispatchEvent()V (LinuxEventQueue.java:86)
>     [junit]  16: org/apache/harmony/awt/wtk/NativeEventThread.runModalLoop()V (NativeEventThread.java:59)
>     [junit]  17: org/apache/harmony/awt/wtk/NativeEventThread.run()V (NativeEventThread.java:54)
>     [junit]  18: java/lang/Thread.runImpl()V (Thread.java:672)
>     [junit]  19: vm_invoke_native_array_stub (/export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
>     [junit]  20: .L59 (??:-1)
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]  21: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (??:-1)
>     [junit]  22: ExecuteMethod (??:-1)
>     [junit]  23: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) (??:-1)
>     [junit]  24: call_method_no_ref_result(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*, jvalue*, int) (??:-1)
>     [junit]  25: wrapper_proc (??:-1)
>     [junit]  26: thread_start_proc (??:-1)
>     [junit]  27: start_thread (??:-1)
>     [junit] Tests run: 16, Failures: 0, Errors: 0, Time elapsed: 0.044 sec
>     [junit]  28: clone (??:-1)
>     [junit] <end of stack trace>

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


[jira] Updated: (HARMONY-3664) [classlib][awt] Crash in awt tests

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

Alexey Petrenko updated HARMONY-3664:
-------------------------------------

    Summary: [classlib][awt] Crash in awt tests  (was: [drlvm][awt] Crash in awt tests)

> [classlib][awt] Crash in awt tests
> ----------------------------------
>
>                 Key: HARMONY-3664
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib, DRLVM
>         Environment: Linux@ia32
>            Reporter: Alexey Varlamov
>
> AWT unit tests segfault quite often when run on DRLVM. Usually VM fails to print stackstrace (Just says "SIGSEGV in VM code."), but once I got the following trace:
>     [junit] SIGSEGV in VM code.
>     [junit] Stack trace:
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]   0: free (??:-1)
>     [junit]   1: XFree (??:-1)
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]   2: Java_org_apache_harmony_awt_nativebridge_linux_X11_XFree (/export/users/avarlamo/linux.ia32/svn-repo/classlib/modules/awt/src/main/native/x11wrapper/unix/org_apache_harmony_awt_nativebridge_linux_X11.cpp:199)
>     [junit]   3: 0x54A115B1  <Generated stub>
>     [junit]   4: org/apache/harmony/awt/nativebridge/linux/X11.XFree(Lorg/apache/harmony/awt/nativebridge/VoidPointer;)I (X11.java:918)
>     [junit]   5: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID(J)J (LinuxWindow.java:642)
>     [junit]   6: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID()J (LinuxWindow.java:618)
>     [junit]   7: org/apache/harmony/awt/wtk/linux/LinuxWindow.getBounds()Ljava/awt/Rectangle; (LinuxWindow.java:347)
>     [junit]   8: org/apache/harmony/awt/wtk/linux/LinuxWindow.setInsets(Ljava/awt/Insets;)V (LinuxWindow.java:847)
>     [junit]   9: org/apache/harmony/awt/wtk/linux/LinuxWindow.updateInsets()Ljava/awt/Insets; (LinuxWindow.java:390)
>     [junit]  10: org/apache/harmony/awt/wtk/linux/LinuxEvent.processInsetsChange(Ljava/awt/Insets;)V (LinuxEvent.java:452)
>     [junit]  11: org/apache/harmony/awt/wtk/linux/LinuxEvent.processReparentEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XReparentEvent;)V (LinuxEvent.java:247)
>     [junit]  12: org/apache/harmony/awt/wtk/linux/LinuxEvent.setEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:166)
>     [junit]  13: org/apache/harmony/awt/wtk/linux/LinuxEvent.<init>(Lorg/apache/harmony/awt/wtk/linux/LinuxWindowFactory;Lorg/apache/harmony/awt/wtk/linux/LinuxEventQueue;Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:80)
>     [junit]  14: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.enqueue(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEventQueue.java:94)
>     [junit]  15: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.dispatchEvent()V (LinuxEventQueue.java:86)
>     [junit]  16: org/apache/harmony/awt/wtk/NativeEventThread.runModalLoop()V (NativeEventThread.java:59)
>     [junit]  17: org/apache/harmony/awt/wtk/NativeEventThread.run()V (NativeEventThread.java:54)
>     [junit]  18: java/lang/Thread.runImpl()V (Thread.java:672)
>     [junit]  19: vm_invoke_native_array_stub (/export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
>     [junit]  20: .L59 (??:-1)
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]  21: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (??:-1)
>     [junit]  22: ExecuteMethod (??:-1)
>     [junit]  23: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) (??:-1)
>     [junit]  24: call_method_no_ref_result(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*, jvalue*, int) (??:-1)
>     [junit]  25: wrapper_proc (??:-1)
>     [junit]  26: thread_start_proc (??:-1)
>     [junit]  27: start_thread (??:-1)
>     [junit] Tests run: 16, Failures: 0, Errors: 0, Time elapsed: 0.044 sec
>     [junit]  28: clone (??:-1)
>     [junit] <end of stack trace>

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


[jira] Updated: (HARMONY-3664) [classlib][awt] Crash in awt tests

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

Gregory Shimansky updated HARMONY-3664:
---------------------------------------

    Component/s:     (was: DRLVM)

> [classlib][awt] Crash in awt tests
> ----------------------------------
>
>                 Key: HARMONY-3664
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux@ia32
>            Reporter: Alexey Varlamov
>         Assigned To: Alexey Petrenko
>
> AWT unit tests segfault quite often when run on DRLVM. Usually VM fails to print stackstrace (Just says "SIGSEGV in VM code."), but once I got the following trace:
>     [junit] SIGSEGV in VM code.
>     [junit] Stack trace:
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]   0: free (??:-1)
>     [junit]   1: XFree (??:-1)
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]   2: Java_org_apache_harmony_awt_nativebridge_linux_X11_XFree (/export/users/avarlamo/linux.ia32/svn-repo/classlib/modules/awt/src/main/native/x11wrapper/unix/org_apache_harmony_awt_nativebridge_linux_X11.cpp:199)
>     [junit]   3: 0x54A115B1  <Generated stub>
>     [junit]   4: org/apache/harmony/awt/nativebridge/linux/X11.XFree(Lorg/apache/harmony/awt/nativebridge/VoidPointer;)I (X11.java:918)
>     [junit]   5: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID(J)J (LinuxWindow.java:642)
>     [junit]   6: org/apache/harmony/awt/wtk/linux/LinuxWindow.getParentID()J (LinuxWindow.java:618)
>     [junit]   7: org/apache/harmony/awt/wtk/linux/LinuxWindow.getBounds()Ljava/awt/Rectangle; (LinuxWindow.java:347)
>     [junit]   8: org/apache/harmony/awt/wtk/linux/LinuxWindow.setInsets(Ljava/awt/Insets;)V (LinuxWindow.java:847)
>     [junit]   9: org/apache/harmony/awt/wtk/linux/LinuxWindow.updateInsets()Ljava/awt/Insets; (LinuxWindow.java:390)
>     [junit]  10: org/apache/harmony/awt/wtk/linux/LinuxEvent.processInsetsChange(Ljava/awt/Insets;)V (LinuxEvent.java:452)
>     [junit]  11: org/apache/harmony/awt/wtk/linux/LinuxEvent.processReparentEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XReparentEvent;)V (LinuxEvent.java:247)
>     [junit]  12: org/apache/harmony/awt/wtk/linux/LinuxEvent.setEvent(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:166)
>     [junit]  13: org/apache/harmony/awt/wtk/linux/LinuxEvent.<init>(Lorg/apache/harmony/awt/wtk/linux/LinuxWindowFactory;Lorg/apache/harmony/awt/wtk/linux/LinuxEventQueue;Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEvent.java:80)
>     [junit]  14: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.enqueue(Lorg/apache/harmony/awt/nativebridge/linux/X11$XEvent;)V (LinuxEventQueue.java:94)
>     [junit]  15: org/apache/harmony/awt/wtk/linux/LinuxEventQueue.dispatchEvent()V (LinuxEventQueue.java:86)
>     [junit]  16: org/apache/harmony/awt/wtk/NativeEventThread.runModalLoop()V (NativeEventThread.java:59)
>     [junit]  17: org/apache/harmony/awt/wtk/NativeEventThread.run()V (NativeEventThread.java:54)
>     [junit]  18: java/lang/Thread.runImpl()V (Thread.java:672)
>     [junit]  19: vm_invoke_native_array_stub (/export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
>     [junit]  20: .L59 (??:-1)
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]  21: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (??:-1)
>     [junit]  22: ExecuteMethod (??:-1)
>     [junit]  23: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) (??:-1)
>     [junit]  24: call_method_no_ref_result(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*, jvalue*, int) (??:-1)
>     [junit]  25: wrapper_proc (??:-1)
>     [junit]  26: thread_start_proc (??:-1)
>     [junit]  27: start_thread (??:-1)
>     [junit] Tests run: 16, Failures: 0, Errors: 0, Time elapsed: 0.044 sec
>     [junit]  28: clone (??:-1)
>     [junit] <end of stack trace>

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