harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elena Sayapina (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4278) [drlvm][gc_gen] Crash on gc_gen.dll!sync_stack_push in Jitrino.OPT mode
Date Mon, 25 Jun 2007 11:32:30 GMT
 [drlvm][gc_gen] Crash on gc_gen.dll!sync_stack_push in Jitrino.OPT mode
------------------------------------------------------------------------

                 Key: HARMONY-4278
                 URL: https://issues.apache.org/jira/browse/HARMONY-4278
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: Windows 2003 Server
            Reporter: Elena Sayapina


Functional test org.apache.harmony.test.func.jit.HLO.lazyexc.Finalize.Finalize crashes on
gc_gen.dll!sync_stack_push with -Xem:opt

Sorry, the issue is not reproduced on a smaller test, so please find all sources for reproducing
attached.
For more information about functional tests, please, see https://issues.apache.org/jira/browse/HARMONY-3528.

Please, follow 'steps to reproduce' to reproduce the issue, because the order of command line
options is important.
If you change it you may not see the crash - so, may be it's not gc_gen issue. 

Steps to reproduce:
1) Download and unpack reproduce.zip
2) Change dir to reproduce
3) Launch test on Win2003 as follows:
     <Harmony>/java -showversion -cp .;.\th.jar -Xem:opt org.apache.harmony.test.func.jit.HLO.lazyexc.Finalize.Finalize

Output on Harmony-r549982-msvc-release:

Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors,
as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r549982, (Jun 23 2007), Windows/ia32/msvc 1310, release build
http://harmony.apache.org
%ecnfk@1182768847180| Start Finalize lazyexc test...
The GC did not provide gc_add_weak_root_set_entry()
Windows reported exception: 0xc0000005
Registers:
    EAX: 0x01820400, EBX: 0x00000000, ECX: 0x000000ce, EDX: 0x0170a3e8
    ESI: 0x018204cd, EDI: 0x0170a3e8, ESP: 0x01b2fef4, EBP: 0x0064c980
    EIP: 0x016d11a9
Stack trace:
  0: sync_stack_push (c:\cc-bt2.0\func\build\checkouts\hdk\working_vm\vm\gc_gen\src\utils\sync_stack.h:129)
<end of stack trace>

Stack trace is following:

	gc_gen.dll!sync_stack_push(Sync_Stack * stack=0x0170a3e8, Node * node=0x00000000)  Line 129
+ 0x23	C++
 	gc_gen.dll!identify_dead_phanrefs(Collector * collector=0x000000ce)  Line 401	C++
 	gc_gen.dll!slide_compact_mspace(Collector * collector=0x01702000)  Line 431 + 0x6	C++
 	gc_gen.dll!collector_thread_func(void * arg=0x0170a778)  Line 183	C++
 	hythr.dll!thread_start_proc(void * arg=0x00382590)  Line 732	C
>	hythr.dll!_threadstartex(void * ptd=0x004201c0)  Line 241 + 0x6	C
 	kernel32.dll!77e66063() 	


Assertion failed  Harmony-r550410-msvc-debug: drlvm\vm\gc_gen\src\utils\sync_pool.h line 43:
Expresion: value

Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors,
as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r550410, (Jun 25 2007), Windows/ia32/msvc 1310, debug build
http://harmony.apache.org

%ecnfk@1182768616200| Start Finalize lazyexc test...
The GC did not provide gc_add_weak_root_set_entry()
Windows reported exception: 0xc0000005
Registers:
    EAX: 0x00000000, EBX: 0x0038e830, ECX: 0x01cd04cd, EDX: 0x01cd0400
    ESI: 0x01e5ff4c, EDI: 0x00000000, ESP: 0x01e5fea8, EBP: 0x01e5feb4
    EIP: 0x01a71baf
Stack trace:
  0: ?? (??:-1)
  1: ?? (??:-1)
  2: ?? (??:-1)
  3: ?? (??:-1)
  4: ?? (??:-1)
  5: Java_org_apache_harmony_drlvm_gc_1gen_GCHelper_helperCallback (??:-1)
  6: ?? (??:-1)
  7: hythread_struct_init (??:-1)
  8: apr_strtok (??:-1)
  9: GetModuleFileNameA (??:-1)
<end of stack trace>


It looks like regression because test passed on Harmony-r548930:

Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors,
as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r548930, (Jun 20 2007), Windows/ia32/msvc 1310, release build
http://harmony.apache.org
%ecnfk@1182770188482| Start Finalize lazyexc test...
The GC did not provide gc_add_weak_root_set_entry()
%ecnfk@1182770198107| PASSED


Please, see also https://issues.apache.org/jira/browse/HARMONY-3973.



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