I've had multiple random crashes running the Espressif-IDE v3.0.0 app on my Ubuntu 24.04 PC. By "random" I mean that the app crashes (abruptly exits) by no apparent reason. In the latest crash I was simply editing a line of code in a .c file! This crash at least seems reproducible I was changing this line of code:
mlog(info, "noBLE version %u.%u built on %s at %s using ESP-IDF %s", APP_VER_MAJOR, APP_VER_MINOR, __DATE__, __TIME__, esp_get_idf_version());
to this line:
mlog(info, "noBLE version %u.%u built on %s at %s using ESP-IDF %s", APP_VER_MAJOR, APP_VER_MINOR, __DATE__, __TIME__, IDF_VER);
That is, simply replacing the call to esp_get_idf_version() for a direct reference to the IDF_VER build define. After deleting the call to esp_get_idf_version(), when I start typing the reference to IDF_VER, the editor pops up a window with the matching options, and that's when the crash happens...
Below you can see the relevant Espressif-IDE processes before the app crashes:
57233 ? Sl 0:00 /home/mmourier/Espressif-IDE/espressif-ide
57261 ? Sl 0:28 /home/mmourier/Espressif-IDE//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_17.0.11.v20240426-1830/jre/bin/java -Xms256m -Xmx2048m -Dosgi.requiredJavaVersion=17 -Dosgi.instance.area.default=@user.home/workspace -jar /home/mmourier/Espressif-IDE//plugins/org.eclipse.equinox.launcher_1.6.600.v20231106-1826.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher /home/mmourier/Espressif-IDE/espressif-ide -name Espressif-ide --launcher.library /home/mmourier/Espressif-IDE//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.800.v20231003-1442/eclipse_11802.so -startup /home/mmourier/Espressif-IDE//plugins/org.eclipse.equinox.launcher_1.6.600.v20231106-1826.jar --launcher.overrideVmargs -exitdata 6 -vm /home/mmourier/Espressif-IDE//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_17.0.11.v20240426-1830/jre/bin/java -vmargs -Xms256m -Xmx2048m -Dosgi.requiredJavaVersion=17 -Dosgi.instance.area.default=@user.home/workspace -jar /home/mmourier/Espressif-IDE//plugins/org.eclipse.equinox.launcher_1.6.600.v20231106-1826.jar
57738 ? Sl 0:00 /home/mmourier/.espressif/tools/esp-clang/15.0.0-23786128ae/esp-clang/bin/clangd --clang-tidy --background-index --completion-style=detailed --pretty --query-driver=/home/mmourier/.espressif/tools/riscv32-esp-elf/esp-12.2.0_20230208/riscv32-esp-elf/bin/riscv32-esp-elf-gcc --compile-commands-dir=/home/mmourier/esp-idf-workspace/esp32DirconServer/build
Any idea what is happening?
Thanks!
Espressif-IDE v3.0.0 randombly crashes on Ubuntu 24.04
Re: Espressif-IDE v3.0.0 randombly crashes on Ubuntu 24.04
Attached you can find the hs_err_pid55186.log file with the crash info.
IDE v3.0.0 is using all its default config values. I did not change any settings.
Downgrading to v2.12.1 of the IDE eliminates this crash.
IDE v3.0.0 is using all its default config values. I did not change any settings.
Downgrading to v2.12.1 of the IDE eliminates this crash.
- Attachments
-
- hs_err_pid55186.log
- (357.76 KiB) Downloaded 131 times
-
- Posts: 188
- Joined: Wed Jul 17, 2019 5:26 pm
Re: Espressif-IDE v3.0.0 randombly crashes on Ubuntu 24.04
Hello,
This could be resolved by settting WEBKIT_DISABLE_COMPOSITING_MODE=1 in the environment variables . Please check this -
https://github.com/eclipse-platform/ecl ... 2023171644
Thanks
This could be resolved by settting WEBKIT_DISABLE_COMPOSITING_MODE=1 in the environment variables . Please check this -
https://github.com/eclipse-platform/ecl ... 2023171644
Thanks
Re: Espressif-IDE v3.0.0 randombly crashes on Ubuntu 24.04
Thanks much @ESP_kondalkolipaka and apologies for the late reply.
Your suggested work-around fixed the crash I was seeing in Espressif-IDE v3.0.0 running on Ubuntu 24.04
If the root cause of the problem is likely to stay around for a while, it may be a good idea to add a note and the suggested workaround, to the IDE's README file.
Best,
Marcelo
Your suggested work-around fixed the crash I was seeing in Espressif-IDE v3.0.0 running on Ubuntu 24.04
If the root cause of the problem is likely to stay around for a while, it may be a good idea to add a note and the suggested workaround, to the IDE's README file.
Best,
Marcelo
Who is online
Users browsing this forum: No registered users and 32 guests