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-3425) [drlvm][thread] Race condition while alive_thread_count changing
Date Mon, 19 Mar 2007 11:25:32 GMT
[drlvm][thread] Race condition while alive_thread_count changing
----------------------------------------------------------------

                 Key: HARMONY-3425
                 URL: https://issues.apache.org/jira/browse/HARMONY-3425
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Ilya Leviev


There are thread unsafe change of alive_thread_count variable that result in race condition

that occur during concurrent execution of thread_end_count function.

Write -> Write data-race
Memory write at "thread_ti_others.c":129 conflicts with a prior memory write at "thread_ti_others.c":129

Stack Traces: 

Context
	Function hythread_create_with_group "thread_native_basic.c":141
	Function apr_thread_create "thread.c":113
	Function _beginthreadex "threadex.c":145
	Function EntryPoint "dllcrt0.c":323
	Function threadstartex "threadex.c":241
	Function dummy_worker "thread.c":79
	Function thread_start_proc "thread_native_basic.c":722
	Function wrapper_proc "thread_java_basic.c":104
	Function jthread_detach "thread_java_basic.c":301
	Function thread_end_count "thread_ti_others.c":128


1st Access
	Function hythread_create_with_group "thread_native_basic.c":141
	Function apr_thread_create "thread.c":113
	Function _beginthreadex "threadex.c":145
	Function EntryPoint "dllcrt0.c":323
	Function threadstartex "threadex.c":241
	Function dummy_worker "thread.c":79
	Function thread_start_proc "thread_native_basic.c":722
	Function wrapper_proc "thread_java_basic.c":104
	Function jthread_detach "thread_java_basic.c":301
	Function thread_end_count "thread_ti_others.c":129

2nd Access
	Function hythread_create_with_group "thread_native_basic.c":141
	Function apr_thread_create "thread.c":113
	Function _beginthreadex "threadex.c":145
	Function EntryPoint "dllcrt0.c":323
	Function threadstartex "threadex.c":241
	Function dummy_worker "thread.c":79
	Function thread_start_proc "thread_native_basic.c":722
	Function wrapper_proc "thread_java_basic.c":104
	Function jthread_detach "thread_java_basic.c":301
	Function thread_end_count "thread_ti_others.c":129

-- 
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