harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Ignatenko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3124) [classlib][launcher] Generation of minidumps files on crash
Date Tue, 06 Feb 2007 11:16:05 GMT

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

View raw message