harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Deakin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6246) Crash during debugging session
Date Tue, 28 Jul 2009 12:29:14 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736049#action_12736049
] 

Oliver Deakin commented on HARMONY-6246:
----------------------------------------

I have recreated this failure now in Eclipse - steps to reproduce are:

1) Launch test in Eclipse with breakpoint at line 102 of Test.java.
2) Expand the "packages" variable in the variable view.
3) Click on the "Show Logical Structure" button.

This method crashes 100% for me with the following stack trace:

Stack trace:
  0: 0x01c3fa44  oh_deallocate_global_handle (c:\harmony\svn-checkouts\federated\working_vm\vm\vmcore\src\object\object_handles.cpp:252)
  1: 0x01c0d6be  DeleteGlobalRef (c:\harmony\svn-checkouts\federated\working_vm\vm\vmcore\src\jni\jni.cpp:918)
  2: 0x00f76c22  jdwp::ObjectReference::InvokeMethodHandler::Execute (:-1)
  3: 0x00f7fc19  jdwp::AsyncCommandHandler::StartExecution (:-1)
  4: 0x034216b3  _crtLCMapStringA (:-1)
  5: 0x7c90d4ea  ZwAllocateVirtualMemory (:-1)
  6: 0x7c809aa2  VirtualAllocEx (:-1)
  7: 0x7c809ab9  VirtualAllocEx (:-1)
  8: 0x01c4e3fd  jthread_wrapper_start_proc (c:\harmony\svn-checkouts\federated\working_vm\vm\vmcore\src\thread\thread_java_basic.cpp:160)
  9: 0x01f65b91  thread_start_func (c:\harmony\svn-checkouts\federated\working_vm\vm\port\src\thread\win\thread_os.c:59)
 10: 0x03429565  endthreadex (:-1)
 11: 0x7c80b683  GetModuleFileNameA (:-1)
<end of stack trace>

Crashed module:
c:\harmony\svn-checkouts\federated\target\hdk\jdk\jre\bin\default\harmonyvm.dll
(VM native code)

VM attached threads:

--->[00001458]  '_jdwp_ObjectReference_InvokeMethodHandler'
    [000014DC]  '_jdwp_PacketDispatcher'
    [000014E0]  '_jdwp_EventDispatcher'
    [000014F4]  'ref handler'
    [000014FC]  'finalizer'
    [00001500]  'finalizer'
    [000017CC]  'main'


I have tested with the newly updated JDWP in the Java 6 branch and the failure does not occur
there. Im going to have a look at ObjectReference::InvokeMethodHandler::Execute for the DeleteGlobalRef()
call and see if I can find out what is going wrong.

> Crash during debugging session
> ------------------------------
>
>                 Key: HARMONY-6246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6246
>             Project: Harmony
>          Issue Type: Bug
>          Components: VM
>    Affects Versions: 5.0M10
>         Environment: Windows XP SP2
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r782693, (Jun 12 2009), Windows/ia32/msvc 1310, release build 
>            Reporter: Hristo Spaschev Iliev
>         Attachments: crash_details.zip, test.zip
>
>
> VM crashes with GPFault during a debug session.
> More details can be found attached.

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