You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexander N. Alexeev (JIRA)" <ji...@apache.org> on 2007/12/04 10:39:43 UTC

[jira] Created: (HARMONY-5245) Access violation at run of Dacapo on Harmony with TPTP profiler's JVM TI agent

Access violation at run of Dacapo on Harmony with TPTP profiler's JVM TI agent
------------------------------------------------------------------------------

                 Key: HARMONY-5245
                 URL: https://issues.apache.org/jira/browse/HARMONY-5245
             Project: Harmony
          Issue Type: Bug
         Environment: Windows XP, x86(single CPU)
            Reporter: Alexander N. Alexeev


Required for reproducing:
TPTP agent controller 4.5.0-200711230400 or any newer (agntctrl.win_ia32-TPTP-4.5.0-200711230400.zip)
Harmony r580985 (apache-harmony-jre-r580985-windows-x86-32-snapshot.zip)
dacapo-2006-10-MR2.jar

Seems that crash is non-deterministic it happens often  but in different execution stages.

Run:
C:\TEST>java -agentlib:JPIBootLoader=JPIAgenterver=standalone;CGProf -jar dacapo-2006-10-MR2.jar chart
===== DaCapo chart starting =====
Done plotting: .\scratch/javac-tgt-ptr-prf-time.pdf
Done plotting: .\scratch/javac-src-ptr-prf-time.pdf
Done plotting: .\scratch/javac-dst-ptr-prf-time.pdf
Done plotting: .\scratch/javac-tgt-mut-prf-time.pdf
Done plotting: .\scratch/javac-src-mut-prf-time.pdf
Windows reported exception: 0xc0000005
Registers:
    EAX: 0x0013e7f0, EBX: 0x4192be80, ECX: 0x017c7000, EDX: 0x017c7800
    ESI: 0x0165ad18, EDI: 0x017c5058, ESP: 0x016dff04, EBP: 0xfffffffc
    EIP: 0x016181e7
Stack trace:
  0: ?? (??:-1)
<end of stack trace>


More convenient run script set all required environment variables:
-------------------------------------------------------------
set JAVA_PATH=<path to harmony>

rem uncomment to turn on TPTP loging 
rem set MARTINI_LOGGER_LOG_LEVEL=5
rem set MARTINI_LOGGER_DIRECTORY=.

set TPTP_AC_HOME=<path to agent controller>
set JAVA_PROFILER_HOME=%TPTP_AC_HOME%\plugins\org.eclipse.tptp.javaprofiler
set BISTRO_INSTALL_DIR=%JAVA_PROFILER_HOME%
set PATH=%PATH%;%JAVA_PROFILER_HOME%;%TPTP_AC_HOME%\bin

%JAVA_PATH%\bin\java -agentlib:jpibootloader=jpiagent:server=standalone;cgprof -jar dacapo-2006-10-MR2.jar chart
-------------------------------------------------------------



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5245) Access violation at run of Dacapo on Harmony with TPTP profiler's JVM TI agent

Posted by "Eugene S. Ostrovsky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550117 ] 

Eugene S. Ostrovsky commented on HARMONY-5245:
----------------------------------------------

It is hard to reproduce this bug.
I was not able to reproduce it on debug build of harmony r600908 at all.
On release build I got crashes 2 times but after that all consequent runs (~ 6) passed.

> Access violation at run of Dacapo on Harmony with TPTP profiler's JVM TI agent
> ------------------------------------------------------------------------------
>
>                 Key: HARMONY-5245
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5245
>             Project: Harmony
>          Issue Type: Bug
>         Environment: Windows XP, x86(single CPU)
>            Reporter: Alexander N. Alexeev
>
> Required for reproducing:
> TPTP agent controller 4.5.0-200711230400 or any newer (agntctrl.win_ia32-TPTP-4.5.0-200711230400.zip)
> Harmony r580985 (apache-harmony-jre-r580985-windows-x86-32-snapshot.zip)
> dacapo-2006-10-MR2.jar
> Seems that crash is non-deterministic it happens often  but in different execution stages.
> Run:
> C:\TEST>java -agentlib:JPIBootLoader=JPIAgenterver=standalone;CGProf -jar dacapo-2006-10-MR2.jar chart
> ===== DaCapo chart starting =====
> Done plotting: .\scratch/javac-tgt-ptr-prf-time.pdf
> Done plotting: .\scratch/javac-src-ptr-prf-time.pdf
> Done plotting: .\scratch/javac-dst-ptr-prf-time.pdf
> Done plotting: .\scratch/javac-tgt-mut-prf-time.pdf
> Done plotting: .\scratch/javac-src-mut-prf-time.pdf
> Windows reported exception: 0xc0000005
> Registers:
>     EAX: 0x0013e7f0, EBX: 0x4192be80, ECX: 0x017c7000, EDX: 0x017c7800
>     ESI: 0x0165ad18, EDI: 0x017c5058, ESP: 0x016dff04, EBP: 0xfffffffc
>     EIP: 0x016181e7
> Stack trace:
>   0: ?? (??:-1)
> <end of stack trace>
> More convenient run script set all required environment variables:
> -------------------------------------------------------------
> set JAVA_PATH=<path to harmony>
> rem uncomment to turn on TPTP loging 
> rem set MARTINI_LOGGER_LOG_LEVEL=5
> rem set MARTINI_LOGGER_DIRECTORY=.
> set TPTP_AC_HOME=<path to agent controller>
> set JAVA_PROFILER_HOME=%TPTP_AC_HOME%\plugins\org.eclipse.tptp.javaprofiler
> set BISTRO_INSTALL_DIR=%JAVA_PROFILER_HOME%
> set PATH=%PATH%;%JAVA_PROFILER_HOME%;%TPTP_AC_HOME%\bin
> %JAVA_PATH%\bin\java -agentlib:jpibootloader=jpiagent:server=standalone;cgprof -jar dacapo-2006-10-MR2.jar chart
> -------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5245) Access violation at run of Dacapo on Harmony with TPTP profiler's JVM TI agent

Posted by "Eugene S. Ostrovsky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552394 ] 

Eugene S. Ostrovsky commented on HARMONY-5245:
----------------------------------------------

I turned off HyperThreading but still have difficulties with reproducing.
Crashed only once out of 38 runs (about 18 hours).

> Access violation at run of Dacapo on Harmony with TPTP profiler's JVM TI agent
> ------------------------------------------------------------------------------
>
>                 Key: HARMONY-5245
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5245
>             Project: Harmony
>          Issue Type: Bug
>         Environment: Windows XP, x86(single CPU)
>            Reporter: Alexander N. Alexeev
>
> Required for reproducing:
> TPTP agent controller 4.5.0-200711230400 or any newer (agntctrl.win_ia32-TPTP-4.5.0-200711230400.zip)
> Harmony r580985 (apache-harmony-jre-r580985-windows-x86-32-snapshot.zip)
> dacapo-2006-10-MR2.jar
> Seems that crash is non-deterministic it happens often  but in different execution stages.
> Run:
> C:\TEST>java -agentlib:JPIBootLoader=JPIAgenterver=standalone;CGProf -jar dacapo-2006-10-MR2.jar chart
> ===== DaCapo chart starting =====
> Done plotting: .\scratch/javac-tgt-ptr-prf-time.pdf
> Done plotting: .\scratch/javac-src-ptr-prf-time.pdf
> Done plotting: .\scratch/javac-dst-ptr-prf-time.pdf
> Done plotting: .\scratch/javac-tgt-mut-prf-time.pdf
> Done plotting: .\scratch/javac-src-mut-prf-time.pdf
> Windows reported exception: 0xc0000005
> Registers:
>     EAX: 0x0013e7f0, EBX: 0x4192be80, ECX: 0x017c7000, EDX: 0x017c7800
>     ESI: 0x0165ad18, EDI: 0x017c5058, ESP: 0x016dff04, EBP: 0xfffffffc
>     EIP: 0x016181e7
> Stack trace:
>   0: ?? (??:-1)
> <end of stack trace>
> More convenient run script set all required environment variables:
> -------------------------------------------------------------
> set JAVA_PATH=<path to harmony>
> rem uncomment to turn on TPTP loging 
> rem set MARTINI_LOGGER_LOG_LEVEL=5
> rem set MARTINI_LOGGER_DIRECTORY=.
> set TPTP_AC_HOME=<path to agent controller>
> set JAVA_PROFILER_HOME=%TPTP_AC_HOME%\plugins\org.eclipse.tptp.javaprofiler
> set BISTRO_INSTALL_DIR=%JAVA_PROFILER_HOME%
> set PATH=%PATH%;%JAVA_PROFILER_HOME%;%TPTP_AC_HOME%\bin
> %JAVA_PATH%\bin\java -agentlib:jpibootloader=jpiagent:server=standalone;cgprof -jar dacapo-2006-10-MR2.jar chart
> -------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5245) Access violation at run of Dacapo on Harmony with TPTP profiler's JVM TI agent

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

Pavel Pervov commented on HARMONY-5245:
---------------------------------------

Eugene,

May it be because you are reproducing the bug on 2xCPU configuration (either dual-core or HT)?

> Access violation at run of Dacapo on Harmony with TPTP profiler's JVM TI agent
> ------------------------------------------------------------------------------
>
>                 Key: HARMONY-5245
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5245
>             Project: Harmony
>          Issue Type: Bug
>         Environment: Windows XP, x86(single CPU)
>            Reporter: Alexander N. Alexeev
>
> Required for reproducing:
> TPTP agent controller 4.5.0-200711230400 or any newer (agntctrl.win_ia32-TPTP-4.5.0-200711230400.zip)
> Harmony r580985 (apache-harmony-jre-r580985-windows-x86-32-snapshot.zip)
> dacapo-2006-10-MR2.jar
> Seems that crash is non-deterministic it happens often  but in different execution stages.
> Run:
> C:\TEST>java -agentlib:JPIBootLoader=JPIAgenterver=standalone;CGProf -jar dacapo-2006-10-MR2.jar chart
> ===== DaCapo chart starting =====
> Done plotting: .\scratch/javac-tgt-ptr-prf-time.pdf
> Done plotting: .\scratch/javac-src-ptr-prf-time.pdf
> Done plotting: .\scratch/javac-dst-ptr-prf-time.pdf
> Done plotting: .\scratch/javac-tgt-mut-prf-time.pdf
> Done plotting: .\scratch/javac-src-mut-prf-time.pdf
> Windows reported exception: 0xc0000005
> Registers:
>     EAX: 0x0013e7f0, EBX: 0x4192be80, ECX: 0x017c7000, EDX: 0x017c7800
>     ESI: 0x0165ad18, EDI: 0x017c5058, ESP: 0x016dff04, EBP: 0xfffffffc
>     EIP: 0x016181e7
> Stack trace:
>   0: ?? (??:-1)
> <end of stack trace>
> More convenient run script set all required environment variables:
> -------------------------------------------------------------
> set JAVA_PATH=<path to harmony>
> rem uncomment to turn on TPTP loging 
> rem set MARTINI_LOGGER_LOG_LEVEL=5
> rem set MARTINI_LOGGER_DIRECTORY=.
> set TPTP_AC_HOME=<path to agent controller>
> set JAVA_PROFILER_HOME=%TPTP_AC_HOME%\plugins\org.eclipse.tptp.javaprofiler
> set BISTRO_INSTALL_DIR=%JAVA_PROFILER_HOME%
> set PATH=%PATH%;%JAVA_PROFILER_HOME%;%TPTP_AC_HOME%\bin
> %JAVA_PATH%\bin\java -agentlib:jpibootloader=jpiagent:server=standalone;cgprof -jar dacapo-2006-10-MR2.jar chart
> -------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.