You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Elena Sayapina (JIRA)" <ji...@apache.org> on 2007/06/25 13:32:30 UTC

[jira] Created: (HARMONY-4278) [drlvm][gc_gen] Crash on gc_gen.dll!sync_stack_push in Jitrino.OPT mode

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


[jira] Commented: (HARMONY-4278) [drlvm][gc_gen] Crash on gc_gen.dll!sync_stack_push in Jitrino.OPT mode

Posted by "Xiao-Feng Li (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515261 ] 

Xiao-Feng Li commented on HARMONY-4278:
---------------------------------------

Please confirm it's fixed or not with revision r559396. Thanks.

>  [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
>            Assignee: Xiao-Feng Li
>         Attachments: h4278fixed.diff.1, reproduce.zip
>
>
> 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.


[jira] Assigned: (HARMONY-4278) [drlvm][gc_gen] Crash on gc_gen.dll!sync_stack_push in Jitrino.OPT mode

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

Xiao-Feng Li reassigned HARMONY-4278:
-------------------------------------

    Assignee: Xiao-Feng Li

>  [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
>            Assignee: Xiao-Feng Li
>         Attachments: reproduce.zip
>
>
> 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.


[jira] Commented: (HARMONY-4278) [drlvm][gc_gen] Crash on gc_gen.dll!sync_stack_push in Jitrino.OPT mode

Posted by "Elena Sayapina (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508130 ] 

Elena Sayapina commented on HARMONY-4278:
-----------------------------------------

Pavel, You are right. It's not a regression.

I also was able to reproduce the crash on Harmony r547521, r548930, r549703 on Win2003 with -Xem:opt

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@1182851844401| 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: 0x0170a3d8
    ESI: 0x018204cd, EDI: 0x0170a3d8, ESP: 0x01a2fef4, EBP: 0x0064c2a0
    EIP: 0x016d11a9
Stack trace:
  0: ?? (??:-1)
<end of stack trace>





>  [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
>            Assignee: Xiao-Feng Li
>         Attachments: reproduce.zip
>
>
> 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.


[jira] Updated: (HARMONY-4278) [drlvm][gc_gen] Crash on gc_gen.dll!sync_stack_push in Jitrino.OPT mode

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

Chunrong Lai updated HARMONY-4278:
----------------------------------

    Attachment: h4278fixed.diff.1


 The attached patch can fix the issue.

>  [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
>            Assignee: Xiao-Feng Li
>         Attachments: h4278fixed.diff.1, reproduce.zip
>
>
> 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.


[jira] Closed: (HARMONY-4278) [drlvm][gc_gen] Crash on gc_gen.dll!sync_stack_push in Jitrino.OPT mode

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

Xiao-Feng Li closed HARMONY-4278.
---------------------------------

    Resolution: Fixed

Fixed in r559396

>  [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
>            Assignee: Xiao-Feng Li
>         Attachments: h4278fixed.diff.1, reproduce.zip
>
>
> 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.


[jira] Commented: (HARMONY-4278) [drlvm][gc_gen] Crash on gc_gen.dll!sync_stack_push in Jitrino.OPT mode

Posted by "Pavel Ozhdikhin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507861 ] 

Pavel Ozhdikhin commented on HARMONY-4278:
------------------------------------------

This might be caused by the HARMONY-3349 JIT commit. I'll look into the issue from the JIT side.


>  [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
>         Attachments: reproduce.zip
>
>
> 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.


[jira] Commented: (HARMONY-4278) [drlvm][gc_gen] Crash on gc_gen.dll!sync_stack_push in Jitrino.OPT mode

Posted by "Pavel Ozhdikhin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508075 ] 

Pavel Ozhdikhin commented on HARMONY-4278:
------------------------------------------

I've checked that reverting HARMONY-3349 commit does not solve the problem. Moreover, I've reproduced the issue on the revision 547600, on both debug and release versions. So it does not look like a regression to me. The bug is also reproducible on r548930 on my machine.

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 26 2007), Windows/ia32/msvc 1310, release build
http://harmony.apache.org


>  [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
>         Attachments: reproduce.zip
>
>
> 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.


[jira] Updated: (HARMONY-4278) [drlvm][gc_gen] Crash on gc_gen.dll!sync_stack_push in Jitrino.OPT mode

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

Elena Sayapina updated HARMONY-4278:
------------------------------------

    Attachment: reproduce.zip

>  [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
>         Attachments: reproduce.zip
>
>
> 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.


[jira] Commented: (HARMONY-4278) [drlvm][gc_gen] Crash on gc_gen.dll!sync_stack_push in Jitrino.OPT mode

Posted by "Elena Sayapina (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508406 ] 

Elena Sayapina commented on HARMONY-4278:
-----------------------------------------

I can't reproduce this issue on Harmony jdk-r547521-msvc-debug, jdk-r548930-release, hdk-550333-msvc-release, jdk-r551018-msvc-release 
on my WinXP SP2 desktop.

>  [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
>            Assignee: Xiao-Feng Li
>         Attachments: reproduce.zip
>
>
> 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.


[jira] Commented: (HARMONY-4278) [drlvm][gc_gen] Crash on gc_gen.dll!sync_stack_push in Jitrino.OPT mode

Posted by "Elena Sayapina (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507848 ] 

Elena Sayapina commented on HARMONY-4278:
-----------------------------------------

Please, also note that test passes with -XX:vm.dlls=gc_cc.dll.

>  [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
>         Attachments: reproduce.zip
>
>
> 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.