Hello.
Since 2001 I switched from Linux to *BSD because of security reasons. The last Linux I ran was Red Hat 7.2.
Current system setup: FreeBSD 13.2-release/amd64. 64 GB RAM, CPU = Intel i7-9750H.
Linux emulation mode: "Linuxlator", Ubuntu Jammy distribution, 64-bit.
All Arduino 1.x including 1.8.19 are running perfect, no issues, absolutely nothing to complain.
Fritzing also runs flawless.
However, Arduino 2.2.1 - the only one I tested - somehow does not like the environment.
The .appimage complains about an error in the included libffmpeg.so library.
Unpacking the .zip package, let's see how it works:
Output results:
$ ./arduino-ide
./arduino-ide
/home/skaarj/arduino-ide_2.2.1_Linux_64bit/arduino-ide: error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory
Trace/breakpoint trap
well, libffmpeg.so is present in the working directory.
Placed symlinks into /usr/lib pointing to all .so libraries inside the current directory.
Retry:
% ./arduino-ide
[99780:0131/152511.175461:ERROR:file_path_watcher_inotify.cc(823)] Failed to read /proc/sys/fs/inotify/max_user_watches
[606:0131/152511.176033:ERROR:file_path_watcher_inotify.cc(823)] Failed to read /proc/sys/fs/inotify/max_user_watches
Trace/breakpoint trap
well, I have some sysctl flags regarding kern.maxfiles which specify how many opened files are allowed at the same time. It is set to 256000 (half a million). However... there is no such entry into /proc/sys/fs to read.
Is it possible to switch that test in order to use the numeric result of sysctl kernel.*?
Retry with --no-sandbox:
[34414:0131/153655.837521:ERROR:file_path_watcher_inotify.cc(823)] Failed to read /proc/sys/fs/inotify/max_user_watches
[34599:0131/153655.838191:ERROR:file_path_watcher_inotify.cc(823)] Failed to read /proc/sys/fs/inotify/max_user_watches
[33917:0131/153655.839460:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Arduino IDE 2.2.1
Checking for frontend application configuration customizations. Module path: /home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/electron-main.j s, destination 'package.json': /home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/package.json
Gtk-Message: 15:36:56.177: Failed to load module "colorreload-gtk-module"
Gtk-Message: 15:36:56.177: Failed to load module "window-decorations-gtk-module"
[33917:0131/153656.189002:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[33917:0131/153656.189026:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[33917:0131/153656.190070:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp " and on UNIX "unix")
[33917:0131/153656.190085:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp " and on UNIX "unix")
[33917:0131/153656.190087:ERROR:file_path_watcher_inotify.cc(315)] inotify_init() failed: Function not implemented (38)
[33917:0131/153656.190842:ERROR:udev_watcher.cc(52)] Failed to initialize a udev monitor.
[33917:0131/153656.193372:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 34739: No such file or directory (2)
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.2.1" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "0.34.0" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2023-08-31T14:16:33.536Z" (type of string)
Frontend application configuration after modifications: {"applicationName":"Arduino IDE","defaultTheme":{"light":"arduino-theme","dark":"arduino-theme-dark"},"de faultIconTheme":"none","electron":{"windowOptions":{}},"defaultLocale":"","validatePreferencesSchema":false,"preferences":{"window.title":"${rootName}${activeEdi torShort}${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":fa lse,"workbench.tree.renderIndentGuides":"none","explorer.compactFolders":false},"appVersion":"2.2.1","cliVersion":"0.34.0","buildDate":"2023-08-31T14:16:33.536Z" }
Starting backend process. PID: 34765
[34739:0131/153656.255406:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
ERR: Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
[34739:0131/153656.255486:ERROR:gl_display.cc(504)] EGL Driver message (Critical) eglInitialize: Invalid visual ID requested.
[34739:0131/153656.255506:ERROR:gl_display.cc(917)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[34739:0131/153656.255669:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
ERR: Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
[34739:0131/153656.255694:ERROR:gl_display.cc(504)] EGL Driver message (Critical) eglInitialize: Invalid visual ID requested.
[34739:0131/153656.255711:ERROR:gl_display.cc(917)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[34739:0131/153656.255729:ERROR:gl_ozone_egl.cc(23)] GLDisplayEGL::Initialize failed.
[34739:0131/153656.256513:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[33917:0131/153656.263419:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 35810: No such file or directory (2)
[35810:0131/153656.324713:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
ERR: Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
[35810:0131/153656.324788:ERROR:gl_display.cc(504)] EGL Driver message (Critical) eglInitialize: Invalid visual ID requested.
[35810:0131/153656.324809:ERROR:gl_display.cc(917)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[35810:0131/153656.325712:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
ERR: Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Invalid visual ID requested.
[35810:0131/153656.325736:ERROR:gl_display.cc(504)] EGL Driver message (Critical) eglInitialize: Invalid visual ID requested.
[35810:0131/153656.325758:ERROR:gl_display.cc(917)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[35810:0131/153656.325777:ERROR:gl_ozone_egl.cc(23)] GLDisplayEGL::Initialize failed.
[35810:0131/153656.328764:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[33917:0131/153656.334804:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 36250: No such file or directory (2)
[36250:0131/153656.395078:FATAL:proc_util.cc(97)] Check failed: . : No such file or directory (2)
[33917:0131/153656.398412:ERROR:gpu_process_host.cc(953)] GPU process exited unexpectedly: exit_code=5
[33917:0131/153656.401051:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 37150: No such file or directory (2)
[37150:0131/153656.458648:FATAL:proc_util.cc(97)] Check failed: . : No such file or directory (2)
[33917:0131/153656.462018:ERROR:gpu_process_host.cc(953)] GPU process exited unexpectedly: exit_code=5
[33917:0131/153656.464601:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 37320: No such file or directory (2)
[37320:0131/153656.524248:FATAL:proc_util.cc(97)] Check failed: . : No such file or directory (2)
[33917:0131/153656.527707:ERROR:gpu_process_host.cc(953)] GPU process exited unexpectedly: exit_code=5
[33917:0131/153656.530522:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 37975: No such file or directory (2)
[37975:0131/153656.532644:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is
[37975:0131/153656.532814:FATAL:proc_util.cc(97)] Check failed: . : No such file or directory (2)
[33917:0131/153656.535221:ERROR:gpu_process_host.cc(953)] GPU process exited unexpectedly: exit_code=5
[33917:0131/153656.537808:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 38138: No such file or directory (2)
[38138:0131/153656.539982:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is
[38138:0131/153656.540156:FATAL:proc_util.cc(97)] Check failed: . : No such file or directory (2)
[33917:0131/153656.542528:ERROR:gpu_process_host.cc(953)] GPU process exited unexpectedly: exit_code=5
[33917:0131/153656.545035:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 38540: No such file or directory (2)
[38540:0131/153656.549887:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is
[38540:0131/153656.550053:FATAL:proc_util.cc(97)] Check failed: . : No such file or directory (2)
[33917:0131/153656.552595:ERROR:gpu_process_host.cc(953)] GPU process exited unexpectedly: exit_code=5
[33917:0131/153656.552606:FATAL:gpu_data_manager_impl_private.cc(440)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///home/skaarj/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-01-31T15:36:56.723Z root INFO Backend Object.initialize: 4.0 ms [Finished 0.475 s after backend start]
2024-01-31T15:36:56.723Z root INFO Backend Object.configure: 3.3 ms [Finished 0.475 s after backend start]
2024-01-31T15:36:56.723Z root INFO Backend a.onStart: 1.4 ms [Finished 0.475 s after backend start]
2024-01-31T15:36:56.724Z root INFO Backend a.configure: 0.3 ms [Finished 0.499 s after backend start]
2024-01-31T15:36:56.724Z root INFO Backend u.onStart: 0.2 ms [Finished 0.499 s after backend start]
2024-01-31T15:36:56.725Z root INFO Backend d.configure: 0.1 ms [Finished 0.499 s after backend start]
2024-01-31T15:36:56.726Z root INFO Backend d.initialize: 24.2 ms [Finished 0.499 s after backend start]
2024-01-31T15:36:56.726Z root INFO Backend c.onStart: 0.2 ms [Finished 0.499 s after backend start]
2024-01-31T15:36:56.726Z root INFO Backend s.configure: 0.7 ms [Finished 0.500 s after backend start]
2024-01-31T15:36:56.728Z config INFO >>> Initializing CLI configuration...
2024-01-31T15:36:56.728Z root INFO Backend c.initialize: 0.4 ms [Finished 0.500 s after backend start]
2024-01-31T15:36:56.728Z root INFO Backend P.onStart: 0.7 ms [Finished 0.501 s after backend start]
2024-01-31T15:36:56.729Z config INFO Loading CLI configuration from /home/skaarj/.arduinoIDE/arduino-cli.yaml...
2024-01-31T15:36:56.729Z daemon INFO Starting daemon from /home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/resources/arduino-cli...
2024-01-31T15:36:56.729Z root INFO Backend s.initialize: 0.3 ms [Finished 0.502 s after backend start]
2024-01-31T15:36:56.729Z root INFO Backend w.onStart: 0.9 ms [Finished 0.502 s after backend start]
2024-01-31T15:36:56.729Z root INFO Backend r.configure: 1.6 ms [Finished 0.502 s after backend start]
2024-01-31T15:36:56.730Z discovery-log INFO start
2024-01-31T15:36:56.730Z discovery-log INFO start new deferred
2024-01-31T15:36:56.730Z root INFO Backend d.initialize: 0.4 ms [Finished 0.503 s after backend start]
2024-01-31T15:36:56.730Z root INFO Backend y.onStart: 1.8 ms [Finished 0.504 s after backend start]
2024-01-31T15:36:56.730Z root INFO Backend r.configure: 1.6 ms [Finished 0.505 s after backend start]
2024-01-31T15:36:56.730Z root INFO Backend s.onStart: 0.5 ms [Finished 0.506 s after backend start]
2024-01-31T15:36:56.730Z root INFO Backend h.configure: 0.5 ms [Finished 0.506 s after backend start]
2024-01-31T15:36:56.730Z root INFO Backend a.configure: 0.2 ms [Finished 0.506 s after backend start]
2024-01-31T15:36:56.730Z root INFO Backend s.configure: 0.1 ms [Finished 0.506 s after backend start]
2024-01-31T15:36:56.730Z root INFO Backend l.configure: 0.1 ms [Finished 0.507 s after backend start]
2024-01-31T15:36:56.732Z root INFO Theia app listening on http://localhost:15229.
2024-01-31T15:36:56.733Z root INFO Finished starting backend application: 2.8 ms [Finished 0.509 s after backend start]
2024-01-31T15:36:56.733Z root ERROR Uncaught Exception: Error: write EPIPE
2024-01-31T15:36:56.733Z root ERROR Error: write EPIPE
at target._send (node:internal/child_process:865:20)
at target.send (node:internal/child_process:738:19)
at /home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:719592
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-01-31T15:36:56.742Z root WARN The local plugin referenced by local-dir:/home/skaarj/.arduinoIDE/plugins does not exist.
2024-01-31T15:36:56.743Z root WARN The local plugin referenced by local-dir:/home/skaarj/.arduinoIDE/extensions does not exist.
2024-01-31T15:36:56.753Z root ERROR Error: Unexpected SIGPIPE
at process.<anonymous> (/home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:1143177)
at process.emit (node:events:525:35)
2024-01-31T15:36:56.753Z root ERROR Error: Unexpected SIGPIPE signal.
at process.<anonymous> (/home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:662212)
at process.emit (node:events:525:35)
2024-01-31T15:36:56.759Z daemon INFO time="2024-01-31T15:36:56Z" level=info msg="Using config file: /home/skaarj/.arduinoIDE/arduino-cli.yaml"
time="2024-01-31T15:36:56Z" level=info msg="arduino-cli version 0.34.0"
time="2024-01-31T15:36:56Z" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:52468
{"IP":"127.0.0.1","Port":"52468"}
2024-01-31T15:36:56.759Z daemon INFO Daemon is running.
2024-01-31T15:36:56.762Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0 m0s"},"daemon":{"port":"50051"},"directories":{"data":"/home/skaarj/.arduino15","downloads":"/home/skaarj/.arduino15/staging","user":"/home/skaarj/Arduino"},"lib rary":{"enable_unsafe_install":false},"logging":{"file":"","format":"text","level":"info"},"metrics":{"addr":":9090","enabled":true},"output":{"no_color":false}, "sketch":{"always_export_binaries":false},"updater":{"enable_notification":true}}
2024-01-31T15:36:56.762Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-01-31T15:36:56.762Z config INFO Loaded the CLI configuration.
2024-01-31T15:36:56.773Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///home/skaarj/.arduino15","sketchDirUri":"file:///home/skaarj/Arduino","a dditionalUrls":[],"network":"none","locale":"en"}
2024-01-31T15:36:56.773Z config INFO Validating the CLI configuration...
2024-01-31T15:36:56.779Z config INFO The CLI config is valid.
2024-01-31T15:36:56.779Z config INFO <<< Initialized the CLI configuration.
2024-01-31T15:36:56.785Z root INFO Resolve plugins list: 56.3 ms [Finished 0.561 s after backend start]
2024-01-31T15:36:56.791Z daemon INFO time="2024-01-31T15:36:56Z" level=info msg="Checking signature" index=/home/skaarj/.arduino15/package_index.json signatureFi le=/home/skaarj/.arduino15/package_index.json.sig trusted=true
2024-01-31T15:36:56.792Z daemon INFO time="2024-01-31T15:36:56Z" level=info msg="Loading hardware from: /home/skaarj/.arduino15/packages"
2024-01-31T15:36:56.792Z daemon INFO time="2024-01-31T15:36:56Z" level=info msg="Loading package arduino from: /home/skaarj/.arduino15/packages/arduino/hardware"
2024-01-31T15:36:56.801Z daemon INFO time="2024-01-31T15:36:56Z" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-01-31T15:36:56Z" level=info msg="Loaded platform" platform="arduino:mbed_giga@4.0.10"
time="2024-01-31T15:36:56Z" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-01-31T15:36:56Z" level=info msg="Loaded platform" platform="arduino:sam@1.6.12"
time="2024-01-31T15:36:56Z" level=info msg="Checking existence of 'tools' path: /home/skaarj/.arduino15/packages/arduino/tools"
time="2024-01-31T15:36:56Z" level=info msg="Loading tools from dir: /home/skaarj/.arduino15/packages/arduino/tools"
time="2024-01-31T15:36:56Z" level=info msg="Loaded tool" tool="arduino:arm-none-eabi-gcc@4.8.3-2014q1"
time="2024-01-31T15:36:56Z" level=info msg="Loaded tool" tool="arduino:arm-none-eabi-gcc@7-2017q4"
time="2024-01-31T15:36:56Z" level=info msg="Loaded tool" tool="arduino:bossac@1.6.1-arduino"
time="2024-01-31T15:36:56Z" level=info msg="Loaded tool" tool="arduino:dfu-util@0.10.0-arduino1"
time="2024-01-31T15:36:56Z" level=info msg="Loaded tool" tool="arduino:imgtool@1.8.0-arduino.2"
time="2024-01-31T15:36:56Z" level=info msg="Loaded tool" tool="arduino:openocd@0.11.0-arduino2"
time="2024-01-31T15:36:56Z" level=info msg="Loading package builtin from: /home/skaarj/.arduino15/packages/builtin"
time="2024-01-31T15:36:56Z" level=info msg="Checking existence of 'tools' path: /home/skaarj/.arduino15/packages/builtin/tools"
time="2024-01-31T15:36:56Z" level=info msg="Loading tools from dir: /home/skaarj/.arduino15/packages/builtin/tools"
time="2024-01-31T15:36:56Z" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
time="2024-01-31T15:36:56Z" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
time="2024-01-31T15:36:56Z" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
time="2024-01-31T15:36:56Z" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.0"
time="2024-01-31T15:36:56Z" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.13.0"
time="2024-01-31T15:36:56Z" level=info msg="Adding libraries dir" dir=/home/skaarj/.arduino15/packages/arduino/hardware/sam/1.6.12/libraries location=platform
time="2024-01-31T15:36:56Z" level=info msg="Adding libraries dir" dir=/home/skaarj/.arduino15/packages/arduino/hardware/mbed_giga/4.0.10/libraries location=platf orm
time="2024-01-31T15:36:56Z" level=info msg="Loading libraries index file" index=/home/skaarj/.arduino15/library_index.json
2024-01-31T15:36:56.945Z daemon INFO panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x9dc7d8]
goroutine 33 [running]:
go.bug.st/relaxed-semver.(*Version).CompareTo(0xd50fe0?, 0xc000519260?)
/go/pkg/mod/go.bug.st/relaxed-semver@v0.10.2/version.go:162 +0x18
go.bug.st/relaxed-semver.(*Version).LessThan(...)
/go/pkg/mod/go.bug.st/relaxed-semver@v0.10.2/version.go:234
github.com/arduino/arduino-cli/arduino/libraries/librariesindex.(*indexRelease).extractReleaseIn(0xc00013f3a0, 0xc000519230)
/home/build/arduino/libraries/librariesindex/json.go:124 +0x3e5
github.com/arduino/arduino-cli/arduino/libraries/librariesindex.(*indexRelease).extractLibraryIn(0xc00013f3a0, 0xc000012d20)
/home/build/arduino/libraries/librariesindex/json.go:97 +0xfc
github.com/arduino/arduino-cli/arduino/libraries/librariesindex.indexJSON.extractIndex(...)
/home/build/arduino/libraries/librariesindex/json.go:83
github.com/arduino/arduino-cli/arduino/libraries/librariesindex.LoadIndex(0xc0003b5ab0?)
/home/build/arduino/libraries/librariesindex/json.go:75 +0x225
github.com/arduino/arduino-cli/arduino/libraries/librariesmanager.(*LibrariesManager).LoadIndex(0xc0000fb400)
/home/build/arduino/libraries/librariesmanager/librariesmanager.go:87 +0x88
github.com/arduino/arduino-cli/commands.Init(0xc00049a140, 0xc000397af0?)
/home/build/commands/instances.go:417 +0x11f9
github.com/arduino/arduino-cli/commands/daemon.(*ArduinoCoreServerImpl).Init(0xc0004b8000?, 0xe02560?, {0x113da10?, 0xc0004a0190})
/home/build/commands/daemon/daemon.go:184 +0xf2
github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1._ArduinoCoreService_Init_Handler({0xe66e80?, 0xc000261060}, {0x113c1d0, 0xc0004b8000})
/home/build/rpc/cc/arduino/cli/commands/v1/commands_grpc.pb.go:1237 +0xd0
google.golang.org/grpc.(*Server).processStreamingRPC(0xc0001a61e0, {0x113f000, 0xc00009a4e0}, 0xc0004a8000, 0xc000378840, 0x1742b60, 0x0)
/go/pkg/mod/google.golang.org/grpc@v1.55.0/server.go:1631 +0x1384
google.golang.org/grpc.(*Server).handleStream(0xc0001a61e0, {0x113f000, 0xc00009a4e0}, 0xc0004a8000, 0x0)
/go/pkg/mod/google.golang.org/grpc@v1.55.0/server.go:1718 +0x9f0
google.golang.org/grpc.(*Server).serveStreams.func1.1()
/go/pkg/mod/google.golang.org/grpc@v1.55.0/server.go:959 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
/go/pkg/mod/google.golang.org/grpc@v1.55.0/server.go:957 +0x18c
2024-01-31T15:36:56.945Z daemon INFO Daemon exited with exit code: 2.
2024-01-31T15:36:56.947Z root ERROR Error occurred while initializing the core gRPC client provider Error: 1 CANCELLED: Call cancelled
at t.callErrorFromStatus (/home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:726796)
at Object.onReceiveStatus (/home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:754336)
at Object.onReceiveStatus (/home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:747360)
at /home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:832904
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
at a.makeServerStreamRequest (/home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:754103)
at a.init (/home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:818312)
at /home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:585526
at new Promise (<anonymous>)
at _.initInstance (/home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:585492)
at _.initInstanceWithFallback (/home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:584299)
at _.create (/home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:584204)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-01-31T15:36:56.947Z root ERROR Uncaught Exception: Error: 1 CANCELLED: Call cancelled
2024-01-31T15:36:56.947Z root ERROR Error: 1 CANCELLED: Call cancelled
at t.callErrorFromStatus (/home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:726796)
at Object.onReceiveStatus (/home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:754336)
at Object.onReceiveStatus (/home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:747360)
at /home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:832904
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
at a.makeServerStreamRequest (/home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:754103)
at a.init (/home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:818312)
at /home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:585526
at new Promise (<anonymous>)
at _.initInstance (/home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:585492)
at _.initInstanceWithFallback (/home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:584299)
at _.create (/home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js:2:584204)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-01-31T15:36:57.438Z root INFO Deploy plugins list: 56.3 ms [Finished 1.214 s after backend start]
Well... that's strange. dbus is running but there's no such file in /run/dbus/system_bus_socket;
A lot of GL errors (But strange because Blender is running fine and renders heavy stuff)
Some instances of arduino-ide are resident in the memory. They did not exit:
% ps ax |grep arduino
18423 pts/8 S+ 0:00 grep --color=auto arduino
34765 ? Ss 0:01 /home/skaarj/arduino-ide_2.2.1_Linux_64bit/arduino-ide /home/skaarj/arduino-ide_2.2.1_Linux_64bit/resources/app/lib/backend/main.js --no-sandbox
34599 pts/8 S 0:00 /home/skaarj/arduino-ide_2.2.1_Linux_64bit/arduino-ide --type=zygote --no-sandbox
34414 pts/8 S 0:00 /home/skaarj/arduino-ide_2.2.1_Linux_64bit/arduino-ide --type=zygote --no-zygote-sandbox --no-sandbox
I have to stop them manually with kill -9.
The legacy IDE runs flawless.
Will the Legacy IDE be maintained in the future? It looks more stable and more simple than the new one which looks like... a traditional complicated Microsoft programs: very complicated to start, has a lot of dependencies, needs a mpeg encoder, needs to render graphics... and is not limited just to compile code, upload, monitor and debug.