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] Commented: (HARMONY-5167) [drlvm][shutdown] Some regression tests intermittently fail on shutdown in debug mode on win32
Date Wed, 28 Nov 2007 15:05:43 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-5167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546263
] 

Ilya Leviev commented on HARMONY-5167:
--------------------------------------

I have run reproducer using BoundsChecker. The tool have located following Bad pointer errors
related to _free_dbg_lk.

1)
Bad pointer passed to memset	1	_free_dbg_lk - [dbgheap.c, line 1206 (hythr.dll)]
Bad Pointer: 0x01652DE8 passed to memset, argument 1.

Current Call Stack - Thread 2 [0x1724]
_free_dbg_lk	f:\vs70builds\3077\vc\crtbld\crt\src\dbgheap.c	1206

_free_dbg	f:\vs70builds\3077\vc\crtbld\crt\src\dbgheap.c	1070

free	f:\vs70builds\3077\vc\crtbld\crt\src\dbgheap.c	1025

hythread_wrapper_start_proc	c:\home\hy\128\trunk\working_vm\vm\thread\src\thread_native_basic.c
676


  start_proc_data = *(hythread_start_proc_data_t) arg;
 676   free(arg);


threadstartex	f:\vs70builds\3077\vc\crtbld\crt\src\threadex.c	241
	C:\WINDOWS\system32\kernel32.dll!0x0000b6a0	



2)
Type	Quantity	Location	Sequence

Bad pointer passed to memset	1	_free_dbg_lk - [dbgheap.c, line 1206 (harmonyvm.dll)]	4 488
Bad Pointer: 0x0694FAC0 passed to memset, argument 1.

Current Call Stack - Thread 7 [0x12EC]
_free_dbg_lk	f:\vs70builds\3077\vc\crtbld\crt\src\dbgheap.c	1206
_free_dbg	f:\vs70builds\3077\vc\crtbld\crt\src\dbgheap.c	1070
free	f:\vs70builds\3077\vc\crtbld\crt\src\dbgheap.c	1025
jthread_wrapper_start_proc	c:\home\hy\128\trunk\working_vm\vm\vmcore\src\thread\thread_java_basic.cpp
63

   jthread_start_proc_data start_proc_data = *(jthread_start_proc_data_t)arg;
63    STD_FREE(arg);

threadstartex	f:\vs70builds\3077\vc\crtbld\crt\src\threadex.c	241
	C:\WINDOWS\system32\kernel32.dll!0x0000b6a0	




> [drlvm][shutdown] Some regression tests intermittently fail on shutdown in debug mode
on win32
> ----------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5167
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5167
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows ia32 debug
>            Reporter: Gregory Shimansky
>         Attachments: TestHeap.class, TestHeap.java
>
>
> I previously thought that the bug is in HARMONY-5105, but CC shows that after the patch
has been committed, failures still continue. Most often failures are seen on verifier regression
test H3225. Win32 runtime checks C heap on shutdown in function exit, and this check fails.
It seems like a C heap memory corruption somewhere in VM.

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