Open jonathanlermitage opened 7 months ago
Does this still reproduce with 2024.1 Release Candidate build 241.14494.158? Do you have any JVM crash dumps by chance?
Yes, just reproduced with
Build #IC-241.14494.240, built on March 28, 2024
Runtime version: 17.0.10+8-b1207.12 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10.0
Kotlin analyzer version: 2.0.0-ij241-276
GC: G1 Young Generation, G1 Old Generation
I don't see any crash dump in the idea-sandbox/ide-version/system/log/
folder. Should I add a startup flag?
I don't remember exactly where they would be stored. User home directory?
For a regular IDE, yes, it would be located in %localappadata%/...
, but here, this is for an IDE started by the intellij-platform-gradle-plugin
plugin. Logs, crash dumps, config, etc, are stored in (project's dir)/build/idea-sandbox/...
Otherwise, it would be in home directory, but there's no dump file.
I added
runIde {
jvmArgs(
"-XX:+HeapDumpOnOutOfMemoryError",
"-XX:ErrorFile=C:\\Users\\jonat\\java_error_in_idea64.log",
"-XX:HeapDumpPath=C:\\Users\\jonat\\java_error_in_idea64.hprof"
)
to my build.gradle.kts
, and VisualVM says these flags are enabled, but still no crash dump.
Also tried without -XX:+HeapDumpOnOutOfMemoryError
. But, it would be only for OOME.
Here, the JVM simply crashes. Please note this is always the same exit value: -1073740791
.
I think we're hitting the same issue with our plug-in that opens new terminal windows. Reproduced with the 2024.1 release.
pinged developer..
What happened?
Start a 2024.1 EAP1 IDE with
runIde
, open a project (or simply an empty folder), then open the integrated terminal. The terminal toolwindow seems to load... then the IDE crashes.No problem with 2023 IDEs. Tested on Windows 10 x64.
gradle-intellij-plugin 1.16.1 and 1.17.0. Gradle 8.5.
I tried to disable the new terminal (Registry >
terminal.new.ui
to false, restart IDE), but it does not help.I don't know if this is an IDEA issue. I tried to install IJ 2024.1 EAP (fresh install) on my machine, then open the terminal, and it works fine, with regular and new UI, regular and new terminal. It seems to be specific to plugin development (runIde).
Please see attached demo video
https://github.com/JetBrains/gradle-intellij-plugin/assets/857535/cd674d0e-ab4a-4867-8ef0-71f197a8c804
and logs idea.log
Relevant log output or stack trace