harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Berezhniuk (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5286) [drlvm][ncai]DRVM(r601978) NCAI crashes on HWM02 scenario
Date Wed, 12 Dec 2007 02:55:43 GMT

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

Ilya Berezhniuk commented on HARMONY-5286:
------------------------------------------

Vasily,

I've tried with HDK build for r603087.
The results are the following:

1) I can't reproduce exact assertion you've mentioned

2) When I set a path to msdia80.dll incorrectly, I've got an assertion in DRLVM.
------------------------------
>	msvcr71d.dll!_assert(const char * expr=0x00969ac0, const char * filename=0x00969a78,
unsigned int lineno=99)  Line 295	C
 	harmonyvm.dll!DecoderBase::decode(const void * addr=0x03df1dd1, Inst * pinst=0x0013ebd0)
 Line 99 + 0x18 bytes	C++
 	harmonyvm.dll!InstructionDisassembler::disasm(void * const addr=0x03df1dd1, InstructionDisassembler
* pidi=0x0328d088)  Line 161 + 0x10 bytes	C++
 	harmonyvm.dll!InstructionDisassembler::InstructionDisassembler(void * address=0x03df1dd1)
 Line 138 + 0xd bytes	C++
 	harmonyvm.dll!set_native_breakpoint(VMBreakPoint * bp=0x0329daf8)  Line 1297 + 0x29 bytes
C++
 	harmonyvm.dll!VMBreakPoints::insert_native_breakpoint(VMBreakPoint * bp=0x0329daf8)  Line
244 + 0x9 bytes	C++
 	harmonyvm.dll!insert_native_breakpoint(VMBreakPoint * bp=0x0329daf8)  Line 952	C++
------------------------------
A cause is absence of particular x86 instruction in DRLVM decoder table - it's still not extended
to full x86 instruction set. This problem can be solved easily by myself or probably with
help from JIT experts.

3) When msdia80.dll is found, I stepped through native method successfully.
The only problem is that Eclipse can't find 'HWM02main.c' source, although I've specified
a path to the file in 'Source' tab.

Probably I can't reproduce your crash because I did not step through native source.
Don't you know what I'm doing wrong? How to specify a path to this C source file correctly?


> [drlvm][ncai]DRVM(r601978) NCAI crashes on HWM02 scenario 
> ----------------------------------------------------------
>
>                 Key: HARMONY-5286
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5286
>             Project: Harmony
>          Issue Type: Bug
>         Environment: Apache Harmony Launcher : (c) Copyright 1991, 2007 The Apache Software
Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r601978, (Dec  9 2007), Windows/ia32/msvc 1310, debug build
> http://harmony.apache.org
> Eclipse3.2/CDT3./IDebbug1.0 whatif.intel.com HW
> OS Name:                   Microsoft Windows XP Professional
> OS Version:                5.1.2600 Service Pack 2 Build 2600
> OS Manufacturer:           Microsoft Corporation
> OS Configuration:          Member Workstation
> OS Build Type:             Multiprocessor Free
> Registered Owner:          Intel Corporation User
> Registered Organization:   Intel Corporation
> Product ID:                76487-640-0000545-23529
> Original Install Date:     11/29/2007, 8:11:30 AM
> System Up Time:            0 Days, 0 Hours, 40 Minutes, 35 Seconds
> System Manufacturer:       LENOVO
> System Model:              7661BK7
> System type:               X86-based PC
> Processor(s):              2 Processor(s) Installed.
>                            [01]: x86 Family 6 Model 15 Stepping 10 GenuineIntel ~1995
Mhz
>                            [02]: x86 Family 6 Model 15 Stepping 10 GenuineIntel ~1994
Mhz
> BIOS Version:              LENOVO - 1260
> Windows Directory:         C:\WINDOWS
> System Directory:          C:\WINDOWS\system32
> Boot Device:               \Device\HarddiskVolume2
> System Locale:             en-us;English (United States)
> Input Locale:              en-us;English (United States)
> Time Zone:                 (GMT+03:00) Moscow, St. Petersburg, Volgograd
> Total Physical Memory:     2,006 MB
> Available Physical Memory: 970 MB
> Virtual Memory: Max Size:  2,048 MB
> Virtual Memory: Available: 2,001 MB
> Virtual Memory: In Use:    47 MB
>            Reporter: vasily.v.levchenko@gmail.com
>
> Hi folks, 
> I've tried to debug HW02 application with IDebug plugin on Harmony-r601978 and got crash.
>  	harmonyvm.dll!_assert(const char * expr=0x0098fd20, const char * filename=0x0098fcc8,
unsigned int lineno=214)  Line 295	C
> >	harmonyvm.dll!ncai_get_thread_ss_mode(JVMTIThread * jvmti_thread=0x03837368)  Line
214 + 0x1d	C++
>  	harmonyvm.dll!ncai_step_native_method_entry(Method * m=0x03833bb8)  Line 517 + 0x9
C++
>  	harmonyvm.dll!ncai_report_method_entry(_jmethodID * method=0x03833bb8)  Line 342 +
0x9	C++
>  	harmonyvm.dll!jvmti_process_method_entry_event(_jmethodID * method=0x03833bb8)  Line
856 + 0x9	C++
>  	03fd06e7()	
>  	harmonyvm.dll!hythread_self()  Line 492 + 0xa	C++
>  	harmonyvm.dll!jthread_self_vm_thread()  Line 334 + 0x5	C++
>  	038372f8()	
>  	harmonyvm.dll!hythread_self()  Line 492 + 0xa	C++
>  	ntdll.dll!_RtlAllocateHeap@12()  + 0x117	

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