Bug 569886 - Eclipe crash while performing a custom Plugin task
Summary: Eclipe crash while performing a custom Plugin task
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 4.19   Edit
Hardware: PC Windows 10
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: platform-runtime-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-23 03:33 EST by Gabriele Pezzini CLA
Modified: 2021-01-05 07:00 EST (History)
1 user (show)

See Also:


Attachments
Eclipse configuration and file I found in the file system after the crash (646.01 KB, application/octet-stream)
2020-12-23 03:33 EST, Gabriele Pezzini CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriele Pezzini CLA 2020-12-23 03:33:31 EST
Created attachment 285102 [details]
Eclipse configuration and file I found in the file system after the crash

Eclipe is started from a DOS command prompt using a .bat file.
Is used the -application option to start eclipse, this application is a our plugin 
which will performs a custom task.


Important note.
If I use the same .bat file and same plugin; but instead eclipse 2012-12 and AdoptOpenJDK 11:
Eclipse 2020-06 (the latest which allow to me to start using jdk 8)
java:
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (build 1.8.0_275-b01)
Eclipse OpenJ9 VM (build openj9-0.23.0, JRE 1.8.0 Windows 10 amd64-64-Bit Compressed References 20201112_897 (JIT enabled, AOT enabled)
OpenJ9   - 0394ef754
OMR      - 582366ae5
JCL      - b52d2ff7ee based on jdk8u275-b01)

The plugin task is performed without any problem.

Info about the configuration which crash:

The java version is:
openjdk version "11.0.9" 2020-10-20
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.9+11)
Eclipse OpenJ9 VM AdoptOpenJDK (build openj9-0.23.0, JRE 11 Windows 10 amd64-64-Bit Compressed References 20201022_795 (JIT enabled, AOT enabled)
OpenJ9   - 0394ef754
OMR      - 582366ae5
JCL      - 3b09cfd7e9 based on jdk-11.0.9+11)


The eclipse configuration is in attached EclipseConf.txt

I attach the files I found in file system after the crash , please let me know if you need additional info.

I've also the 7z of the .dump file, but the compressed size is 658.831 KB,
so I can not upload here.
If you need it, please let me know how to post to you.

Thanks
Comment 1 Rolf Theunissen CLA 2020-12-24 07:17:32 EST
To me it looks like this is a crash in OpenJ9, please report this crash at OpenJ9 too [1] and add a reference to that bug here.

[1] https://github.com/eclipse/openj9/issues.

1XHEXCPCODE    Windows_ExceptionCode: C0000005
1XHEXCPCODE    J9Generic_Signal: 00000004
1XHEXCPCODE    ExceptionAddress: 00007FF8809F0FBA
1XHEXCPCODE    ContextFlags: 0010005F
1XHEXCPCODE    Handler1: 00007FF880510D80
1XHEXCPCODE    Handler2: 00007FF8B244AC10
1XHEXCPCODE    InaccessibleWriteAddress: 00007FF40000002E
NULL           
1XHEXCPMODULE  Module: E:\AdoptOpenJdk11\bin\compressedrefs\j9jit29.dll
1XHEXCPMODULE  Module_base_address: 00007FF880480000
1XHEXCPMODULE  Offset_in_DLL: 0000000000570FBA

1XMCURTHDINFO  Current thread
3XMTHREADINFO      "JIT Compilation Thread-001" J9VMThread:0x0000000002C91200, omrthread_t:0x00000000186FA4F0, java/lang/Thread:0x0000000500450BA0, state:R, prio=10
Comment 2 Gabriele Pezzini CLA 2021-01-05 07:00:03 EST
Done.
the corresponding issue I have opened is: https://github.com/eclipse/openj9/issues/11569