redhat-developer / redhat-developer/vscode-java
Strange dump files occur frequently when I open a Java file
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 2.3k
- Fork
- 546
- Merge medio
- 20h 1m
- PR unite (30g)
- 11
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo il report con QuickStart.zip in VSCode Remote su WSL usando OpenJDK 11 con Eclipse OpenJ9, seguendo i passaggi elencati. Ispeziona i file javacore o Snap generati e l’output di Language Support for Java, incluso l’errore di connessione di extension.js; l’attività è completata quando non sono presenti file di dump né messaggi di errore e il pulsante di esecuzione/debug rimane disponibile.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java, linux, vscode
- Ambito
- devtools, operating-systems
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 28/100