redhat-developer / redhat-developer/vscode-java
Strange dump files occur frequently when I open a Java file
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 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 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,按照列出的步骤,在使用 Eclipse OpenJ9 的 OpenJDK 11 上通过 WSL 中的 VSCode Remote 使用 QuickStart.zip 重现该报告。检查生成的 javacore 或 Snap 文件以及 Language Support for Java 的输出,包括 extension.js 连接错误;完成的标准是没有转储文件或错误消息,并且运行/调试按钮仍然可用。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, linux, vscode
- 领域
- devtools, operating-systems
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 28/100