harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Leviev (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4906) [classlib][portlib][tc] race condition at hysock.c
Date Mon, 08 Oct 2007 13:24:51 GMT
[classlib][portlib][tc] race condition at hysock.c
--------------------------------------------------

                 Key: HARMONY-4906
                 URL: https://issues.apache.org/jira/browse/HARMONY-4906
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Ilya Leviev
            Priority: Minor



During execution of test.stress.jpda.jdwp.scenario.EVENT014.EventTest014 following race condition
were located by TC:
r581533

Write -> Write data-race Memory write at "hysock.c":442 conflicts with a prior memory write
at "hysock.c":2706

Stack Trace

Context
            Function m2n_free_local_handles "m2n_ia32.cpp":269
            Function jthread_get_vm_thread_ptr_stub "thread_manager.cpp":118
            Function m2n_free_local_handles "m2n_ia32.cpp":269
            Function rth_get_interface_vtable "jit_runtime_support.cpp":658
            Function jthread_get_vm_thread_ptr_stub "thread_manager.cpp":118
            Function hythread_suspend_enable "hythread_ext.h":579
            Function Java_org_apache_harmony_luni_platform_OSNetworkSystem_socketCloseImpl
"osnetworksystem.c":2533
            Function hysock_close "hysock.c":722
            Function internalCloseSocket "hysock.c":217
            Function updateSocketState "hysock.c":428

Definition
            Function jthread_get_vm_thread_ptr_stub "thread_manager.cpp":118
            Function m2n_free_local_handles "m2n_ia32.cpp":269
            Function rth_get_interface_vtable "jit_runtime_support.cpp":658
            Function jthread_get_vm_thread_ptr_stub "thread_manager.cpp":118
            Function m2n_free_local_handles "m2n_ia32.cpp":269
            Function jthread_get_vm_thread_ptr_stub "thread_manager.cpp":118
            Function hythread_suspend_enable "hythread_ext.h":579
            Function Java_org_apache_harmony_luni_platform_OSNetworkSystem_acceptStreamSocketImpl
"osnetworksystem.c":2252
            Function hysock_accept "hysock.c":564
            Function hymem_allocate_memory "hymem.c":63

1st Access
            Function hythread_self "hythread.h":488
            Function rth_get_interface_vtable "jit_runtime_support.cpp":658
            Function vm_get_gc_thread_local "c_interface.cpp":2418
            Function vm_new_vector_or_null_using_vtable_and_thread_pointer "vm_arrays.cpp":253
            Function rth_get_interface_vtable "jit_runtime_support.cpp":658
            Function jthread_get_vm_thread_ptr_stub "thread_manager.cpp":118
            Function hythread_suspend_enable "hythread_ext.h":579
            Function Java_org_apache_harmony_luni_platform_OSNetworkSystem_receiveStreamImpl
"osnetworksystem.c":2033
            Function pollSelectRead "socket.c":829
            Function hysock_select_read "hysock.c":2706

2nd Access
            Function m2n_free_local_handles "m2n_ia32.cpp":269
            Function jthread_get_vm_thread_ptr_stub "thread_manager.cpp":118
            Function m2n_free_local_handles "m2n_ia32.cpp":269
            Function rth_get_interface_vtable "jit_runtime_support.cpp":658
            Function jthread_get_vm_thread_ptr_stub "thread_manager.cpp":118
            Function hythread_suspend_enable "hythread_ext.h":579
            Function Java_org_apache_harmony_luni_platform_OSNetworkSystem_socketCloseImpl
"osnetworksystem.c":2533
            Function hysock_close "hysock.c":722
            Function internalCloseSocket "hysock.c":217
            Function updateSocketState "hysock.c":442


Please see source view screenshort.

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


Mime
View raw message