Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


[SOLVED] Arch Linux: CUBE crashes with SIGSEGV

Hi,

I’m getting the following on the console after executing either code generation or code documentation generation:

---------

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007f39e5597b2c, pid=3721, tid=0x00007f39f273d700

JRE version: OpenJDK Runtime Environment (8.0_102-b14) (build 1.8.0_102-b14)
Java VM: OpenJDK 64-Bit Server VM (25.102-b14 mixed mode linux-amd64 compressed oops)
Problematic frame:
C libgdk-x11-2.0.so.0+0x4eb2c gdk_display_open+0x5c

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try “ulimit -c unlimited” before starting Java again

An error report file with more information is saved as:
/home/przemek/hs_err_pid3721.log

(Eclipse:3721): Gdk-WARNING **: XSetErrorHandler() called with a GDK error trap pushed. Don’t do that.

If you would like to submit a bug report, please visit:
http://bugreport.java.com/bugreport/crash.jspQuestion
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.

-------------

The code does get generated, I can import it and compile, and it runs as expected based on changes made in CUBE. The documentation is generated as well, Eclipse crashes *after* these tasks.

Eclipse Neon 4.6.0
CubeMX 4.17.0
OpenJDK Runtime Environment (8.0_102-b14)

Attached is the log file after crash after documentation generation.

Any hints as to what the problem is will be aprreciated!

Przemek

Hi Bernard,

Thanks a million! I can confirm that displaying Settings for C/C++ Build options also caused Eclipse to hang, and now running Eclipse after export SWT_GTK3=0 did the trick. I can see the settings and generate code in Cube.

Maybe you (someone?) could add my case to the FAQ you mentioned - it seems another symptom for the same problem.

Best,
Przemek


 

Newest Forum Posts

  1. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  2. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  4. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  5. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  6. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  7. Build a project in "release" mode by tang, 2025-02-20 10:36
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35
  9. Fail to debug in Win 11 C/C++ by mortenlund, 2024-12-26 20:27
  10. Fail to debug in Win 11 C/C++ by mortenlund, 2024-12-18 20:48

Last-Modified Blogs