You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrey Pavlenko (JIRA)" <ji...@apache.org> on 2008/04/08 13:51:24 UTC

[jira] Created: (HARMONY-5700) [drlvm][JIT] VM crash during deserialization

[drlvm][JIT] VM crash during deserialization
--------------------------------------------

                 Key: HARMONY-5700
                 URL: https://issues.apache.org/jira/browse/HARMONY-5700
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: Windows x86
            Reporter: Andrey Pavlenko


The functional tests functional.org.apache.harmony.test.func.api.java.io.ObjectOutputStream.* intermittently crash DRLVM on Windows x86 with the below stack. Please find the reproducer attached. More details can be found here: http://people.apache.org/~smishura/r644719/Windows_x86/func/junit/index.html.

Stack trace:
  0: JIT_compile_method_with_params (:-1)
  1: JIT_compile_method_with_params (:-1)
  2: JIT_compile_method_with_params (:-1)
  3: JIT_compile_method_with_params (:-1)
  4: JIT_compile_method_with_params (:-1)
  5: JIT_compile_method_with_params (:-1)
  6: JIT_compile_method_with_params (:-1)
  7: JIT_compile_method_with_params (:-1)
  8: JIT_compile_method_with_params (:-1)
  9: JIT_compile_method_with_params (:-1)
 10: JIT_compile_method_with_params (:-1)
 11: JIT_compile_method_with_params (:-1)
 12: free (:-1)
 13: free (:-1)
 14: JIT_compile_method_with_params (:-1)
 15: JIT_compile_method_with_params (:-1)
 16: JIT_compile_method_with_params (:-1)
 17: JIT_compile_method_with_params (:-1)
 18: JIT_compile_method_with_params (:-1)
 19: JIT_compile_method_with_params (:-1)
 20: JIT_compile_method_with_params (:-1)
 21: __crtLCMapStringA (:-1)
 22: __crtLCMapStringA (:-1)
 23: __crtLCMapStringA (:-1)
 24: JIT_compile_method_with_params (:-1)
 25: JIT_compile_method_with_params (:-1)
 26: JIT_compile_method_with_params (:-1)
 27: JIT_compile_method_with_params (:-1)
 28: JIT_compile_method_with_params (:-1)
 29: JIT_compile_method_with_params (:-1)
 30: compiled_method_load (:-1)
 31: ?LookupLoader@ClassLoader@@SAPAU1@PAUManagedObject@@@Z (:-1)
 32: vm_compile_method (:-1)
 33: EmInitialize (:-1)
 34: _port_executable_name@4 (:-1)
 35: _port_executable_name@4 (:-1)
 36: _apr_atomic_inc32@4 (:-1)
 37: _port_executable_name@4 (:-1)
 38: log_printf (:-1)
 39: _port_executable_name@4 (:-1)
 40: _port_executable_name@4 (:-1)
 41: free (:-1)
 42: free (:-1)
 43: compiled_method_load (:-1)
 44: compiled_method_load (:-1)
 45: _apr_atomic_casptr@12 (:-1)
 46: NtSetEventBoostPriority (:-1)
 47: RtlpUnWaitCriticalSection (:-1)
 48: RtlpUnWaitCriticalSection (:-1)
 49:  (:-1)
 50: ?LookupLoader@ClassLoader@@SAPAU1@PAUManagedObject@@@Z (:-1)
 51: compiled_method_load (:-1)
 52: ?is_unwindable@@YA_NXZ (:-1)
 53: stub::unknown
 54: java/io/ObjectInputStream::readClassDescriptor (()Ljava/io/ObjectStreamClass;): ObjectInputStream.java:1783
 55: java/io/ObjectInputStream::readNewClassDesc ((Z)Ljava/io/ObjectStreamClass;): ObjectInputStream.java:1702
 56: java/io/ObjectInputStream::readClassDesc (()Ljava/io/ObjectStreamClass;): ObjectInputStream.java:713
 57: java/io/ObjectInputStream::readNewObject ((Z)Ljava/lang/Object;): ObjectInputStream.java:1861
 58: java/io/ObjectInputStream::readNonPrimitiveContent ((Z)Ljava/lang/Object;): ObjectInputStream.java:817
 59: java/io/ObjectInputStream::readObject ((Z)Ljava/lang/Object;): ObjectInputStream.java:2131
 60: java/io/ObjectInputStream::readObject (()Ljava/lang/Object;): ObjectInputStream.java:2086


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


[jira] Resolved: (HARMONY-5700) [drlvm][JIT] VM crash during deserialization

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

Mikhail Fursov resolved HARMONY-5700.
-------------------------------------

    Resolution: Fixed

committed revision r646379

> [drlvm][JIT] VM crash during deserialization
> --------------------------------------------
>
>                 Key: HARMONY-5700
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5700
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows x86
>            Reporter: Andrey Pavlenko
>            Assignee: Mikhail Fursov
>         Attachments: jet.patch, Test.java
>
>
> The functional tests functional.org.apache.harmony.test.func.api.java.io.ObjectOutputStream.* intermittently crash DRLVM on Windows x86 with the below stack. Please find the reproducer attached. More details can be found here: http://people.apache.org/~smishura/r644719/Windows_x86/func/junit/index.html.
> Stack trace:
>   0: JIT_compile_method_with_params (:-1)
>   1: JIT_compile_method_with_params (:-1)
>   2: JIT_compile_method_with_params (:-1)
>   3: JIT_compile_method_with_params (:-1)
>   4: JIT_compile_method_with_params (:-1)
>   5: JIT_compile_method_with_params (:-1)
>   6: JIT_compile_method_with_params (:-1)
>   7: JIT_compile_method_with_params (:-1)
>   8: JIT_compile_method_with_params (:-1)
>   9: JIT_compile_method_with_params (:-1)
>  10: JIT_compile_method_with_params (:-1)
>  11: JIT_compile_method_with_params (:-1)
>  12: free (:-1)
>  13: free (:-1)
>  14: JIT_compile_method_with_params (:-1)
>  15: JIT_compile_method_with_params (:-1)
>  16: JIT_compile_method_with_params (:-1)
>  17: JIT_compile_method_with_params (:-1)
>  18: JIT_compile_method_with_params (:-1)
>  19: JIT_compile_method_with_params (:-1)
>  20: JIT_compile_method_with_params (:-1)
>  21: __crtLCMapStringA (:-1)
>  22: __crtLCMapStringA (:-1)
>  23: __crtLCMapStringA (:-1)
>  24: JIT_compile_method_with_params (:-1)
>  25: JIT_compile_method_with_params (:-1)
>  26: JIT_compile_method_with_params (:-1)
>  27: JIT_compile_method_with_params (:-1)
>  28: JIT_compile_method_with_params (:-1)
>  29: JIT_compile_method_with_params (:-1)
>  30: compiled_method_load (:-1)
>  31: ?LookupLoader@ClassLoader@@SAPAU1@PAUManagedObject@@@Z (:-1)
>  32: vm_compile_method (:-1)
>  33: EmInitialize (:-1)
>  34: _port_executable_name@4 (:-1)
>  35: _port_executable_name@4 (:-1)
>  36: _apr_atomic_inc32@4 (:-1)
>  37: _port_executable_name@4 (:-1)
>  38: log_printf (:-1)
>  39: _port_executable_name@4 (:-1)
>  40: _port_executable_name@4 (:-1)
>  41: free (:-1)
>  42: free (:-1)
>  43: compiled_method_load (:-1)
>  44: compiled_method_load (:-1)
>  45: _apr_atomic_casptr@12 (:-1)
>  46: NtSetEventBoostPriority (:-1)
>  47: RtlpUnWaitCriticalSection (:-1)
>  48: RtlpUnWaitCriticalSection (:-1)
>  49:  (:-1)
>  50: ?LookupLoader@ClassLoader@@SAPAU1@PAUManagedObject@@@Z (:-1)
>  51: compiled_method_load (:-1)
>  52: ?is_unwindable@@YA_NXZ (:-1)
>  53: stub::unknown
>  54: java/io/ObjectInputStream::readClassDescriptor (()Ljava/io/ObjectStreamClass;): ObjectInputStream.java:1783
>  55: java/io/ObjectInputStream::readNewClassDesc ((Z)Ljava/io/ObjectStreamClass;): ObjectInputStream.java:1702
>  56: java/io/ObjectInputStream::readClassDesc (()Ljava/io/ObjectStreamClass;): ObjectInputStream.java:713
>  57: java/io/ObjectInputStream::readNewObject ((Z)Ljava/lang/Object;): ObjectInputStream.java:1861
>  58: java/io/ObjectInputStream::readNonPrimitiveContent ((Z)Ljava/lang/Object;): ObjectInputStream.java:817
>  59: java/io/ObjectInputStream::readObject ((Z)Ljava/lang/Object;): ObjectInputStream.java:2131
>  60: java/io/ObjectInputStream::readObject (()Ljava/lang/Object;): ObjectInputStream.java:2086

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


[jira] Updated: (HARMONY-5700) [drlvm][JIT] VM crash during deserialization

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

Mikhail Fursov updated HARMONY-5700:
------------------------------------

    Attachment: jet.patch

jet.patch: wraps all local static object declaration with synchronized section.

> [drlvm][JIT] VM crash during deserialization
> --------------------------------------------
>
>                 Key: HARMONY-5700
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5700
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows x86
>            Reporter: Andrey Pavlenko
>            Assignee: Mikhail Fursov
>         Attachments: jet.patch, Test.java
>
>
> The functional tests functional.org.apache.harmony.test.func.api.java.io.ObjectOutputStream.* intermittently crash DRLVM on Windows x86 with the below stack. Please find the reproducer attached. More details can be found here: http://people.apache.org/~smishura/r644719/Windows_x86/func/junit/index.html.
> Stack trace:
>   0: JIT_compile_method_with_params (:-1)
>   1: JIT_compile_method_with_params (:-1)
>   2: JIT_compile_method_with_params (:-1)
>   3: JIT_compile_method_with_params (:-1)
>   4: JIT_compile_method_with_params (:-1)
>   5: JIT_compile_method_with_params (:-1)
>   6: JIT_compile_method_with_params (:-1)
>   7: JIT_compile_method_with_params (:-1)
>   8: JIT_compile_method_with_params (:-1)
>   9: JIT_compile_method_with_params (:-1)
>  10: JIT_compile_method_with_params (:-1)
>  11: JIT_compile_method_with_params (:-1)
>  12: free (:-1)
>  13: free (:-1)
>  14: JIT_compile_method_with_params (:-1)
>  15: JIT_compile_method_with_params (:-1)
>  16: JIT_compile_method_with_params (:-1)
>  17: JIT_compile_method_with_params (:-1)
>  18: JIT_compile_method_with_params (:-1)
>  19: JIT_compile_method_with_params (:-1)
>  20: JIT_compile_method_with_params (:-1)
>  21: __crtLCMapStringA (:-1)
>  22: __crtLCMapStringA (:-1)
>  23: __crtLCMapStringA (:-1)
>  24: JIT_compile_method_with_params (:-1)
>  25: JIT_compile_method_with_params (:-1)
>  26: JIT_compile_method_with_params (:-1)
>  27: JIT_compile_method_with_params (:-1)
>  28: JIT_compile_method_with_params (:-1)
>  29: JIT_compile_method_with_params (:-1)
>  30: compiled_method_load (:-1)
>  31: ?LookupLoader@ClassLoader@@SAPAU1@PAUManagedObject@@@Z (:-1)
>  32: vm_compile_method (:-1)
>  33: EmInitialize (:-1)
>  34: _port_executable_name@4 (:-1)
>  35: _port_executable_name@4 (:-1)
>  36: _apr_atomic_inc32@4 (:-1)
>  37: _port_executable_name@4 (:-1)
>  38: log_printf (:-1)
>  39: _port_executable_name@4 (:-1)
>  40: _port_executable_name@4 (:-1)
>  41: free (:-1)
>  42: free (:-1)
>  43: compiled_method_load (:-1)
>  44: compiled_method_load (:-1)
>  45: _apr_atomic_casptr@12 (:-1)
>  46: NtSetEventBoostPriority (:-1)
>  47: RtlpUnWaitCriticalSection (:-1)
>  48: RtlpUnWaitCriticalSection (:-1)
>  49:  (:-1)
>  50: ?LookupLoader@ClassLoader@@SAPAU1@PAUManagedObject@@@Z (:-1)
>  51: compiled_method_load (:-1)
>  52: ?is_unwindable@@YA_NXZ (:-1)
>  53: stub::unknown
>  54: java/io/ObjectInputStream::readClassDescriptor (()Ljava/io/ObjectStreamClass;): ObjectInputStream.java:1783
>  55: java/io/ObjectInputStream::readNewClassDesc ((Z)Ljava/io/ObjectStreamClass;): ObjectInputStream.java:1702
>  56: java/io/ObjectInputStream::readClassDesc (()Ljava/io/ObjectStreamClass;): ObjectInputStream.java:713
>  57: java/io/ObjectInputStream::readNewObject ((Z)Ljava/lang/Object;): ObjectInputStream.java:1861
>  58: java/io/ObjectInputStream::readNonPrimitiveContent ((Z)Ljava/lang/Object;): ObjectInputStream.java:817
>  59: java/io/ObjectInputStream::readObject ((Z)Ljava/lang/Object;): ObjectInputStream.java:2131
>  60: java/io/ObjectInputStream::readObject (()Ljava/lang/Object;): ObjectInputStream.java:2086

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


[jira] Commented: (HARMONY-5700) [drlvm][JIT] VM crash during deserialization

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

Andrey Pavlenko commented on HARMONY-5700:
------------------------------------------

The issue is not reproducible after applying the patch.

> [drlvm][JIT] VM crash during deserialization
> --------------------------------------------
>
>                 Key: HARMONY-5700
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5700
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows x86
>            Reporter: Andrey Pavlenko
>            Assignee: Mikhail Fursov
>         Attachments: jet.patch, Test.java
>
>
> The functional tests functional.org.apache.harmony.test.func.api.java.io.ObjectOutputStream.* intermittently crash DRLVM on Windows x86 with the below stack. Please find the reproducer attached. More details can be found here: http://people.apache.org/~smishura/r644719/Windows_x86/func/junit/index.html.
> Stack trace:
>   0: JIT_compile_method_with_params (:-1)
>   1: JIT_compile_method_with_params (:-1)
>   2: JIT_compile_method_with_params (:-1)
>   3: JIT_compile_method_with_params (:-1)
>   4: JIT_compile_method_with_params (:-1)
>   5: JIT_compile_method_with_params (:-1)
>   6: JIT_compile_method_with_params (:-1)
>   7: JIT_compile_method_with_params (:-1)
>   8: JIT_compile_method_with_params (:-1)
>   9: JIT_compile_method_with_params (:-1)
>  10: JIT_compile_method_with_params (:-1)
>  11: JIT_compile_method_with_params (:-1)
>  12: free (:-1)
>  13: free (:-1)
>  14: JIT_compile_method_with_params (:-1)
>  15: JIT_compile_method_with_params (:-1)
>  16: JIT_compile_method_with_params (:-1)
>  17: JIT_compile_method_with_params (:-1)
>  18: JIT_compile_method_with_params (:-1)
>  19: JIT_compile_method_with_params (:-1)
>  20: JIT_compile_method_with_params (:-1)
>  21: __crtLCMapStringA (:-1)
>  22: __crtLCMapStringA (:-1)
>  23: __crtLCMapStringA (:-1)
>  24: JIT_compile_method_with_params (:-1)
>  25: JIT_compile_method_with_params (:-1)
>  26: JIT_compile_method_with_params (:-1)
>  27: JIT_compile_method_with_params (:-1)
>  28: JIT_compile_method_with_params (:-1)
>  29: JIT_compile_method_with_params (:-1)
>  30: compiled_method_load (:-1)
>  31: ?LookupLoader@ClassLoader@@SAPAU1@PAUManagedObject@@@Z (:-1)
>  32: vm_compile_method (:-1)
>  33: EmInitialize (:-1)
>  34: _port_executable_name@4 (:-1)
>  35: _port_executable_name@4 (:-1)
>  36: _apr_atomic_inc32@4 (:-1)
>  37: _port_executable_name@4 (:-1)
>  38: log_printf (:-1)
>  39: _port_executable_name@4 (:-1)
>  40: _port_executable_name@4 (:-1)
>  41: free (:-1)
>  42: free (:-1)
>  43: compiled_method_load (:-1)
>  44: compiled_method_load (:-1)
>  45: _apr_atomic_casptr@12 (:-1)
>  46: NtSetEventBoostPriority (:-1)
>  47: RtlpUnWaitCriticalSection (:-1)
>  48: RtlpUnWaitCriticalSection (:-1)
>  49:  (:-1)
>  50: ?LookupLoader@ClassLoader@@SAPAU1@PAUManagedObject@@@Z (:-1)
>  51: compiled_method_load (:-1)
>  52: ?is_unwindable@@YA_NXZ (:-1)
>  53: stub::unknown
>  54: java/io/ObjectInputStream::readClassDescriptor (()Ljava/io/ObjectStreamClass;): ObjectInputStream.java:1783
>  55: java/io/ObjectInputStream::readNewClassDesc ((Z)Ljava/io/ObjectStreamClass;): ObjectInputStream.java:1702
>  56: java/io/ObjectInputStream::readClassDesc (()Ljava/io/ObjectStreamClass;): ObjectInputStream.java:713
>  57: java/io/ObjectInputStream::readNewObject ((Z)Ljava/lang/Object;): ObjectInputStream.java:1861
>  58: java/io/ObjectInputStream::readNonPrimitiveContent ((Z)Ljava/lang/Object;): ObjectInputStream.java:817
>  59: java/io/ObjectInputStream::readObject ((Z)Ljava/lang/Object;): ObjectInputStream.java:2131
>  60: java/io/ObjectInputStream::readObject (()Ljava/lang/Object;): ObjectInputStream.java:2086

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


[jira] Assigned: (HARMONY-5700) [drlvm][JIT] VM crash during deserialization

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

Mikhail Fursov reassigned HARMONY-5700:
---------------------------------------

    Assignee: Mikhail Fursov

> [drlvm][JIT] VM crash during deserialization
> --------------------------------------------
>
>                 Key: HARMONY-5700
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5700
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows x86
>            Reporter: Andrey Pavlenko
>            Assignee: Mikhail Fursov
>         Attachments: Test.java
>
>
> The functional tests functional.org.apache.harmony.test.func.api.java.io.ObjectOutputStream.* intermittently crash DRLVM on Windows x86 with the below stack. Please find the reproducer attached. More details can be found here: http://people.apache.org/~smishura/r644719/Windows_x86/func/junit/index.html.
> Stack trace:
>   0: JIT_compile_method_with_params (:-1)
>   1: JIT_compile_method_with_params (:-1)
>   2: JIT_compile_method_with_params (:-1)
>   3: JIT_compile_method_with_params (:-1)
>   4: JIT_compile_method_with_params (:-1)
>   5: JIT_compile_method_with_params (:-1)
>   6: JIT_compile_method_with_params (:-1)
>   7: JIT_compile_method_with_params (:-1)
>   8: JIT_compile_method_with_params (:-1)
>   9: JIT_compile_method_with_params (:-1)
>  10: JIT_compile_method_with_params (:-1)
>  11: JIT_compile_method_with_params (:-1)
>  12: free (:-1)
>  13: free (:-1)
>  14: JIT_compile_method_with_params (:-1)
>  15: JIT_compile_method_with_params (:-1)
>  16: JIT_compile_method_with_params (:-1)
>  17: JIT_compile_method_with_params (:-1)
>  18: JIT_compile_method_with_params (:-1)
>  19: JIT_compile_method_with_params (:-1)
>  20: JIT_compile_method_with_params (:-1)
>  21: __crtLCMapStringA (:-1)
>  22: __crtLCMapStringA (:-1)
>  23: __crtLCMapStringA (:-1)
>  24: JIT_compile_method_with_params (:-1)
>  25: JIT_compile_method_with_params (:-1)
>  26: JIT_compile_method_with_params (:-1)
>  27: JIT_compile_method_with_params (:-1)
>  28: JIT_compile_method_with_params (:-1)
>  29: JIT_compile_method_with_params (:-1)
>  30: compiled_method_load (:-1)
>  31: ?LookupLoader@ClassLoader@@SAPAU1@PAUManagedObject@@@Z (:-1)
>  32: vm_compile_method (:-1)
>  33: EmInitialize (:-1)
>  34: _port_executable_name@4 (:-1)
>  35: _port_executable_name@4 (:-1)
>  36: _apr_atomic_inc32@4 (:-1)
>  37: _port_executable_name@4 (:-1)
>  38: log_printf (:-1)
>  39: _port_executable_name@4 (:-1)
>  40: _port_executable_name@4 (:-1)
>  41: free (:-1)
>  42: free (:-1)
>  43: compiled_method_load (:-1)
>  44: compiled_method_load (:-1)
>  45: _apr_atomic_casptr@12 (:-1)
>  46: NtSetEventBoostPriority (:-1)
>  47: RtlpUnWaitCriticalSection (:-1)
>  48: RtlpUnWaitCriticalSection (:-1)
>  49:  (:-1)
>  50: ?LookupLoader@ClassLoader@@SAPAU1@PAUManagedObject@@@Z (:-1)
>  51: compiled_method_load (:-1)
>  52: ?is_unwindable@@YA_NXZ (:-1)
>  53: stub::unknown
>  54: java/io/ObjectInputStream::readClassDescriptor (()Ljava/io/ObjectStreamClass;): ObjectInputStream.java:1783
>  55: java/io/ObjectInputStream::readNewClassDesc ((Z)Ljava/io/ObjectStreamClass;): ObjectInputStream.java:1702
>  56: java/io/ObjectInputStream::readClassDesc (()Ljava/io/ObjectStreamClass;): ObjectInputStream.java:713
>  57: java/io/ObjectInputStream::readNewObject ((Z)Ljava/lang/Object;): ObjectInputStream.java:1861
>  58: java/io/ObjectInputStream::readNonPrimitiveContent ((Z)Ljava/lang/Object;): ObjectInputStream.java:817
>  59: java/io/ObjectInputStream::readObject ((Z)Ljava/lang/Object;): ObjectInputStream.java:2131
>  60: java/io/ObjectInputStream::readObject (()Ljava/lang/Object;): ObjectInputStream.java:2086

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


[jira] Updated: (HARMONY-5700) [drlvm][JIT] VM crash during deserialization

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

Andrey Pavlenko updated HARMONY-5700:
-------------------------------------

    Attachment: Test.java

> [drlvm][JIT] VM crash during deserialization
> --------------------------------------------
>
>                 Key: HARMONY-5700
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5700
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows x86
>            Reporter: Andrey Pavlenko
>         Attachments: Test.java
>
>
> The functional tests functional.org.apache.harmony.test.func.api.java.io.ObjectOutputStream.* intermittently crash DRLVM on Windows x86 with the below stack. Please find the reproducer attached. More details can be found here: http://people.apache.org/~smishura/r644719/Windows_x86/func/junit/index.html.
> Stack trace:
>   0: JIT_compile_method_with_params (:-1)
>   1: JIT_compile_method_with_params (:-1)
>   2: JIT_compile_method_with_params (:-1)
>   3: JIT_compile_method_with_params (:-1)
>   4: JIT_compile_method_with_params (:-1)
>   5: JIT_compile_method_with_params (:-1)
>   6: JIT_compile_method_with_params (:-1)
>   7: JIT_compile_method_with_params (:-1)
>   8: JIT_compile_method_with_params (:-1)
>   9: JIT_compile_method_with_params (:-1)
>  10: JIT_compile_method_with_params (:-1)
>  11: JIT_compile_method_with_params (:-1)
>  12: free (:-1)
>  13: free (:-1)
>  14: JIT_compile_method_with_params (:-1)
>  15: JIT_compile_method_with_params (:-1)
>  16: JIT_compile_method_with_params (:-1)
>  17: JIT_compile_method_with_params (:-1)
>  18: JIT_compile_method_with_params (:-1)
>  19: JIT_compile_method_with_params (:-1)
>  20: JIT_compile_method_with_params (:-1)
>  21: __crtLCMapStringA (:-1)
>  22: __crtLCMapStringA (:-1)
>  23: __crtLCMapStringA (:-1)
>  24: JIT_compile_method_with_params (:-1)
>  25: JIT_compile_method_with_params (:-1)
>  26: JIT_compile_method_with_params (:-1)
>  27: JIT_compile_method_with_params (:-1)
>  28: JIT_compile_method_with_params (:-1)
>  29: JIT_compile_method_with_params (:-1)
>  30: compiled_method_load (:-1)
>  31: ?LookupLoader@ClassLoader@@SAPAU1@PAUManagedObject@@@Z (:-1)
>  32: vm_compile_method (:-1)
>  33: EmInitialize (:-1)
>  34: _port_executable_name@4 (:-1)
>  35: _port_executable_name@4 (:-1)
>  36: _apr_atomic_inc32@4 (:-1)
>  37: _port_executable_name@4 (:-1)
>  38: log_printf (:-1)
>  39: _port_executable_name@4 (:-1)
>  40: _port_executable_name@4 (:-1)
>  41: free (:-1)
>  42: free (:-1)
>  43: compiled_method_load (:-1)
>  44: compiled_method_load (:-1)
>  45: _apr_atomic_casptr@12 (:-1)
>  46: NtSetEventBoostPriority (:-1)
>  47: RtlpUnWaitCriticalSection (:-1)
>  48: RtlpUnWaitCriticalSection (:-1)
>  49:  (:-1)
>  50: ?LookupLoader@ClassLoader@@SAPAU1@PAUManagedObject@@@Z (:-1)
>  51: compiled_method_load (:-1)
>  52: ?is_unwindable@@YA_NXZ (:-1)
>  53: stub::unknown
>  54: java/io/ObjectInputStream::readClassDescriptor (()Ljava/io/ObjectStreamClass;): ObjectInputStream.java:1783
>  55: java/io/ObjectInputStream::readNewClassDesc ((Z)Ljava/io/ObjectStreamClass;): ObjectInputStream.java:1702
>  56: java/io/ObjectInputStream::readClassDesc (()Ljava/io/ObjectStreamClass;): ObjectInputStream.java:713
>  57: java/io/ObjectInputStream::readNewObject ((Z)Ljava/lang/Object;): ObjectInputStream.java:1861
>  58: java/io/ObjectInputStream::readNonPrimitiveContent ((Z)Ljava/lang/Object;): ObjectInputStream.java:817
>  59: java/io/ObjectInputStream::readObject ((Z)Ljava/lang/Object;): ObjectInputStream.java:2131
>  60: java/io/ObjectInputStream::readObject (()Ljava/lang/Object;): ObjectInputStream.java:2086

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