You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Aleksey Ignatenko (JIRA)" <ji...@apache.org> on 2007/02/06 12:04:05 UTC

[jira] Created: (HARMONY-3124) [classlib][launcher] Generation of minidumps files on crash

[classlib][launcher] Generation of minidumps files on crash
-----------------------------------------------------------

                 Key: HARMONY-3124
                 URL: https://issues.apache.org/jira/browse/HARMONY-3124
             Project: Harmony
          Issue Type: New Feature
          Components: Classlib
         Environment: Windows
            Reporter: Aleksey Ignatenko


Investigating intermittent crashes on EUT I faced with the problem of crash reproduction. It is very difficult to detect some rare crashes or tied to specific hardware. I have introduced into launcher minidumps generating code based on dbghelp library, minidump files are generated when some crash handled by launcher's exception handler happent. Minidump file contains complete snapshot of program state on the moment of crash (stacks, variables).
I hope it will significantly improve intermittient crashes fixing process.

I have not tested it yet with older versions of Windows or over other jvms, but the patch is done that dbghelp library is loaded dinamically and in case of problems with loading minidump file is generated.

Minidump is save into the current directory where your application was launched and there is written additional info, eg:
...
Module_base_address=01320000
Offset_in_DLL=000b7aea
Dumpfile=C:\work\Harmony\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\hydump_27422371.dmp

Investigating EUT crashes I noticed that jrockit also generates dump files in windows.

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


[jira] Commented: (HARMONY-3124) [classlib][launcher] Generation of minidumps files on crash

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

Aleksey Ignatenko commented on HARMONY-3124:
--------------------------------------------

The attached patch is not for commit yet ! 
As mentioned above in "Notes from HY discussion: " comment - it is to be updated according to HY discussion / decision and checked on different OS versions.

> [classlib][launcher] Generation of minidumps files on crash
> -----------------------------------------------------------
>
>                 Key: HARMONY-3124
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3124
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Classlib
>         Environment: Windows
>            Reporter: Aleksey Ignatenko
>         Attachments: hydump_29978977.dmp, minidump_feature_v1.patch
>
>
> Investigating intermittent crashes on EUT I faced with the problem of crash reproduction. It is very difficult to detect some rare crashes or tied to specific hardware. I have introduced into launcher minidumps generating code based on dbghelp library, minidump files are generated when some crash handled by launcher's exception handler happent. Minidump file contains complete snapshot of program state on the moment of crash (stacks, variables).
> I hope it will significantly improve intermittient crashes fixing process.
> I have not tested it yet with older versions of Windows or over other jvms, but the patch is done that dbghelp library is loaded dinamically and in case of problems with loading minidump file is generated.
> Minidump is save into the current directory where your application was launched and there is written additional info, eg:
> ...
> Module_base_address=01320000
> Offset_in_DLL=000b7aea
> Dumpfile=C:\work\Harmony\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\hydump_27422371.dmp
> Investigating EUT crashes I noticed that jrockit also generates dump files in windows.

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


[jira] Updated: (HARMONY-3124) [classlib][launcher] Generation of minidumps files on crash

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

Aleksey Ignatenko updated HARMONY-3124:
---------------------------------------

    Attachment: minidump_feature_v1.patch

> [classlib][launcher] Generation of minidumps files on crash
> -----------------------------------------------------------
>
>                 Key: HARMONY-3124
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3124
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Classlib
>         Environment: Windows
>            Reporter: Aleksey Ignatenko
>         Attachments: minidump_feature_v1.patch
>
>
> Investigating intermittent crashes on EUT I faced with the problem of crash reproduction. It is very difficult to detect some rare crashes or tied to specific hardware. I have introduced into launcher minidumps generating code based on dbghelp library, minidump files are generated when some crash handled by launcher's exception handler happent. Minidump file contains complete snapshot of program state on the moment of crash (stacks, variables).
> I hope it will significantly improve intermittient crashes fixing process.
> I have not tested it yet with older versions of Windows or over other jvms, but the patch is done that dbghelp library is loaded dinamically and in case of problems with loading minidump file is generated.
> Minidump is save into the current directory where your application was launched and there is written additional info, eg:
> ...
> Module_base_address=01320000
> Offset_in_DLL=000b7aea
> Dumpfile=C:\work\Harmony\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\hydump_27422371.dmp
> Investigating EUT crashes I noticed that jrockit also generates dump files in windows.

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


[jira] Commented: (HARMONY-3124) [classlib][launcher] Generation of minidumps files on crash

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

Aleksey Ignatenko commented on HARMONY-3124:
--------------------------------------------

Tested on drlvm WinXP.
To test minidump functionality one needs to:
1. build classlib with attached file
2. download crash reproducer JsrNoRet2.class from HARMONY-3098
3. set HARMONY_INSTALL_SIG_HANDLER option (set HARMONY_INSTALL_SIG_HANDLER=1) to enable crash handler in launcher (disabled by default)
4. run test: java JsrNoRet2

Minidump file hydump_*******.dmp will be generated. To view it one needs to open it with VS (simply double click on it ) and start debugging (Debug/start debug), save solution file as proposed and after you'll see call stack and other locals.

> [classlib][launcher] Generation of minidumps files on crash
> -----------------------------------------------------------
>
>                 Key: HARMONY-3124
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3124
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Classlib
>         Environment: Windows
>            Reporter: Aleksey Ignatenko
>         Attachments: minidump_feature_v1.patch
>
>
> Investigating intermittent crashes on EUT I faced with the problem of crash reproduction. It is very difficult to detect some rare crashes or tied to specific hardware. I have introduced into launcher minidumps generating code based on dbghelp library, minidump files are generated when some crash handled by launcher's exception handler happent. Minidump file contains complete snapshot of program state on the moment of crash (stacks, variables).
> I hope it will significantly improve intermittient crashes fixing process.
> I have not tested it yet with older versions of Windows or over other jvms, but the patch is done that dbghelp library is loaded dinamically and in case of problems with loading minidump file is generated.
> Minidump is save into the current directory where your application was launched and there is written additional info, eg:
> ...
> Module_base_address=01320000
> Offset_in_DLL=000b7aea
> Dumpfile=C:\work\Harmony\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\hydump_27422371.dmp
> Investigating EUT crashes I noticed that jrockit also generates dump files in windows.

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


[jira] Assigned: (HARMONY-3124) [classlib][launcher] Generation of minidumps files on crash

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

Gregory Shimansky reassigned HARMONY-3124:
------------------------------------------

    Assignee: Gregory Shimansky

> [classlib][launcher] Generation of minidumps files on crash
> -----------------------------------------------------------
>
>                 Key: HARMONY-3124
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3124
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Classlib
>         Environment: Windows
>            Reporter: Aleksey Ignatenko
>            Assignee: Gregory Shimansky
>         Attachments: H-3124.patch, hydump_29978977.dmp, minidump_feature_v1.patch
>
>
> Investigating intermittent crashes on EUT I faced with the problem of crash reproduction. It is very difficult to detect some rare crashes or tied to specific hardware. I have introduced into launcher minidumps generating code based on dbghelp library, minidump files are generated when some crash handled by launcher's exception handler happent. Minidump file contains complete snapshot of program state on the moment of crash (stacks, variables).
> I hope it will significantly improve intermittient crashes fixing process.
> I have not tested it yet with older versions of Windows or over other jvms, but the patch is done that dbghelp library is loaded dinamically and in case of problems with loading minidump file is generated.
> Minidump is save into the current directory where your application was launched and there is written additional info, eg:
> ...
> Module_base_address=01320000
> Offset_in_DLL=000b7aea
> Dumpfile=C:\work\Harmony\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\hydump_27422371.dmp
> Investigating EUT crashes I noticed that jrockit also generates dump files in windows.

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


[jira] Commented: (HARMONY-3124) [classlib][launcher] Generation of minidumps files on crash

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

Alexey Varlamov commented on HARMONY-3124:
------------------------------------------

Aleksey,
you might be interested to look at HARMONY-1912 also.

> [classlib][launcher] Generation of minidumps files on crash
> -----------------------------------------------------------
>
>                 Key: HARMONY-3124
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3124
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Classlib
>         Environment: Windows
>            Reporter: Aleksey Ignatenko
>         Attachments: hydump_29978977.dmp, minidump_feature_v1.patch
>
>
> Investigating intermittent crashes on EUT I faced with the problem of crash reproduction. It is very difficult to detect some rare crashes or tied to specific hardware. I have introduced into launcher minidumps generating code based on dbghelp library, minidump files are generated when some crash handled by launcher's exception handler happent. Minidump file contains complete snapshot of program state on the moment of crash (stacks, variables).
> I hope it will significantly improve intermittient crashes fixing process.
> I have not tested it yet with older versions of Windows or over other jvms, but the patch is done that dbghelp library is loaded dinamically and in case of problems with loading minidump file is generated.
> Minidump is save into the current directory where your application was launched and there is written additional info, eg:
> ...
> Module_base_address=01320000
> Offset_in_DLL=000b7aea
> Dumpfile=C:\work\Harmony\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\hydump_27422371.dmp
> Investigating EUT crashes I noticed that jrockit also generates dump files in windows.

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


[jira] Commented: (HARMONY-3124) [classlib][launcher] Generation of minidumps files on crash

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

Aleksey Ignatenko commented on HARMONY-3124:
--------------------------------------------

Notes from HY discussion:
try to move this functionality  to drlvm (generate minidump files additionally to stack trace
on the basis of the drlvm exception handler) to be independent from classlib
(as classlib affects not only drlvm). 
+ this is to be tested on different OS (e.g. win2000) and on OS w/o dbghelp.dll or with older versions.


> [classlib][launcher] Generation of minidumps files on crash
> -----------------------------------------------------------
>
>                 Key: HARMONY-3124
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3124
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Classlib
>         Environment: Windows
>            Reporter: Aleksey Ignatenko
>         Attachments: hydump_29978977.dmp, minidump_feature_v1.patch
>
>
> Investigating intermittent crashes on EUT I faced with the problem of crash reproduction. It is very difficult to detect some rare crashes or tied to specific hardware. I have introduced into launcher minidumps generating code based on dbghelp library, minidump files are generated when some crash handled by launcher's exception handler happent. Minidump file contains complete snapshot of program state on the moment of crash (stacks, variables).
> I hope it will significantly improve intermittient crashes fixing process.
> I have not tested it yet with older versions of Windows or over other jvms, but the patch is done that dbghelp library is loaded dinamically and in case of problems with loading minidump file is generated.
> Minidump is save into the current directory where your application was launched and there is written additional info, eg:
> ...
> Module_base_address=01320000
> Offset_in_DLL=000b7aea
> Dumpfile=C:\work\Harmony\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\hydump_27422371.dmp
> Investigating EUT crashes I noticed that jrockit also generates dump files in windows.

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


[jira] Resolved: (HARMONY-3124) [classlib][launcher] Generation of minidumps files on crash

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

Gregory Shimansky resolved HARMONY-3124.
----------------------------------------

    Resolution: Fixed

Patch is applied at 632168.

> [classlib][launcher] Generation of minidumps files on crash
> -----------------------------------------------------------
>
>                 Key: HARMONY-3124
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3124
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Classlib
>         Environment: Windows
>            Reporter: Aleksey Ignatenko
>            Assignee: Gregory Shimansky
>         Attachments: H-3124.patch, hydump_29978977.dmp, minidump_feature_v1.patch
>
>
> Investigating intermittent crashes on EUT I faced with the problem of crash reproduction. It is very difficult to detect some rare crashes or tied to specific hardware. I have introduced into launcher minidumps generating code based on dbghelp library, minidump files are generated when some crash handled by launcher's exception handler happent. Minidump file contains complete snapshot of program state on the moment of crash (stacks, variables).
> I hope it will significantly improve intermittient crashes fixing process.
> I have not tested it yet with older versions of Windows or over other jvms, but the patch is done that dbghelp library is loaded dinamically and in case of problems with loading minidump file is generated.
> Minidump is save into the current directory where your application was launched and there is written additional info, eg:
> ...
> Module_base_address=01320000
> Offset_in_DLL=000b7aea
> Dumpfile=C:\work\Harmony\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\hydump_27422371.dmp
> Investigating EUT crashes I noticed that jrockit also generates dump files in windows.

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


[jira] Updated: (HARMONY-3124) [classlib][launcher] Generation of minidumps files on crash

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

Aleksey Ignatenko updated HARMONY-3124:
---------------------------------------

    Attachment: hydump_29978977.dmp

Sample dump file generated:
...
Module_base_address=01320000
Offset_in_DLL=000b7aea
Dumpfile=C:\work\Harmony\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\hydump_29978977.dmp

> [classlib][launcher] Generation of minidumps files on crash
> -----------------------------------------------------------
>
>                 Key: HARMONY-3124
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3124
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Classlib
>         Environment: Windows
>            Reporter: Aleksey Ignatenko
>         Attachments: hydump_29978977.dmp, minidump_feature_v1.patch
>
>
> Investigating intermittent crashes on EUT I faced with the problem of crash reproduction. It is very difficult to detect some rare crashes or tied to specific hardware. I have introduced into launcher minidumps generating code based on dbghelp library, minidump files are generated when some crash handled by launcher's exception handler happent. Minidump file contains complete snapshot of program state on the moment of crash (stacks, variables).
> I hope it will significantly improve intermittient crashes fixing process.
> I have not tested it yet with older versions of Windows or over other jvms, but the patch is done that dbghelp library is loaded dinamically and in case of problems with loading minidump file is generated.
> Minidump is save into the current directory where your application was launched and there is written additional info, eg:
> ...
> Module_base_address=01320000
> Offset_in_DLL=000b7aea
> Dumpfile=C:\work\Harmony\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\hydump_27422371.dmp
> Investigating EUT crashes I noticed that jrockit also generates dump files in windows.

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


[jira] Updated: (HARMONY-3124) [classlib][launcher] Generation of minidumps files on crash

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

Aleksey Ignatenko updated HARMONY-3124:
---------------------------------------

    Attachment: hydump_29978977.dmp

Sample minidump file generated:

> [classlib][launcher] Generation of minidumps files on crash
> -----------------------------------------------------------
>
>                 Key: HARMONY-3124
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3124
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Classlib
>         Environment: Windows
>            Reporter: Aleksey Ignatenko
>         Attachments: minidump_feature_v1.patch
>
>
> Investigating intermittent crashes on EUT I faced with the problem of crash reproduction. It is very difficult to detect some rare crashes or tied to specific hardware. I have introduced into launcher minidumps generating code based on dbghelp library, minidump files are generated when some crash handled by launcher's exception handler happent. Minidump file contains complete snapshot of program state on the moment of crash (stacks, variables).
> I hope it will significantly improve intermittient crashes fixing process.
> I have not tested it yet with older versions of Windows or over other jvms, but the patch is done that dbghelp library is loaded dinamically and in case of problems with loading minidump file is generated.
> Minidump is save into the current directory where your application was launched and there is written additional info, eg:
> ...
> Module_base_address=01320000
> Offset_in_DLL=000b7aea
> Dumpfile=C:\work\Harmony\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\hydump_27422371.dmp
> Investigating EUT crashes I noticed that jrockit also generates dump files in windows.

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


[jira] Updated: (HARMONY-3124) [classlib][launcher] Generation of minidumps files on crash

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

Ilya Berezhniuk updated HARMONY-3124:
-------------------------------------

    Attachment: H-3124.patch

Here is minidump generation in DRLVM.
Minidump with "minidump_<process ID>.dmp" name is generated right after stack trace printing.

Also 3 warnings are fixed in nt_exception_filter_common.cpp.


> [classlib][launcher] Generation of minidumps files on crash
> -----------------------------------------------------------
>
>                 Key: HARMONY-3124
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3124
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Classlib
>         Environment: Windows
>            Reporter: Aleksey Ignatenko
>         Attachments: H-3124.patch, hydump_29978977.dmp, minidump_feature_v1.patch
>
>
> Investigating intermittent crashes on EUT I faced with the problem of crash reproduction. It is very difficult to detect some rare crashes or tied to specific hardware. I have introduced into launcher minidumps generating code based on dbghelp library, minidump files are generated when some crash handled by launcher's exception handler happent. Minidump file contains complete snapshot of program state on the moment of crash (stacks, variables).
> I hope it will significantly improve intermittient crashes fixing process.
> I have not tested it yet with older versions of Windows or over other jvms, but the patch is done that dbghelp library is loaded dinamically and in case of problems with loading minidump file is generated.
> Minidump is save into the current directory where your application was launched and there is written additional info, eg:
> ...
> Module_base_address=01320000
> Offset_in_DLL=000b7aea
> Dumpfile=C:\work\Harmony\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\hydump_27422371.dmp
> Investigating EUT crashes I noticed that jrockit also generates dump files in windows.

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


[jira] Commented: (HARMONY-3124) [classlib][launcher] Generation of minidumps files on crash

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

Aleksey Ignatenko commented on HARMONY-3124:
--------------------------------------------

Yep, I've already seen it. These exception handler activities do not intersect with each other. Minidump files support is the only superstructure on crash handler to have more info on crash.

> [classlib][launcher] Generation of minidumps files on crash
> -----------------------------------------------------------
>
>                 Key: HARMONY-3124
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3124
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Classlib
>         Environment: Windows
>            Reporter: Aleksey Ignatenko
>         Attachments: hydump_29978977.dmp, minidump_feature_v1.patch
>
>
> Investigating intermittent crashes on EUT I faced with the problem of crash reproduction. It is very difficult to detect some rare crashes or tied to specific hardware. I have introduced into launcher minidumps generating code based on dbghelp library, minidump files are generated when some crash handled by launcher's exception handler happent. Minidump file contains complete snapshot of program state on the moment of crash (stacks, variables).
> I hope it will significantly improve intermittient crashes fixing process.
> I have not tested it yet with older versions of Windows or over other jvms, but the patch is done that dbghelp library is loaded dinamically and in case of problems with loading minidump file is generated.
> Minidump is save into the current directory where your application was launched and there is written additional info, eg:
> ...
> Module_base_address=01320000
> Offset_in_DLL=000b7aea
> Dumpfile=C:\work\Harmony\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\hydump_27422371.dmp
> Investigating EUT crashes I noticed that jrockit also generates dump files in windows.

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


[jira] Updated: (HARMONY-3124) [classlib][launcher] Generation of minidumps files on crash

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

Aleksey Ignatenko updated HARMONY-3124:
---------------------------------------

    Patch Info:   (was: [Patch Available])

> [classlib][launcher] Generation of minidumps files on crash
> -----------------------------------------------------------
>
>                 Key: HARMONY-3124
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3124
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Classlib
>         Environment: Windows
>            Reporter: Aleksey Ignatenko
>         Assigned To: Alexey Petrenko
>         Attachments: hydump_29978977.dmp, minidump_feature_v1.patch
>
>
> Investigating intermittent crashes on EUT I faced with the problem of crash reproduction. It is very difficult to detect some rare crashes or tied to specific hardware. I have introduced into launcher minidumps generating code based on dbghelp library, minidump files are generated when some crash handled by launcher's exception handler happent. Minidump file contains complete snapshot of program state on the moment of crash (stacks, variables).
> I hope it will significantly improve intermittient crashes fixing process.
> I have not tested it yet with older versions of Windows or over other jvms, but the patch is done that dbghelp library is loaded dinamically and in case of problems with loading minidump file is generated.
> Minidump is save into the current directory where your application was launched and there is written additional info, eg:
> ...
> Module_base_address=01320000
> Offset_in_DLL=000b7aea
> Dumpfile=C:\work\Harmony\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\hydump_27422371.dmp
> Investigating EUT crashes I noticed that jrockit also generates dump files in windows.

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


[jira] Updated: (HARMONY-3124) [classlib][launcher] Generation of minidumps files on crash

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

Aleksey Ignatenko updated HARMONY-3124:
---------------------------------------

    Attachment:     (was: hydump_29978977.dmp)

> [classlib][launcher] Generation of minidumps files on crash
> -----------------------------------------------------------
>
>                 Key: HARMONY-3124
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3124
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Classlib
>         Environment: Windows
>            Reporter: Aleksey Ignatenko
>         Attachments: minidump_feature_v1.patch
>
>
> Investigating intermittent crashes on EUT I faced with the problem of crash reproduction. It is very difficult to detect some rare crashes or tied to specific hardware. I have introduced into launcher minidumps generating code based on dbghelp library, minidump files are generated when some crash handled by launcher's exception handler happent. Minidump file contains complete snapshot of program state on the moment of crash (stacks, variables).
> I hope it will significantly improve intermittient crashes fixing process.
> I have not tested it yet with older versions of Windows or over other jvms, but the patch is done that dbghelp library is loaded dinamically and in case of problems with loading minidump file is generated.
> Minidump is save into the current directory where your application was launched and there is written additional info, eg:
> ...
> Module_base_address=01320000
> Offset_in_DLL=000b7aea
> Dumpfile=C:\work\Harmony\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\hydump_27422371.dmp
> Investigating EUT crashes I noticed that jrockit also generates dump files in windows.

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


[jira] Reopened: (HARMONY-3124) [classlib][launcher] Generation of minidumps files on crash

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

Alexey Petrenko reopened HARMONY-3124:
--------------------------------------

      Assignee:     (was: Alexey Petrenko)

Reopened by request of Aleksey Ignatenko. He is going to prepare better patch.
The patch has been reverted.

> [classlib][launcher] Generation of minidumps files on crash
> -----------------------------------------------------------
>
>                 Key: HARMONY-3124
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3124
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Classlib
>         Environment: Windows
>            Reporter: Aleksey Ignatenko
>         Attachments: hydump_29978977.dmp, minidump_feature_v1.patch
>
>
> Investigating intermittent crashes on EUT I faced with the problem of crash reproduction. It is very difficult to detect some rare crashes or tied to specific hardware. I have introduced into launcher minidumps generating code based on dbghelp library, minidump files are generated when some crash handled by launcher's exception handler happent. Minidump file contains complete snapshot of program state on the moment of crash (stacks, variables).
> I hope it will significantly improve intermittient crashes fixing process.
> I have not tested it yet with older versions of Windows or over other jvms, but the patch is done that dbghelp library is loaded dinamically and in case of problems with loading minidump file is generated.
> Minidump is save into the current directory where your application was launched and there is written additional info, eg:
> ...
> Module_base_address=01320000
> Offset_in_DLL=000b7aea
> Dumpfile=C:\work\Harmony\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\hydump_27422371.dmp
> Investigating EUT crashes I noticed that jrockit also generates dump files in windows.

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


[jira] Resolved: (HARMONY-3124) [classlib][launcher] Generation of minidumps files on crash

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

Alexey Petrenko resolved HARMONY-3124.
--------------------------------------

    Resolution: Fixed

The patch has been applied.
Please verify.

> [classlib][launcher] Generation of minidumps files on crash
> -----------------------------------------------------------
>
>                 Key: HARMONY-3124
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3124
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Classlib
>         Environment: Windows
>            Reporter: Aleksey Ignatenko
>         Assigned To: Alexey Petrenko
>         Attachments: hydump_29978977.dmp, minidump_feature_v1.patch
>
>
> Investigating intermittent crashes on EUT I faced with the problem of crash reproduction. It is very difficult to detect some rare crashes or tied to specific hardware. I have introduced into launcher minidumps generating code based on dbghelp library, minidump files are generated when some crash handled by launcher's exception handler happent. Minidump file contains complete snapshot of program state on the moment of crash (stacks, variables).
> I hope it will significantly improve intermittient crashes fixing process.
> I have not tested it yet with older versions of Windows or over other jvms, but the patch is done that dbghelp library is loaded dinamically and in case of problems with loading minidump file is generated.
> Minidump is save into the current directory where your application was launched and there is written additional info, eg:
> ...
> Module_base_address=01320000
> Offset_in_DLL=000b7aea
> Dumpfile=C:\work\Harmony\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\hydump_27422371.dmp
> Investigating EUT crashes I noticed that jrockit also generates dump files in windows.

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


[jira] Assigned: (HARMONY-3124) [classlib][launcher] Generation of minidumps files on crash

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

Alexey Petrenko reassigned HARMONY-3124:
----------------------------------------

    Assignee: Alexey Petrenko

> [classlib][launcher] Generation of minidumps files on crash
> -----------------------------------------------------------
>
>                 Key: HARMONY-3124
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3124
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Classlib
>         Environment: Windows
>            Reporter: Aleksey Ignatenko
>         Assigned To: Alexey Petrenko
>         Attachments: hydump_29978977.dmp, minidump_feature_v1.patch
>
>
> Investigating intermittent crashes on EUT I faced with the problem of crash reproduction. It is very difficult to detect some rare crashes or tied to specific hardware. I have introduced into launcher minidumps generating code based on dbghelp library, minidump files are generated when some crash handled by launcher's exception handler happent. Minidump file contains complete snapshot of program state on the moment of crash (stacks, variables).
> I hope it will significantly improve intermittient crashes fixing process.
> I have not tested it yet with older versions of Windows or over other jvms, but the patch is done that dbghelp library is loaded dinamically and in case of problems with loading minidump file is generated.
> Minidump is save into the current directory where your application was launched and there is written additional info, eg:
> ...
> Module_base_address=01320000
> Offset_in_DLL=000b7aea
> Dumpfile=C:\work\Harmony\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\hydump_27422371.dmp
> Investigating EUT crashes I noticed that jrockit also generates dump files in windows.

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