Skip to content

Segmentation fault when launching Arduino IDE #2759

@abod8639

Description

@abod8639

Describe the problem

Launching Arduino IDE on Arch Linux causes an immediate crash with a segmentation fault. The issue occurs right after frontend configuration is initialized. The program exits before rendering any user interface.

Arduino IDE 2.3.6
Checking for frontend application configuration customizations. Module path: /opt/arduino-ide/resources/app/lib/backend/electron-main.js, destination 'package.json': /opt/arduino-ide/resources/app/package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.3.6" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "1.2.0" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2025-04-09T11:24:04.835Z" (type of string)
Frontend application configuration after modifications: {...}
zsh: segmentation fault (core dumped)  arduino-ide

To reproduce

Start Arduino IDE.

Expected behavior

The IDE should initialize and display the GUI without crashing.

Arduino IDE version

2.3.6

Installation Method: pacman or yay

Operating system

Arch Linux

Operating system version

Arch is fully up-to-date

  • Kernel: Linux 6.x (latest available)
  • Shell: zsh
  • Window System: Wayland (Hyprland)
  • Desktop Environment / WM: Hyprland (Wayland compositor)

Additional context

The crash occurs consistently on every launch.

It appears to be related to Electron or frontend initialization in a Wayland environment.

Other Electron apps may work correctly, but this issue seems specific to this build of Arduino IDE.

Is there a known compatibility issue with Wayland (Hyprland in particular)?

Are there any environment flags (e.g. forcing X11) that can work around this issue?

Would it help to downgrade or rebuild Electron dependencies manually?

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions