Skip to content

Arduino IDE exits before startup with a return value of 139 #2750

Open
@libewa

Description

@libewa

Describe the problem

Launching Arduino IDE v2 on NixOS, both with the nixpkgs package and the AppImage, crashes the IDE before a window is even created.

╭─linus@nixmac ~ 
╰─$ Downloads/arduino-ide_nightly-20250705_Linux_64bit.AppImage 
Uncompress arduino-ide_nightly-20250705_Linux_64bit.AppImage of type 02 @ offset 188392
[============================================================================================================================================================/] 16631/16631 100%
arduino-ide_nightly-20250705_Linux_64bit.AppImage is now installed in /home/linus/.cache/appimage-run/3abaf9741672920abd8591c20b996647de20e6adb510a40fbdd397e6c7408be4
Arduino IDE 2.3.7-nightly-20250705
Checking for frontend application configuration customizations. Module path: /home/linus/.cache/appimage-run/3abaf9741672920abd8591c20b996647de20e6adb510a40fbdd397e6c7408be4/resources/app/lib/backend/electron-main.js, destination 'package.json': /home/linus/.cache/appimage-run/3abaf9741672920abd8591c20b996647de20e6adb510a40fbdd397e6c7408be4/resources/app/package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.3.7-nightly-20250705" (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-07-05T03:27:24.325Z" (type of string)
Frontend application configuration after modifications: {"applicationName":"Arduino IDE","defaultTheme":{"light":"arduino-theme","dark":"arduino-theme-dark"},"defaultIconTheme":"none","electron":{"windowOptions":{},"showWindowEarly":true,"splashScreenOptions":{},"uriScheme":"arduino-ide"},"defaultLocale":"","validatePreferencesSchema":false,"reloadOnReconnect":true,"uriScheme":"theia","preferences":{"window.title":"${rootName}${activeEditorShort}${appName}","files.autoSave":"afterDelay","editor.minimap.enabled":false,"editor.tabSize":2,"editor.scrollBeyondLastLine":false,"editor.quickSuggestions":{"other":false,"comments":false,"strings":false},"editor.maxTokenizationLineLength":500,"editor.bracketPairColorization.enabled":false,"breadcrumbs.enabled":false,"workbench.tree.renderIndentGuides":"none","explorer.compactFolders":false},"appVersion":"2.3.7-nightly-20250705","cliVersion":"1.2.0","buildDate":"2025-07-05T03:27:24.325Z"}
╭─linus@nixmac ~ 
╰─$ echo $?
139

To reproduce

Method 1:

  • Use NixOS set up for AppImage
  • Download Arduino IDE v2.3.6
  • Run the IDE from the terminal
    Method 2:
  • Use NixOS with Flakes
  • Run Arduino IDE: nix run nixpkgs#arduino-ide

Expected behavior

The IDE should launch.

Arduino IDE version

2.3.6

Operating system

Linux

Operating system version

NixOS 25.11.20250624.30a61f0 (Xantusia)

Additional context

I use NixOS with Hyprland, so the issue may be due to missing dependencies or DE functions.
https://github.com/libewa/nixconfig

My friend has a similar issue using the Flatpak on Fedora 42 KDE

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

No one assigned

    Labels

    type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions