Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error spawning child process #4274

Open
cvanelteren opened this issue Jul 10, 2024 · 26 comments
Open

Error spawning child process #4274

cvanelteren opened this issue Jul 10, 2024 · 26 comments

Comments

@cvanelteren
Copy link

When trying to flash the archiso using 2:1.19.21-3 I was faced with the error.

image

  • Etcher version:
  • Operating system and architecture:
  • Image flashed:
  • What do you think should have happened:
  • What happened:
  • Do you see any meaningful error information in the DevTools?
@sukanka
Copy link

sukanka commented Jul 10, 2024

Hey, it seems you are using balena-etcher from AUR. If so, please rebuild it and try again.

@cvanelteren
Copy link
Author

Hi @sukanka! I tried several versions offered through AUR without success.

  • etcher-bin
  • balena-etcher
  • etcher-ng-bin

With the etcher-git version a different error pops up
image
With rebuilding it, are you referring to do this directly from release page?

@sukanka
Copy link

sukanka commented Jul 11, 2024

Hi @sukanka! I tried several versions offered through AUR without success.

  • etcher-bin
  • balena-etcher
  • etcher-ng-bin

With rebuilding it, are you referring to do this directly from release page?

No, I mean rebuild balena-etcher from the source, just clone its AUR repo and run makepkg or extra-x86_64-build in the directory.

Please also make sure you use the same version of nodejs as you build it in the chroot

@Perlovka
Copy link

Same is happening with prebuilt app (linux-x64) from the site. As far as I understand, etcher is completely unusable for now. Gazillion bugs opened and zero fixes for more than a month. RIP.

@binba2
Copy link

binba2 commented Jul 23, 2024

Getting the same exact thing, from the prebuilt (macos-x64). MacOS 12.7.2.

@cvanelteren
Copy link
Author

I used rufus in the mean time to burn the iso. Works like a charm.

@Vyacheslav1557
Copy link

same for me

@hwac121
Copy link

hwac121 commented Aug 13, 2024

Please fix this guys, my favorite and usually dependable burning app is no longer of any use at all.

@cvanelteren
Copy link
Author

Also @sukanka building from source gave me the same error.

@sukanka
Copy link

sukanka commented Aug 14, 2024

Also @sukanka building from source gave me the same error.

quite strange, I have tested it locally and it works just fine.

@z0rg0n
Copy link

z0rg0n commented Aug 20, 2024

I get the 'Error spawning child process' error as well.

I've downloaded and ran the following and they all gave me the same problem.

I've tried it with multiple ISO files.

Trying to download balenaEtcher-1.19.21-x64.AppImage and just running that gives a different error (Error: (0 , h.requestMetadata) is not a function) when trying to add an ISO link and .

System info:
6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15)

@Keeqler
Copy link

Keeqler commented Aug 21, 2024

On ArchLinux, I got the same error because I didn't have an authentication agent (like polkit-kde-agent) installed and running.
Etcher needs this so it can prompt for your password.

@z0rg0n
Copy link

z0rg0n commented Aug 21, 2024

It looks like polkit-kde-agent is already part of Debian?
https://packages.debian.org/bullseye/polkit-kde-agent-1

Anyway if anyone is just looking for a work around I was able to get it the thumbdrive flashed using dd in Debian as showing here:
https://linuxize.com/post/create-bootable-debian-10-usb-stick-on-linux/

@gitAcceptance
Copy link

@cvanelteren did you try running it as administrator?

@cvanelteren
Copy link
Author

@cvanelteren did you try running it as administrator?

No as it is not supported by electron.
Installing the kde-pol-agent did not resolve it.

@wpf99
Copy link

wpf99 commented Sep 13, 2024

I solved it by making my account an administrator on Mac. I had been a normal user and would use the admin account for installs, etc. when prompted for the use password I put in my password and would receive this error message. I went to Users and Groups and promoted myself to administrator and the problem is solved. It seems like this error is essentially: "not in sudoers group..."

@cvanelteren
Copy link
Author

[0913/203740.556208:FATAL:electron_main_delegate.cc(295)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

@juniorr001
Copy link

When trying to flash the archiso using 2:1.19.21-3 I was faced with the error.

image

  • Etcher version:
  • Operating system and architecture:
  • Image flashed:
  • What do you think should have happened:
  • What happened:
  • Do you see any meaningful error information in the DevTools?

I solved it by Running as administrator.

@cvanelteren
Copy link
Author

cvanelteren commented Oct 12, 2024 via email

@bps86
Copy link

bps86 commented Oct 29, 2024

On X11, Usually the way to fix this is to run it with sudo without sandbox. The problem is that this method is impossible on wayland because it's kind of hard to make sudo work with GUI apps.

@gitAcceptance
Copy link

Wow, a rare win for windows.

@Perlovka
Copy link

Wow, a rare win for windows.
I would not call security flaw a win.

@thegoodduck
Copy link

Hey me too, now using GNOME Disks

@IPlayZed
Copy link

This happens as well on me on Windows 11 23H2, I do not see any Windows Defender related things.

@achodeveloper2
Copy link

Def sounds like a security flaw.

@fatso83
Copy link

fatso83 commented Nov 19, 2024

Related, just with more debug logs, screenshots, ++: #4356

I see people mentioning sudo and admin rights here. That could be related to the debug logs I see mentioning:

"Error: Elevation timeout\n 

I guess this means elevation of rights (privileges), but I am not sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests