redhat-developer / redhat-developer/vscode-java
Strange dump files occur frequently when I open a Java file
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
I am using VSCode Remote on WSL. The JDK version I am using is OpenJDK11 with Eclipse OpenJ9 VM.
Often when I open a Java file, some dump files will appear in the folder the Java file is in, together with the following VSCode Language Support for Java output.
j9shr.1012 * ** ASSERTION FAILED ** at CompositeCache.cpp:2094: ((this->_commonCCInfo->oldWriterCount == _theca->writerCount))
Whenever these dump files appear, the run & debug button will disappear from above the main function of the Java file.
Environment
- Operating System: Windows 10 Pro Build 19041 Arch Linux (on the Windows Subsystem for Linux)
- JDK version: OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.8+10) Eclipse OpenJ9 VM AdoptOpenJDK (build openj9-0.21.0, JRE 11 Linux amd64-64-Bit Compressed References 20200715_697 (JIT enabled, AOT enabled)
- Visual Studio Code version: 1.50.1 d2e414d9e4239a252d1ab117bd7067f125afd80a
- Java extension version: Java Extension Pack 0.10.0 Language Support for Java 0.69.0
Steps To Reproduce
- Enter
code .in the folder where the Java file is placed in - In VSCode, open the Java file
- If no dump file appear, close VSCode and start again from step 1
Please attach a sample project reproducing the error
QuickStart.zip
Please attach logs
ERR Connection got disposed.: Error: Connection got disposed.
at Object.dispose (/home/kkd/.vscode-server/extensions/redhat.java-0.69.0/dist/extension.js:1:80706)
at Object.dispose (/home/kkd/.vscode-server/extensions/redhat.java-0.69.0/dist/extension.js:1:140393)
at /home/kkd/.vscode-server/extensions/redhat.java-0.69.0/dist/extension.js:1:137049
at processTicksAndRejections (internal/process/task_queues.js:94:5)
Current Result
Very possibly some dump files with file name javacore.date_and_time.txt or Snap.date_and_time.trc, error messages in VSCode output
Expected Result
No dump file and no error message in VSCode output
Additional Informations
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、記載された手順に従い、Eclipse OpenJ9 を使用した OpenJDK 11 上の WSL の VSCode Remote で QuickStart.zip を使って報告を再現します。生成された javacore または Snap ファイルと、extension.js の接続エラーを含む Language Support for Java の出力を調査します。完了とは、ダンプファイルやエラーメッセージがなく、実行/デバッグボタンが引き続き使用できる状態を指します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, linux, vscode
- 領域
- devtools, operating-systems
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 28/100